Package openGql.grammar
Class EdgeTypePhrase
- java.lang.Object
-
- openGql.grammar.EdgeTypePhrase
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EdgeTypePhrase>
public class EdgeTypePhrase extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<EdgeTypePhrase>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameENDPOINT_PAIRName of theopenGql.grammar.EdgeTypePhrase.endpointPairfield.EndpointPairendpointPairEdgeKindkindstatic NameKINDName of theopenGql.grammar.EdgeTypePhrase.kindfield.EdgeSynonymsynonymstatic NameSYNONYMName of theopenGql.grammar.EdgeTypePhrase.synonymfield.static NameTYPE_Name of theopenGql.grammar.EdgeTypePhrasetype.static NameTYPE_NAME_AND_FILLERName of theopenGql.grammar.EdgeTypePhrase.typeNameAndFillerfield.EdgeTypePhraseFillertypeNameAndFiller
-
Constructor Summary
Constructors Constructor Description EdgeTypePhrase(EdgeKind kind, EdgeSynonym synonym, EdgeTypePhraseFiller typeNameAndFiller, EndpointPair endpointPair)Constructs an immutableEdgeTypePhrase.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(EdgeTypePhrase other)booleanequals(java.lang.Object other)inthashCode()EdgeTypePhrasewithEndpointPair(EndpointPair endpointPair)Returns a copy of thisEdgeTypePhrasewithendpointPairreplaced.EdgeTypePhrasewithKind(EdgeKind kind)Returns a copy of thisEdgeTypePhrasewithkindreplaced.EdgeTypePhrasewithSynonym(EdgeSynonym synonym)Returns a copy of thisEdgeTypePhrasewithsynonymreplaced.EdgeTypePhrasewithTypeNameAndFiller(EdgeTypePhraseFiller typeNameAndFiller)Returns a copy of thisEdgeTypePhrasewithtypeNameAndFillerreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.EdgeTypePhrasetype.
-
KIND
public static final Name KIND
Name of theopenGql.grammar.EdgeTypePhrase.kindfield.
-
SYNONYM
public static final Name SYNONYM
Name of theopenGql.grammar.EdgeTypePhrase.synonymfield.
-
TYPE_NAME_AND_FILLER
public static final Name TYPE_NAME_AND_FILLER
Name of theopenGql.grammar.EdgeTypePhrase.typeNameAndFillerfield.
-
ENDPOINT_PAIR
public static final Name ENDPOINT_PAIR
Name of theopenGql.grammar.EdgeTypePhrase.endpointPairfield.
-
kind
public final EdgeKind kind
-
synonym
public final EdgeSynonym synonym
-
typeNameAndFiller
public final EdgeTypePhraseFiller typeNameAndFiller
-
endpointPair
public final EndpointPair endpointPair
-
-
Constructor Detail
-
EdgeTypePhrase
public EdgeTypePhrase(EdgeKind kind, EdgeSynonym synonym, EdgeTypePhraseFiller typeNameAndFiller, EndpointPair endpointPair)
Constructs an immutableEdgeTypePhrase.
-
-
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(EdgeTypePhrase other)
- Specified by:
compareToin interfacejava.lang.Comparable<EdgeTypePhrase>
-
withKind
public EdgeTypePhrase withKind(EdgeKind kind)
Returns a copy of thisEdgeTypePhrasewithkindreplaced.
-
withSynonym
public EdgeTypePhrase withSynonym(EdgeSynonym synonym)
Returns a copy of thisEdgeTypePhrasewithsynonymreplaced.
-
withTypeNameAndFiller
public EdgeTypePhrase withTypeNameAndFiller(EdgeTypePhraseFiller typeNameAndFiller)
Returns a copy of thisEdgeTypePhrasewithtypeNameAndFillerreplaced.
-
withEndpointPair
public EdgeTypePhrase withEndpointPair(EndpointPair endpointPair)
Returns a copy of thisEdgeTypePhrasewithendpointPairreplaced.
-
-