Package openGql.grammar
Class EdgeTypeNameWithFiller
- java.lang.Object
-
- openGql.grammar.EdgeTypeNameWithFiller
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EdgeTypeNameWithFiller>
public class EdgeTypeNameWithFiller extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<EdgeTypeNameWithFiller>
A GQL edge type name with filler- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEdgeTypeNameWithFiller.BuilderA fluent builder forEdgeTypeNameWithFiller.
-
Field Summary
Fields Modifier and Type Field Description Optional<EdgeTypeFiller>fillerstatic NameFILLERName of theopenGql.grammar.EdgeTypeNameWithFiller.fillerfield.static NameTYPE_Name of theopenGql.grammar.EdgeTypeNameWithFillertype.static NameTYPE_NAMEName of theopenGql.grammar.EdgeTypeNameWithFiller.typeNamefield.java.lang.StringtypeName
-
Constructor Summary
Constructors Constructor Description EdgeTypeNameWithFiller(java.lang.String typeName, Optional<EdgeTypeFiller> filler)Constructs an immutableEdgeTypeNameWithFiller.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EdgeTypeNameWithFiller.Builderbuilder()Creates a new fluent builder forEdgeTypeNameWithFiller.intcompareTo(EdgeTypeNameWithFiller other)booleanequals(java.lang.Object other)inthashCode()java.lang.StringtoString()EdgeTypeNameWithFillerwithFiller(Optional<EdgeTypeFiller> filler)Returns a copy of thisEdgeTypeNameWithFillerwithfillerreplaced.EdgeTypeNameWithFillerwithTypeName(java.lang.String typeName)Returns a copy of thisEdgeTypeNameWithFillerwithtypeNamereplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.EdgeTypeNameWithFillertype.
-
TYPE_NAME
public static final Name TYPE_NAME
Name of theopenGql.grammar.EdgeTypeNameWithFiller.typeNamefield.
-
FILLER
public static final Name FILLER
Name of theopenGql.grammar.EdgeTypeNameWithFiller.fillerfield.
-
typeName
public final java.lang.String typeName
-
filler
public final Optional<EdgeTypeFiller> filler
-
-
Constructor Detail
-
EdgeTypeNameWithFiller
public EdgeTypeNameWithFiller(java.lang.String typeName, Optional<EdgeTypeFiller> filler)Constructs an immutableEdgeTypeNameWithFiller.
-
-
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(EdgeTypeNameWithFiller other)
- Specified by:
compareToin interfacejava.lang.Comparable<EdgeTypeNameWithFiller>
-
withTypeName
public EdgeTypeNameWithFiller withTypeName(java.lang.String typeName)
Returns a copy of thisEdgeTypeNameWithFillerwithtypeNamereplaced.
-
withFiller
public EdgeTypeNameWithFiller withFiller(Optional<EdgeTypeFiller> filler)
Returns a copy of thisEdgeTypeNameWithFillerwithfillerreplaced.
-
builder
public static EdgeTypeNameWithFiller.Builder builder()
Creates a new fluent builder forEdgeTypeNameWithFiller.
-
-