Enum AttributeFetchStrategyType
- java.lang.Object
-
- java.lang.Enum<AttributeFetchStrategyType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AttributeFetchStrategyType
-
- All Implemented Interfaces:
Serializable
,Comparable<AttributeFetchStrategyType>
public enum AttributeFetchStrategyType extends Enum<AttributeFetchStrategyType>
Java class for AttributeFetchStrategyType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="AttributeFetchStrategyType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="implicit"/> <enumeration value="explicit"/> <enumeration value="minimal"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXPLICIT
MidPoint expects that the attribute will NOT be implicitly returned by the connector.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.MINIMAL
Fetch the attribute only if absolutely necessary.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttributeFetchStrategyType
fromValue(String v)
String
value()
static AttributeFetchStrategyType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AttributeFetchStrategyType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static AttributeFetchStrategyType[] 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 (AttributeFetchStrategyType c : AttributeFetchStrategyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AttributeFetchStrategyType 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.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public String value()
-
fromValue
public static AttributeFetchStrategyType fromValue(String v)
-
-