Package openGql.grammar
Class SessionSetAndResetCommands
- java.lang.Object
-
- openGql.grammar.SessionSetAndResetCommands
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SessionSetAndResetCommands>
public class SessionSetAndResetCommands extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<SessionSetAndResetCommands>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<Optional<SessionResetArguments>>resetstatic NameRESETName of theopenGql.grammar.SessionSetAndResetCommands.resetfield.java.util.List<SessionSetCommand>setstatic NameSETName of theopenGql.grammar.SessionSetAndResetCommands.setfield.static NameTYPE_Name of theopenGql.grammar.SessionSetAndResetCommandstype.
-
Constructor Summary
Constructors Constructor Description SessionSetAndResetCommands(java.util.List<SessionSetCommand> set, java.util.List<Optional<SessionResetArguments>> reset)Constructs an immutableSessionSetAndResetCommands.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(SessionSetAndResetCommands other)booleanequals(java.lang.Object other)inthashCode()SessionSetAndResetCommandswithReset(java.util.List<Optional<SessionResetArguments>> reset)Returns a copy of thisSessionSetAndResetCommandswithresetreplaced.SessionSetAndResetCommandswithSet(java.util.List<SessionSetCommand> set)Returns a copy of thisSessionSetAndResetCommandswithsetreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of theopenGql.grammar.SessionSetAndResetCommandstype.
-
SET
public static final Name SET
Name of theopenGql.grammar.SessionSetAndResetCommands.setfield.
-
RESET
public static final Name RESET
Name of theopenGql.grammar.SessionSetAndResetCommands.resetfield.
-
set
public final java.util.List<SessionSetCommand> set
-
reset
public final java.util.List<Optional<SessionResetArguments>> reset
-
-
Constructor Detail
-
SessionSetAndResetCommands
public SessionSetAndResetCommands(java.util.List<SessionSetCommand> set, java.util.List<Optional<SessionResetArguments>> reset)
Constructs an immutableSessionSetAndResetCommands.
-
-
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(SessionSetAndResetCommands other)
- Specified by:
compareToin interfacejava.lang.Comparable<SessionSetAndResetCommands>
-
withSet
public SessionSetAndResetCommands withSet(java.util.List<SessionSetCommand> set)
Returns a copy of thisSessionSetAndResetCommandswithsetreplaced.
-
withReset
public SessionSetAndResetCommands withReset(java.util.List<Optional<SessionResetArguments>> reset)
Returns a copy of thisSessionSetAndResetCommandswithresetreplaced.
-
-