Package openGql.grammar
Class ListValueTypeAlt2
- java.lang.Object
-
- openGql.grammar.ListValueTypeAlt2
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ListValueTypeAlt2>
public class ListValueTypeAlt2 extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<ListValueTypeAlt2>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameMAX_LENGTHName of theopenGql.grammar.ListValueTypeAlt2.maxLengthfield.Optional<UnsignedInteger>maxLengthstatic NameNOT_NULLName of theopenGql.grammar.ListValueTypeAlt2.notNullfield.java.lang.BooleannotNullstatic NameTYPE_Name of theopenGql.grammar.ListValueTypeAlt2type.static NameTYPE_NAMEName of theopenGql.grammar.ListValueTypeAlt2.typeNamefield.ListValueTypeNametypeNamestatic NameVALUE_TYPEName of theopenGql.grammar.ListValueTypeAlt2.valueTypefield.ValueTypevalueType
-
Constructor Summary
Constructors Constructor Description ListValueTypeAlt2(ValueType valueType, ListValueTypeName typeName, Optional<UnsignedInteger> maxLength, java.lang.Boolean notNull)Constructs an immutableListValueTypeAlt2.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(ListValueTypeAlt2 other)booleanequals(java.lang.Object other)inthashCode()ListValueTypeAlt2withMaxLength(Optional<UnsignedInteger> maxLength)Returns a copy of thisListValueTypeAlt2withmaxLengthreplaced.ListValueTypeAlt2withNotNull(java.lang.Boolean notNull)Returns a copy of thisListValueTypeAlt2withnotNullreplaced.ListValueTypeAlt2withTypeName(ListValueTypeName typeName)Returns a copy of thisListValueTypeAlt2withtypeNamereplaced.ListValueTypeAlt2withValueType(ValueType valueType)Returns a copy of thisListValueTypeAlt2withvalueTypereplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.ListValueTypeAlt2type.
-
VALUE_TYPE
public static final Name VALUE_TYPE
Name of theopenGql.grammar.ListValueTypeAlt2.valueTypefield.
-
TYPE_NAME
public static final Name TYPE_NAME
Name of theopenGql.grammar.ListValueTypeAlt2.typeNamefield.
-
MAX_LENGTH
public static final Name MAX_LENGTH
Name of theopenGql.grammar.ListValueTypeAlt2.maxLengthfield.
-
NOT_NULL
public static final Name NOT_NULL
Name of theopenGql.grammar.ListValueTypeAlt2.notNullfield.
-
valueType
public final ValueType valueType
-
typeName
public final ListValueTypeName typeName
-
maxLength
public final Optional<UnsignedInteger> maxLength
-
notNull
public final java.lang.Boolean notNull
-
-
Constructor Detail
-
ListValueTypeAlt2
public ListValueTypeAlt2(ValueType valueType, ListValueTypeName typeName, Optional<UnsignedInteger> maxLength, java.lang.Boolean notNull)
Constructs an immutableListValueTypeAlt2.
-
-
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(ListValueTypeAlt2 other)
- Specified by:
compareToin interfacejava.lang.Comparable<ListValueTypeAlt2>
-
withValueType
public ListValueTypeAlt2 withValueType(ValueType valueType)
Returns a copy of thisListValueTypeAlt2withvalueTypereplaced.
-
withTypeName
public ListValueTypeAlt2 withTypeName(ListValueTypeName typeName)
Returns a copy of thisListValueTypeAlt2withtypeNamereplaced.
-
withMaxLength
public ListValueTypeAlt2 withMaxLength(Optional<UnsignedInteger> maxLength)
Returns a copy of thisListValueTypeAlt2withmaxLengthreplaced.
-
withNotNull
public ListValueTypeAlt2 withNotNull(java.lang.Boolean notNull)
Returns a copy of thisListValueTypeAlt2withnotNullreplaced.
-
-