Record Class Configuration.RelationshipDefinition
java.lang.Object
java.lang.Record
org.neo4j.cypherdsl.core.renderer.Configuration.RelationshipDefinition
- Record Components:
sourceLabel- the source labeltype- the type of the relationshiptargetLabel- the target label
- Enclosing class:
Configuration
-
Constructor Summary
ConstructorsConstructorDescriptionRelationshipDefinition(String sourceLabel, String type, String targetLabel) Will make sure all parameters are trimmed. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thesourceLabelrecord component.Returns the value of thetargetLabelrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
RelationshipDefinition
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
sourceLabel
Returns the value of thesourceLabelrecord component.- Returns:
- the value of the
sourceLabelrecord component
-
type
-
targetLabel
Returns the value of thetargetLabelrecord component.- Returns:
- the value of the
targetLabelrecord component
-