Interface ModelRelationshipQueries.Relationship
- Enclosing class:
ModelRelationshipQueries
public static interface ModelRelationshipQueries.Relationship
Storage-independent view of one temporal child-to-parent relationship interval.
-
Method Summary
Modifier and TypeMethodDescriptionchildId()Returns the child Model identifier.booleanReturns whether deleting the parent also deletes the child through this relationship.default ModelGraphEdgeedge()Converts this relationship to a Graph edge while preserving its validity interval and deletion policy.parentId()Returns the parent Model identifier.Returns the declared parent Model type.path()Returns the child's composition path in the parent Graph.default booleanWhether ancestor search composition must stop at this relationship.longReturns the inclusive state index at which this relationship became valid.Returns the exclusive end of the relationship's validity, or null while open-ended.
-
Method Details
-
childId
String childId()Returns the child Model identifier. -
parentId
String parentId()Returns the parent Model identifier. -
parentType
String parentType()Returns the declared parent Model type. -
path
String path()Returns the child's composition path in the parent Graph. -
validFrom
long validFrom()Returns the inclusive state index at which this relationship became valid. -
validUntil
Long validUntil()Returns the exclusive end of the relationship's validity, or null while open-ended. -
deleteOnParentDeletion
boolean deleteOnParentDeletion()Returns whether deleting the parent also deletes the child through this relationship. -
searchExcluded
default boolean searchExcluded()Whether ancestor search composition must stop at this relationship. -
edge
Converts this relationship to a Graph edge while preserving its validity interval and deletion policy.
-