Package openGql.grammar
Class TypedGraphReferenceValueType
- java.lang.Object
-
- openGql.grammar.TypedGraphReferenceValueType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TypedGraphReferenceValueType>
public class TypedGraphReferenceValueType extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<TypedGraphReferenceValueType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameTYPE_Name of theopenGql.grammar.TypedGraphReferenceValueTypetype.Optional<java.lang.Void>typedstatic NameTYPEDName of theopenGql.grammar.TypedGraphReferenceValueType.typedfield.static NameVALUE_TYPEName of theopenGql.grammar.TypedGraphReferenceValueType.valueTypefield.GraphReferenceValueTypevalueType
-
Constructor Summary
Constructors Constructor Description TypedGraphReferenceValueType(Optional<java.lang.Void> typed, GraphReferenceValueType valueType)Constructs an immutableTypedGraphReferenceValueType.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(TypedGraphReferenceValueType other)booleanequals(java.lang.Object other)inthashCode()TypedGraphReferenceValueTypewithTyped(Optional<java.lang.Void> typed)Returns a copy of thisTypedGraphReferenceValueTypewithtypedreplaced.TypedGraphReferenceValueTypewithValueType(GraphReferenceValueType valueType)Returns a copy of thisTypedGraphReferenceValueTypewithvalueTypereplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.TypedGraphReferenceValueTypetype.
-
TYPED
public static final Name TYPED
Name of theopenGql.grammar.TypedGraphReferenceValueType.typedfield.
-
VALUE_TYPE
public static final Name VALUE_TYPE
Name of theopenGql.grammar.TypedGraphReferenceValueType.valueTypefield.
-
typed
public final Optional<java.lang.Void> typed
-
valueType
public final GraphReferenceValueType valueType
-
-
Constructor Detail
-
TypedGraphReferenceValueType
public TypedGraphReferenceValueType(Optional<java.lang.Void> typed, GraphReferenceValueType valueType)
Constructs an immutableTypedGraphReferenceValueType.
-
-
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(TypedGraphReferenceValueType other)
- Specified by:
compareToin interfacejava.lang.Comparable<TypedGraphReferenceValueType>
-
withTyped
public TypedGraphReferenceValueType withTyped(Optional<java.lang.Void> typed)
Returns a copy of thisTypedGraphReferenceValueTypewithtypedreplaced.
-
withValueType
public TypedGraphReferenceValueType withValueType(GraphReferenceValueType valueType)
Returns a copy of thisTypedGraphReferenceValueTypewithvalueTypereplaced.
-
-