Package openGql.grammar
Class SessionSetParameterName
- java.lang.Object
-
- openGql.grammar.SessionSetParameterName
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SessionSetParameterName>
public class SessionSetParameterName extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<SessionSetParameterName>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static NameIF_NOT_EXISTSName of theopenGql.grammar.SessionSetParameterName.ifNotExistsfield.java.lang.BooleanifNotExistsjava.lang.Stringparameterstatic NamePARAMETERName of theopenGql.grammar.SessionSetParameterName.parameterfield.static NameTYPE_Name of theopenGql.grammar.SessionSetParameterNametype.
-
Constructor Summary
Constructors Constructor Description SessionSetParameterName(java.lang.Boolean ifNotExists, java.lang.String parameter)Constructs an immutableSessionSetParameterName.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(SessionSetParameterName other)booleanequals(java.lang.Object other)inthashCode()SessionSetParameterNamewithIfNotExists(java.lang.Boolean ifNotExists)Returns a copy of thisSessionSetParameterNamewithifNotExistsreplaced.SessionSetParameterNamewithParameter(java.lang.String parameter)Returns a copy of thisSessionSetParameterNamewithparameterreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.SessionSetParameterNametype.
-
IF_NOT_EXISTS
public static final Name IF_NOT_EXISTS
Name of theopenGql.grammar.SessionSetParameterName.ifNotExistsfield.
-
PARAMETER
public static final Name PARAMETER
Name of theopenGql.grammar.SessionSetParameterName.parameterfield.
-
ifNotExists
public final java.lang.Boolean ifNotExists
-
parameter
public final java.lang.String parameter
-
-
Constructor Detail
-
SessionSetParameterName
public SessionSetParameterName(java.lang.Boolean ifNotExists, java.lang.String parameter)Constructs an immutableSessionSetParameterName.
-
-
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(SessionSetParameterName other)
- Specified by:
compareToin interfacejava.lang.Comparable<SessionSetParameterName>
-
withIfNotExists
public SessionSetParameterName withIfNotExists(java.lang.Boolean ifNotExists)
Returns a copy of thisSessionSetParameterNamewithifNotExistsreplaced.
-
withParameter
public SessionSetParameterName withParameter(java.lang.String parameter)
Returns a copy of thisSessionSetParameterNamewithparameterreplaced.
-
-