Enum RReferenceType
- java.lang.Object
-
- java.lang.Enum<RReferenceType>
-
- com.evolveum.midpoint.repo.sql.data.common.other.RReferenceType
-
- All Implemented Interfaces:
Serializable
,Comparable<RReferenceType>
public enum RReferenceType extends Enum<RReferenceType>
This is just helper enumeration for different types of reference entities used in many relationships.- Author:
- lazyman
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARCHETYPE
CREATE_APPROVER
DELEGATED
INCLUDE
MODIFY_APPROVER
OBJECT_PARENT_ORG
PERSONA
RESOURCE_BUSINESS_CONFIGURATION_APPROVER
ROLE_APPROVER
Deprecated.ROLE_MEMBER
SYSTEM_CONFIGURATION_ORG_ROOT
Deprecated.USER_ACCOUNT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description QName
getElementName()
static RReferenceType
getOwnerByQName(Class<? extends ObjectType> typeClass, QName qname)
Class<? extends ObjectType>
getTypeClass()
static RReferenceType
valueOf(String name)
Returns the enum constant of this type with the specified name.static RReferenceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OBJECT_PARENT_ORG
public static final RReferenceType OBJECT_PARENT_ORG
-
USER_ACCOUNT
public static final RReferenceType USER_ACCOUNT
-
RESOURCE_BUSINESS_CONFIGURATION_APPROVER
public static final RReferenceType RESOURCE_BUSINESS_CONFIGURATION_APPROVER
-
ROLE_APPROVER
@Deprecated public static final RReferenceType ROLE_APPROVER
Deprecated.
-
SYSTEM_CONFIGURATION_ORG_ROOT
@Deprecated public static final RReferenceType SYSTEM_CONFIGURATION_ORG_ROOT
Deprecated.
-
CREATE_APPROVER
public static final RReferenceType CREATE_APPROVER
-
MODIFY_APPROVER
public static final RReferenceType MODIFY_APPROVER
-
INCLUDE
public static final RReferenceType INCLUDE
-
ROLE_MEMBER
public static final RReferenceType ROLE_MEMBER
-
DELEGATED
public static final RReferenceType DELEGATED
-
PERSONA
public static final RReferenceType PERSONA
-
ARCHETYPE
public static final RReferenceType ARCHETYPE
-
-
Method Detail
-
values
public static RReferenceType[] 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 (RReferenceType c : RReferenceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RReferenceType 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
-
getTypeClass
public Class<? extends ObjectType> getTypeClass()
-
getElementName
public QName getElementName()
-
getOwnerByQName
public static RReferenceType getOwnerByQName(Class<? extends ObjectType> typeClass, QName qname)
-
-