Enum ValuePolicyOriginType
- java.lang.Object
-
- java.lang.Enum<ValuePolicyOriginType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ValuePolicyOriginType
-
- All Implemented Interfaces:
Serializable
,Comparable<ValuePolicyOriginType>
public enum ValuePolicyOriginType extends Enum<ValuePolicyOriginType>
Java class for ValuePolicyOriginType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ValuePolicyOriginType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="object"/> <enumeration value="persona"/> <enumeration value="owner"/> <enumeration value="projection"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OBJECT
Object is the origin.OWNER
Object's owner is the origin.PERSONA
Object's persona is the origin.PROJECTION
One of object's projection is the origin.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ValuePolicyOriginType
fromValue(String v)
String
value()
static ValuePolicyOriginType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ValuePolicyOriginType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OBJECT
public static final ValuePolicyOriginType OBJECT
Object is the origin. Object usually means the user. E.g. in case of password policy, object is the user who's password is changed.
-
PERSONA
public static final ValuePolicyOriginType PERSONA
Object's persona is the origin. E.g. in case of password policy all user personas will be scanned.
-
OWNER
public static final ValuePolicyOriginType OWNER
Object's owner is the origin. E.g. in case of user password policy all personas that point to this user will be scanned. In case of account password policy the user who owns the account is scanned. Note: owner for accounts is not implemented yet
-
PROJECTION
public static final ValuePolicyOriginType PROJECTION
One of object's projection is the origin. E.g. in case of user password specific projection linked to the user will be scanned. If this origin type is selected then also the projectionDiscriminator must be specified. Note: Currently the only supported value is resource password.
-
-
Method Detail
-
values
public static ValuePolicyOriginType[] 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 (ValuePolicyOriginType c : ValuePolicyOriginType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ValuePolicyOriginType 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 ValuePolicyOriginType fromValue(String v)
-
-