Package com.tietoenator.trip.jxp.graph
Class TdbGraphPathVertex
java.lang.Object
com.tietoenator.trip.jxp.session.TdbSessionObject
com.tietoenator.trip.jxp.graph.TdbGraphPathVertex
Represents a vertex (node) in a path such as generated
by one of the path analysis functions in TdbGraphSet.
THIS CLASS IS EXPERIMENTAL. USE WITH CAUTION! ITS INTERFACE MAY CHANGE IN FUTURE RELEASES.
- Since:
- TRIPjxp 3.1
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the database this vertex is associated with.Get the outut edge this path vertex is associated with.getRecord
(boolean createFields, boolean retrieve) Return a TdbRecord object for this graph vertex.int
Returns the record id (RID) of the record this vertex is associated withMethods inherited from class com.tietoenator.trip.jxp.session.TdbSessionObject
cancel, getSession, isCancelable, setCancelable
-
Method Details
-
getRecord
Return a TdbRecord object for this graph vertex.- Parameters:
createFields
- True set the record up to retrieve all field values.retrieve
- True to execute the 'get()' operation on the record before it is returned- Returns:
- A TdbRecord object
- Throws:
TdbException
-
getDatabaseName
Returns the name of the database this vertex is associated with.- Returns:
- Database name or null if this vertex is not associated with a regular database
-
getRecordId
public int getRecordId()Returns the record id (RID) of the record this vertex is associated with- Returns:
- Record ID or zero if this vertex is not associated with a regular record
-
getOutputEdge
Get the outut edge this path vertex is associated with.- Returns:
- Edge object or null if there are no outgoing edges.
-