Package openGql.grammar
Class CreateGraphTypeOption.TypeIfNotExists
- java.lang.Object
-
- openGql.grammar.CreateGraphTypeOption
-
- openGql.grammar.CreateGraphTypeOption.TypeIfNotExists
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CreateGraphTypeOption>
- Enclosing class:
- CreateGraphTypeOption
public static final class CreateGraphTypeOption.TypeIfNotExists extends CreateGraphTypeOption implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class openGql.grammar.CreateGraphTypeOption
CreateGraphTypeOption.OrReplace, CreateGraphTypeOption.PartialVisitor<R>, CreateGraphTypeOption.TypeIfNotExists, CreateGraphTypeOption.Visitor<R>
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Booleanvalue-
Fields inherited from class openGql.grammar.CreateGraphTypeOption
OR_REPLACE, TYPE_, TYPE_IF_NOT_EXISTS
-
-
Constructor Summary
Constructors Constructor Description TypeIfNotExists(java.lang.Boolean value)Constructs an immutableCreateGraphTypeOption.TypeIfNotExists.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Raccept(CreateGraphTypeOption.Visitor<R> visitor)Dispatch tovisitor.intcompareTo(CreateGraphTypeOption other)booleanequals(java.lang.Object other)inthashCode()
-
-
-
Constructor Detail
-
TypeIfNotExists
public TypeIfNotExists(java.lang.Boolean value)
Constructs an immutableCreateGraphTypeOption.TypeIfNotExists.
-
-
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(CreateGraphTypeOption other)
- Specified by:
compareToin interfacejava.lang.Comparable<CreateGraphTypeOption>
-
accept
public <R> R accept(CreateGraphTypeOption.Visitor<R> visitor)
Dispatch tovisitor.- Specified by:
acceptin classCreateGraphTypeOption
-
-