Enum Class SimpleElementOperation

java.lang.Object
java.lang.Enum<SimpleElementOperation>
net.rotgruengelb.nixienaut.operation.SimpleElementOperation
All Implemented Interfaces:
Serializable, Comparable<SimpleElementOperation>, Constable, IntIdentifiable, StringIdentifiable

public enum SimpleElementOperation extends Enum<SimpleElementOperation> implements StringIdentifiable, IntIdentifiable
  • Enum Constant Details

  • Method Details

    • values

      public static SimpleElementOperation[] 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 SimpleElementOperation 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
    • getIntRepresentation

      public int getIntRepresentation()
      Description copied from interface: IntIdentifiable
      The integer representation of the object.
      Specified by:
      getIntRepresentation in interface IntIdentifiable
      Returns:
      The integer representation of the object.
    • getStringRepresentation

      public String getStringRepresentation()
      Description copied from interface: StringIdentifiable
      The string representation of the object.
      Specified by:
      getStringRepresentation in interface StringIdentifiable
      Returns:
      The string representation of the object.