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