Enum ResourceObjectVolatilityType

  • All Implemented Interfaces:
    Serializable, Comparable<ResourceObjectVolatilityType>

    public enum ResourceObjectVolatilityType
    extends Enum<ResourceObjectVolatilityType>

    Java class for ResourceObjectVolatilityType.

    The following schema fragment specifies the expected content contained within this class.

     <simpleType name="ResourceObjectVolatilityType">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="none"/>
         <enumeration value="unpredictable"/>
         <enumeration value="explosive"/>
    • Enum Constant Detail

      • NONE

        public static final ResourceObjectVolatilityType NONE
        The object is behaving very seriously. What you put there, stays there. No unexpected changes. (At least for the attributes you are interested in.)

        public static final ResourceObjectVolatilityType UNPREDICTABLE
        The object can change at any time. Currently this means that midPoint reads the current state after any create or modify operation on that object. In the future we will introduce finer scale, e.g. "can change when created", "can change when updated", etc.

        public static final ResourceObjectVolatilityType EXPLOSIVE
        The object can change in insane ways as a reaction to changes made by midPoint. E.g. the attribute that was modified by midPoint can be modified in a different way by the resource (this sometimes happen for nested groups). There is no way how to handle such a volatile behavior other than to re-read the account and re-run reconciliation after every change that midPoint does. This really brutal solution. It is quite inefficient. But it may be the only option to reliably manage data in some resources.
    • Method Detail

      • values

        public static ResourceObjectVolatilityType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ResourceObjectVolatilityType c : ResourceObjectVolatilityType.values())
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

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

        public String value()