Enum Class ChangeOrigin

java.lang.Object
java.lang.Enum<ChangeOrigin>
com._1c.g5.aef2.models.ChangeOrigin
All Implemented Interfaces:
Serializable, Comparable<ChangeOrigin>, Constable

public enum ChangeOrigin extends Enum<ChangeOrigin>
The change origin, tells the origin of the change.
  • Enum Constant Details

    • External

      public static final ChangeOrigin External
      The change is caused by the external mechanism. Usually, this means you should do some kind of a model refresh operation to reflect the changes in the external state.
    • Internal

      public static final ChangeOrigin Internal
      The change is caused by the internals of the model. Usually, this means you may safely do some kind of a commit operation, if you need it.
  • Method Details

    • values

      public static ChangeOrigin[] 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 ChangeOrigin 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