Package openGql.grammar
Class DropGraphStatement
- java.lang.Object
-
- openGql.grammar.DropGraphStatement
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DropGraphStatement>
public class DropGraphStatement extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<DropGraphStatement>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameIF_EXISTSName of theopenGql.grammar.DropGraphStatement.ifExistsfield.java.lang.BooleanifExistsstatic NamePARENT_AND_NAMEName of theopenGql.grammar.DropGraphStatement.parentAndNamefield.CatalogGraphParentAndNameparentAndNamestatic NameTYPE_Name of theopenGql.grammar.DropGraphStatementtype.
-
Constructor Summary
Constructors Constructor Description DropGraphStatement(java.lang.Boolean ifExists, CatalogGraphParentAndName parentAndName)Constructs an immutableDropGraphStatement.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(DropGraphStatement other)booleanequals(java.lang.Object other)inthashCode()DropGraphStatementwithIfExists(java.lang.Boolean ifExists)Returns a copy of thisDropGraphStatementwithifExistsreplaced.DropGraphStatementwithParentAndName(CatalogGraphParentAndName parentAndName)Returns a copy of thisDropGraphStatementwithparentAndNamereplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.DropGraphStatementtype.
-
IF_EXISTS
public static final Name IF_EXISTS
Name of theopenGql.grammar.DropGraphStatement.ifExistsfield.
-
PARENT_AND_NAME
public static final Name PARENT_AND_NAME
Name of theopenGql.grammar.DropGraphStatement.parentAndNamefield.
-
ifExists
public final java.lang.Boolean ifExists
-
parentAndName
public final CatalogGraphParentAndName parentAndName
-
-
Constructor Detail
-
DropGraphStatement
public DropGraphStatement(java.lang.Boolean ifExists, CatalogGraphParentAndName parentAndName)Constructs an immutableDropGraphStatement.
-
-
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(DropGraphStatement other)
- Specified by:
compareToin interfacejava.lang.Comparable<DropGraphStatement>
-
withIfExists
public DropGraphStatement withIfExists(java.lang.Boolean ifExists)
Returns a copy of thisDropGraphStatementwithifExistsreplaced.
-
withParentAndName
public DropGraphStatement withParentAndName(CatalogGraphParentAndName parentAndName)
Returns a copy of thisDropGraphStatementwithparentAndNamereplaced.
-
-