Package openGql.grammar
Class OpenGraphReferenceValueType
- java.lang.Object
-
- openGql.grammar.OpenGraphReferenceValueType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<OpenGraphReferenceValueType>
public class OpenGraphReferenceValueType extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<OpenGraphReferenceValueType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description Optional<java.lang.Boolean>anystatic NameANYName of theopenGql.grammar.OpenGraphReferenceValueType.anyfield.static NameNOT_NULLName of theopenGql.grammar.OpenGraphReferenceValueType.notNullfield.java.lang.BooleannotNulljava.lang.Booleanpropertystatic NamePROPERTYName of theopenGql.grammar.OpenGraphReferenceValueType.propertyfield.static NameTYPE_Name of theopenGql.grammar.OpenGraphReferenceValueTypetype.
-
Constructor Summary
Constructors Constructor Description OpenGraphReferenceValueType(Optional<java.lang.Boolean> any, java.lang.Boolean property, java.lang.Boolean notNull)Constructs an immutableOpenGraphReferenceValueType.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(OpenGraphReferenceValueType other)booleanequals(java.lang.Object other)inthashCode()OpenGraphReferenceValueTypewithAny(Optional<java.lang.Boolean> any)Returns a copy of thisOpenGraphReferenceValueTypewithanyreplaced.OpenGraphReferenceValueTypewithNotNull(java.lang.Boolean notNull)Returns a copy of thisOpenGraphReferenceValueTypewithnotNullreplaced.OpenGraphReferenceValueTypewithProperty(java.lang.Boolean property)Returns a copy of thisOpenGraphReferenceValueTypewithpropertyreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.OpenGraphReferenceValueTypetype.
-
ANY
public static final Name ANY
Name of theopenGql.grammar.OpenGraphReferenceValueType.anyfield.
-
PROPERTY
public static final Name PROPERTY
Name of theopenGql.grammar.OpenGraphReferenceValueType.propertyfield.
-
NOT_NULL
public static final Name NOT_NULL
Name of theopenGql.grammar.OpenGraphReferenceValueType.notNullfield.
-
any
public final Optional<java.lang.Boolean> any
-
property
public final java.lang.Boolean property
-
notNull
public final java.lang.Boolean notNull
-
-
Constructor Detail
-
OpenGraphReferenceValueType
public OpenGraphReferenceValueType(Optional<java.lang.Boolean> any, java.lang.Boolean property, java.lang.Boolean notNull)
Constructs an immutableOpenGraphReferenceValueType.
-
-
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(OpenGraphReferenceValueType other)
- Specified by:
compareToin interfacejava.lang.Comparable<OpenGraphReferenceValueType>
-
withAny
public OpenGraphReferenceValueType withAny(Optional<java.lang.Boolean> any)
Returns a copy of thisOpenGraphReferenceValueTypewithanyreplaced.
-
withProperty
public OpenGraphReferenceValueType withProperty(java.lang.Boolean property)
Returns a copy of thisOpenGraphReferenceValueTypewithpropertyreplaced.
-
withNotNull
public OpenGraphReferenceValueType withNotNull(java.lang.Boolean notNull)
Returns a copy of thisOpenGraphReferenceValueTypewithnotNullreplaced.
-
-