Package openGql.grammar
Class NodeTypeNameWithFiller
- java.lang.Object
-
- openGql.grammar.NodeTypeNameWithFiller
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<NodeTypeNameWithFiller>
public class NodeTypeNameWithFiller extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<NodeTypeNameWithFiller>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description Optional<NodeTypeFiller>fillerstatic NameFILLERName of theopenGql.grammar.NodeTypeNameWithFiller.fillerfield.static NameTYPE_Name of theopenGql.grammar.NodeTypeNameWithFillertype.static NameTYPE_NAMEName of theopenGql.grammar.NodeTypeNameWithFiller.typeNamefield.java.lang.StringtypeName
-
Constructor Summary
Constructors Constructor Description NodeTypeNameWithFiller(java.lang.String typeName, Optional<NodeTypeFiller> filler)Constructs an immutableNodeTypeNameWithFiller.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(NodeTypeNameWithFiller other)booleanequals(java.lang.Object other)inthashCode()NodeTypeNameWithFillerwithFiller(Optional<NodeTypeFiller> filler)Returns a copy of thisNodeTypeNameWithFillerwithfillerreplaced.NodeTypeNameWithFillerwithTypeName(java.lang.String typeName)Returns a copy of thisNodeTypeNameWithFillerwithtypeNamereplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.NodeTypeNameWithFillertype.
-
TYPE_NAME
public static final Name TYPE_NAME
Name of theopenGql.grammar.NodeTypeNameWithFiller.typeNamefield.
-
FILLER
public static final Name FILLER
Name of theopenGql.grammar.NodeTypeNameWithFiller.fillerfield.
-
typeName
public final java.lang.String typeName
-
filler
public final Optional<NodeTypeFiller> filler
-
-
Constructor Detail
-
NodeTypeNameWithFiller
public NodeTypeNameWithFiller(java.lang.String typeName, Optional<NodeTypeFiller> filler)Constructs an immutableNodeTypeNameWithFiller.
-
-
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(NodeTypeNameWithFiller other)
- Specified by:
compareToin interfacejava.lang.Comparable<NodeTypeNameWithFiller>
-
withTypeName
public NodeTypeNameWithFiller withTypeName(java.lang.String typeName)
Returns a copy of thisNodeTypeNameWithFillerwithtypeNamereplaced.
-
withFiller
public NodeTypeNameWithFiller withFiller(Optional<NodeTypeFiller> filler)
Returns a copy of thisNodeTypeNameWithFillerwithfillerreplaced.
-
-