Package openGql.grammar
Class CreateGraphTypeStatement
- java.lang.Object
-
- openGql.grammar.CreateGraphTypeStatement
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CreateGraphTypeStatement>
public class CreateGraphTypeStatement extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<CreateGraphTypeStatement>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameCREATE_OPTIONName of theopenGql.grammar.CreateGraphTypeStatement.createOptionfield.CreateGraphTypeOptioncreateOptionstatic NamePARENT_AND_NAMEName of theopenGql.grammar.CreateGraphTypeStatement.parentAndNamefield.CatalogGraphTypeParentAndNameparentAndNameGraphTypeSourcesourcestatic NameSOURCEName of theopenGql.grammar.CreateGraphTypeStatement.sourcefield.static NameTYPE_Name of theopenGql.grammar.CreateGraphTypeStatementtype.
-
Constructor Summary
Constructors Constructor Description CreateGraphTypeStatement(CreateGraphTypeOption createOption, CatalogGraphTypeParentAndName parentAndName, GraphTypeSource source)Constructs an immutableCreateGraphTypeStatement.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(CreateGraphTypeStatement other)booleanequals(java.lang.Object other)inthashCode()CreateGraphTypeStatementwithCreateOption(CreateGraphTypeOption createOption)Returns a copy of thisCreateGraphTypeStatementwithcreateOptionreplaced.CreateGraphTypeStatementwithParentAndName(CatalogGraphTypeParentAndName parentAndName)Returns a copy of thisCreateGraphTypeStatementwithparentAndNamereplaced.CreateGraphTypeStatementwithSource(GraphTypeSource source)Returns a copy of thisCreateGraphTypeStatementwithsourcereplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.CreateGraphTypeStatementtype.
-
CREATE_OPTION
public static final Name CREATE_OPTION
Name of theopenGql.grammar.CreateGraphTypeStatement.createOptionfield.
-
PARENT_AND_NAME
public static final Name PARENT_AND_NAME
Name of theopenGql.grammar.CreateGraphTypeStatement.parentAndNamefield.
-
SOURCE
public static final Name SOURCE
Name of theopenGql.grammar.CreateGraphTypeStatement.sourcefield.
-
createOption
public final CreateGraphTypeOption createOption
-
parentAndName
public final CatalogGraphTypeParentAndName parentAndName
-
source
public final GraphTypeSource source
-
-
Constructor Detail
-
CreateGraphTypeStatement
public CreateGraphTypeStatement(CreateGraphTypeOption createOption, CatalogGraphTypeParentAndName parentAndName, GraphTypeSource source)
Constructs an immutableCreateGraphTypeStatement.
-
-
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(CreateGraphTypeStatement other)
- Specified by:
compareToin interfacejava.lang.Comparable<CreateGraphTypeStatement>
-
withCreateOption
public CreateGraphTypeStatement withCreateOption(CreateGraphTypeOption createOption)
Returns a copy of thisCreateGraphTypeStatementwithcreateOptionreplaced.
-
withParentAndName
public CreateGraphTypeStatement withParentAndName(CatalogGraphTypeParentAndName parentAndName)
Returns a copy of thisCreateGraphTypeStatementwithparentAndNamereplaced.
-
withSource
public CreateGraphTypeStatement withSource(GraphTypeSource source)
Returns a copy of thisCreateGraphTypeStatementwithsourcereplaced.
-
-