Enum Class SequenceElement.Argument

java.lang.Object
java.lang.Enum<SequenceElement.Argument>
ru.curs.celesta.score.SequenceElement.Argument
All Implemented Interfaces:
Serializable, Comparable<SequenceElement.Argument>, Constable
Enclosing class:
SequenceElement

public static enum SequenceElement.Argument extends Enum<SequenceElement.Argument>
Sequence arguments.
  • Enum Constant Details

  • Method Details

    • values

      public static SequenceElement.Argument[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SequenceElement.Argument valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getSql

      public String getSql(Object value)
      Returns SQL for argument with the specified value.
      Parameters:
      value - argument value
    • toString

      public String toString()
      Overrides:
      toString in class Enum<SequenceElement.Argument>