Package openGql.grammar
Class ClosedGraphReferenceValueType
- java.lang.Object
-
- openGql.grammar.ClosedGraphReferenceValueType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ClosedGraphReferenceValueType>
public class ClosedGraphReferenceValueType extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<ClosedGraphReferenceValueType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameNESTED_SPECName of theopenGql.grammar.ClosedGraphReferenceValueType.nestedSpecfield.java.util.List<ElementTypeSpecification>nestedSpecstatic NameNOT_NULLName of theopenGql.grammar.ClosedGraphReferenceValueType.notNullfield.java.lang.BooleannotNulljava.lang.Booleanpropertystatic NamePROPERTYName of theopenGql.grammar.ClosedGraphReferenceValueType.propertyfield.static NameTYPE_Name of theopenGql.grammar.ClosedGraphReferenceValueTypetype.
-
Constructor Summary
Constructors Constructor Description ClosedGraphReferenceValueType(java.lang.Boolean property, java.util.List<ElementTypeSpecification> nestedSpec, java.lang.Boolean notNull)Constructs an immutableClosedGraphReferenceValueType.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(ClosedGraphReferenceValueType other)booleanequals(java.lang.Object other)inthashCode()ClosedGraphReferenceValueTypewithNestedSpec(java.util.List<ElementTypeSpecification> nestedSpec)Returns a copy of thisClosedGraphReferenceValueTypewithnestedSpecreplaced.ClosedGraphReferenceValueTypewithNotNull(java.lang.Boolean notNull)Returns a copy of thisClosedGraphReferenceValueTypewithnotNullreplaced.ClosedGraphReferenceValueTypewithProperty(java.lang.Boolean property)Returns a copy of thisClosedGraphReferenceValueTypewithpropertyreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.ClosedGraphReferenceValueTypetype.
-
PROPERTY
public static final Name PROPERTY
Name of theopenGql.grammar.ClosedGraphReferenceValueType.propertyfield.
-
NESTED_SPEC
public static final Name NESTED_SPEC
Name of theopenGql.grammar.ClosedGraphReferenceValueType.nestedSpecfield.
-
NOT_NULL
public static final Name NOT_NULL
Name of theopenGql.grammar.ClosedGraphReferenceValueType.notNullfield.
-
property
public final java.lang.Boolean property
-
nestedSpec
public final java.util.List<ElementTypeSpecification> nestedSpec
-
notNull
public final java.lang.Boolean notNull
-
-
Constructor Detail
-
ClosedGraphReferenceValueType
public ClosedGraphReferenceValueType(java.lang.Boolean property, java.util.List<ElementTypeSpecification> nestedSpec, java.lang.Boolean notNull)Constructs an immutableClosedGraphReferenceValueType.
-
-
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(ClosedGraphReferenceValueType other)
- Specified by:
compareToin interfacejava.lang.Comparable<ClosedGraphReferenceValueType>
-
withProperty
public ClosedGraphReferenceValueType withProperty(java.lang.Boolean property)
Returns a copy of thisClosedGraphReferenceValueTypewithpropertyreplaced.
-
withNestedSpec
public ClosedGraphReferenceValueType withNestedSpec(java.util.List<ElementTypeSpecification> nestedSpec)
Returns a copy of thisClosedGraphReferenceValueTypewithnestedSpecreplaced.
-
withNotNull
public ClosedGraphReferenceValueType withNotNull(java.lang.Boolean notNull)
Returns a copy of thisClosedGraphReferenceValueTypewithnotNullreplaced.
-
-