Enum Class AttributeFetchStrategyType

java.lang.Object
java.lang.Enum<AttributeFetchStrategyType>
com.evolveum.midpoint.xml.ns._public.common.common_3.AttributeFetchStrategyType
All Implemented Interfaces:
TypeSafeEnum, Serializable, Comparable<AttributeFetchStrategyType>, Constable

public enum AttributeFetchStrategyType extends Enum<AttributeFetchStrategyType> implements TypeSafeEnum
The way how an attribute is fetched from the resource. Or more exactly a way how midPoint requests the attribute from the connector. This setting is used if no other (more specific) setting is specified for an attribute in the run-time.
  • Enum Constant Details

    • IMPLICIT

      public static final AttributeFetchStrategyType IMPLICIT
      MidPoint expects that the attribute will be implicitly returned by the connector in each fetch request and there is no need to explicitly request the attribute. This is the default. This strategy will be used if no other strategy is specified.
    • EXPLICIT

      public static final AttributeFetchStrategyType EXPLICIT
      MidPoint expects that the attribute will NOT be implicitly returned by the connector. To fetch the attribute midPoint has to explicitly request it. Therefore midPoint will explicitly request this attribute in each fetch request.
    • MINIMAL

      public static final AttributeFetchStrategyType MINIMAL
      Fetch the attribute only if absolutely necessary. MidPoint expects that the attribute might be implicitly returned by the connector. Therefore it will try to avoid fetching this value (if possible). This option can be used for values that cause performance overhead (e.g. list of members of large groups).
  • Method Details

    • values

      public static AttributeFetchStrategyType[] 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 AttributeFetchStrategyType 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
    • value

      public String value()
      Description copied from interface: TypeSafeEnum
      Returns enum value defined as in schema.
      Specified by:
      value in interface TypeSafeEnum
      Returns:
    • fromValue

      public static AttributeFetchStrategyType fromValue(String v)