Package openGql.grammar
Class EdgeTypePatternPointingRight
- java.lang.Object
-
- openGql.grammar.EdgeTypePatternPointingRight
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EdgeTypePatternPointingRight>
public class EdgeTypePatternPointingRight extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<EdgeTypePatternPointingRight>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description EdgeTypeFillerarcstatic NameARCName of theopenGql.grammar.EdgeTypePatternPointingRight.arcfield.DestinationNodeTypeReferencedestinationstatic NameDESTINATIONName of theopenGql.grammar.EdgeTypePatternPointingRight.destinationfield.SourceNodeTypeReferencesourcestatic NameSOURCEName of theopenGql.grammar.EdgeTypePatternPointingRight.sourcefield.static NameTYPE_Name of theopenGql.grammar.EdgeTypePatternPointingRighttype.
-
Constructor Summary
Constructors Constructor Description EdgeTypePatternPointingRight(SourceNodeTypeReference source, EdgeTypeFiller arc, DestinationNodeTypeReference destination)Constructs an immutableEdgeTypePatternPointingRight.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(EdgeTypePatternPointingRight other)booleanequals(java.lang.Object other)inthashCode()EdgeTypePatternPointingRightwithArc(EdgeTypeFiller arc)Returns a copy of thisEdgeTypePatternPointingRightwitharcreplaced.EdgeTypePatternPointingRightwithDestination(DestinationNodeTypeReference destination)Returns a copy of thisEdgeTypePatternPointingRightwithdestinationreplaced.EdgeTypePatternPointingRightwithSource(SourceNodeTypeReference source)Returns a copy of thisEdgeTypePatternPointingRightwithsourcereplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.EdgeTypePatternPointingRighttype.
-
SOURCE
public static final Name SOURCE
Name of theopenGql.grammar.EdgeTypePatternPointingRight.sourcefield.
-
ARC
public static final Name ARC
Name of theopenGql.grammar.EdgeTypePatternPointingRight.arcfield.
-
DESTINATION
public static final Name DESTINATION
Name of theopenGql.grammar.EdgeTypePatternPointingRight.destinationfield.
-
source
public final SourceNodeTypeReference source
-
arc
public final EdgeTypeFiller arc
-
destination
public final DestinationNodeTypeReference destination
-
-
Constructor Detail
-
EdgeTypePatternPointingRight
public EdgeTypePatternPointingRight(SourceNodeTypeReference source, EdgeTypeFiller arc, DestinationNodeTypeReference destination)
Constructs an immutableEdgeTypePatternPointingRight.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(EdgeTypePatternPointingRight other)
- Specified by:
compareToin interfacejava.lang.Comparable<EdgeTypePatternPointingRight>
-
withSource
public EdgeTypePatternPointingRight withSource(SourceNodeTypeReference source)
Returns a copy of thisEdgeTypePatternPointingRightwithsourcereplaced.
-
withArc
public EdgeTypePatternPointingRight withArc(EdgeTypeFiller arc)
Returns a copy of thisEdgeTypePatternPointingRightwitharcreplaced.
-
withDestination
public EdgeTypePatternPointingRight withDestination(DestinationNodeTypeReference destination)
Returns a copy of thisEdgeTypePatternPointingRightwithdestinationreplaced.
-
-