Package org.neo4j.cypherdsl.core
Class Relationship.Details
- java.lang.Object
-
- org.neo4j.cypherdsl.core.Relationship.Details
-
- All Implemented Interfaces:
Visitable
- Enclosing interface:
- Relationship
@API(status=INTERNAL, since="1.0") public static final class Relationship.Details extends java.lang.Object implements VisitableSee RelationshipDetail. This is not a public API and just used internally for structuring the tree.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(Visitor visitor)Relationship.DirectiongetDirection()PropertiesgetProperties()RelationshipTypesgetTypes()booleanhasContent()Internal helper method indicating whether the details have content or not.
-
-
-
Method Detail
-
hasContent
public boolean hasContent()
Internal helper method indicating whether the details have content or not.- Returns:
- true if any of the details are filled
-
getDirection
@API(status=INTERNAL) public Relationship.Direction getDirection()
- Returns:
- The direction of the relationship.
-
getTypes
@API(status=INTERNAL) public RelationshipTypes getTypes()
- Returns:
- The relationship types being matched.
-
getProperties
@API(status=INTERNAL) public Properties getProperties()
- Returns:
- The properties of this relationship.
-
-