Enum ArchetypeTypeType
- java.lang.Object
-
- java.lang.Enum<ArchetypeTypeType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ArchetypeTypeType
-
- All Implemented Interfaces:
Serializable
,Comparable<ArchetypeTypeType>
public enum ArchetypeTypeType extends Enum<ArchetypeTypeType>
Type of the archetype determining how it can be assigned and used.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUXILIARY
Can be assigned to the object with structural archetype assigned, object can have more than one auxiliary archetypes assigned.STRUCTURAL
Only one can be assigned to the object directly, can be extended, can extend other structural archetypes.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ArchetypeTypeType
fromValue(String v)
String
value()
static ArchetypeTypeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ArchetypeTypeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STRUCTURAL
public static final ArchetypeTypeType STRUCTURAL
Only one can be assigned to the object directly, can be extended, can extend other structural archetypes.
-
AUXILIARY
public static final ArchetypeTypeType AUXILIARY
Can be assigned to the object with structural archetype assigned, object can have more than one auxiliary archetypes assigned.
-
-
Method Detail
-
values
public static ArchetypeTypeType[] 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 (ArchetypeTypeType c : ArchetypeTypeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ArchetypeTypeType 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 ArchetypeTypeType fromValue(String v)
-
-