Package openGql.grammar
Class CatalogGraphTypeParentAndName
- java.lang.Object
-
- openGql.grammar.CatalogGraphTypeParentAndName
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CatalogGraphTypeParentAndName>
public class CatalogGraphTypeParentAndName extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<CatalogGraphTypeParentAndName>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameGRAPH_TYPE_NAMEName of theopenGql.grammar.CatalogGraphTypeParentAndName.graphTypeNamefield.java.lang.StringgraphTypeNamestatic NamePARENT_REFERENCEName of theopenGql.grammar.CatalogGraphTypeParentAndName.parentReferencefield.Optional<CatalogObjectParentReference>parentReferencestatic NameTYPE_Name of theopenGql.grammar.CatalogGraphTypeParentAndNametype.
-
Constructor Summary
Constructors Constructor Description CatalogGraphTypeParentAndName(Optional<CatalogObjectParentReference> parentReference, java.lang.String graphTypeName)Constructs an immutableCatalogGraphTypeParentAndName.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(CatalogGraphTypeParentAndName other)booleanequals(java.lang.Object other)inthashCode()CatalogGraphTypeParentAndNamewithGraphTypeName(java.lang.String graphTypeName)Returns a copy of thisCatalogGraphTypeParentAndNamewithgraphTypeNamereplaced.CatalogGraphTypeParentAndNamewithParentReference(Optional<CatalogObjectParentReference> parentReference)Returns a copy of thisCatalogGraphTypeParentAndNamewithparentReferencereplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.CatalogGraphTypeParentAndNametype.
-
PARENT_REFERENCE
public static final Name PARENT_REFERENCE
Name of theopenGql.grammar.CatalogGraphTypeParentAndName.parentReferencefield.
-
GRAPH_TYPE_NAME
public static final Name GRAPH_TYPE_NAME
Name of theopenGql.grammar.CatalogGraphTypeParentAndName.graphTypeNamefield.
-
parentReference
public final Optional<CatalogObjectParentReference> parentReference
-
graphTypeName
public final java.lang.String graphTypeName
-
-
Constructor Detail
-
CatalogGraphTypeParentAndName
public CatalogGraphTypeParentAndName(Optional<CatalogObjectParentReference> parentReference, java.lang.String graphTypeName)
Constructs an immutableCatalogGraphTypeParentAndName.
-
-
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(CatalogGraphTypeParentAndName other)
- Specified by:
compareToin interfacejava.lang.Comparable<CatalogGraphTypeParentAndName>
-
withParentReference
public CatalogGraphTypeParentAndName withParentReference(Optional<CatalogObjectParentReference> parentReference)
Returns a copy of thisCatalogGraphTypeParentAndNamewithparentReferencereplaced.
-
withGraphTypeName
public CatalogGraphTypeParentAndName withGraphTypeName(java.lang.String graphTypeName)
Returns a copy of thisCatalogGraphTypeParentAndNamewithgraphTypeNamereplaced.
-
-