java.lang.Object
org.neo4j.cypherdsl.core.Relationship.Details
- All Implemented Interfaces:
Visitable
- Enclosing interface:
Relationship
@API(status=STABLE,
since="1.0")
public static final class Relationship.Details
extends Object
implements Visitable
See RelationshipDetail.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getTypes()
boolean
Internal helper method indicating whether the details have content or not.toString()
Mostvisitables
will render themselves into a Cypher fragment preceded with the actual classname.
-
Method Details
-
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
- Returns:
- The direction of the relationship.
-
getTypes
- Returns:
- The relationship types being matched.
-
getProperties
- Returns:
- The properties of this relationship.
-
accept
Description copied from interface:Visitable
-
toString
Description copied from interface:Visitable
Mostvisitables
will render themselves into a Cypher fragment preceded with the actual classname. The representation however is not cached - in contrast to the ones for full statements. UsingtoString
is recommended for debugging purposes mainly, and not for production use.The concrete classname has been prepended to help debugging and actually to discourage using fragments to build queries without explicitly rendering them, either as statement or going through the renderer on purpose.
-