Enum Class ChangeMode

java.lang.Object
java.lang.Enum<ChangeMode>
de.mid.innovator.m2msdk.util.msg.ChangeMode
All Implemented Interfaces:
Serializable, Comparable<ChangeMode>, Constable

public enum ChangeMode extends Enum<ChangeMode>
Mode of change.
Version:
11.3.1
Author:
jmback
  • Enum Constant Details

    • Create

      public static final ChangeMode Create
      Create the element
    • Interconnect

      public static final ChangeMode Interconnect
      Weave the element
    • Modify

      public static final ChangeMode Modify
      Modify the element
    • Delete

      public static final ChangeMode Delete
      Delete the element
    • Nothing

      public static final ChangeMode Nothing
      Do nothing with the element
  • Method Details

    • values

      public static ChangeMode[] 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 ChangeMode 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
    • getMsg

      public String getMsg(SimulateMode iMode)
      Get the message key for the change mode influenced by the simulate mode.
      Parameters:
      iMode - simulate mode
      Returns:
      message key
    • getXML

      public String getXML()
      Get XML-Tag for this change mode
      Returns:
      tag to use for XML element
    • add

      public ChangeMode add(ChangeMode otherMode)