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>
A GQL open graph reference value type- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpenGraphReferenceValueType.BuilderA fluent builder forOpenGraphReferenceValueType.
-
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 Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OpenGraphReferenceValueType.Builderbuilder()Creates a new fluent builder forOpenGraphReferenceValueType.intcompareTo(OpenGraphReferenceValueType other)booleanequals(java.lang.Object other)inthashCode()java.lang.StringtoString()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
-
toString
public java.lang.String toString()
- Overrides:
toStringin 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.
-
builder
public static OpenGraphReferenceValueType.Builder builder()
Creates a new fluent builder forOpenGraphReferenceValueType.
-
-