Enum RReferenceOwner
- java.lang.Object
-
- java.lang.Enum<RReferenceOwner>
-
- com.evolveum.midpoint.repo.sql.data.common.other.RReferenceOwner
-
- All Implemented Interfaces:
Serializable
,Comparable<RReferenceOwner>
public enum RReferenceOwner extends Enum<RReferenceOwner>
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_CONFIGURATON_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 RReferenceOwner
getOwnerByQName(Class<? extends ObjectType> typeClass, QName qname)
Class<? extends ObjectType>
getTypeClass()
static RReferenceOwner
valueOf(String name)
Returns the enum constant of this type with the specified name.static RReferenceOwner[]
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 RReferenceOwner OBJECT_PARENT_ORG
-
USER_ACCOUNT
public static final RReferenceOwner USER_ACCOUNT
-
RESOURCE_BUSINESS_CONFIGURATON_APPROVER
public static final RReferenceOwner RESOURCE_BUSINESS_CONFIGURATON_APPROVER
-
ROLE_APPROVER
@Deprecated public static final RReferenceOwner ROLE_APPROVER
Deprecated.
-
SYSTEM_CONFIGURATION_ORG_ROOT
@Deprecated public static final RReferenceOwner SYSTEM_CONFIGURATION_ORG_ROOT
Deprecated.
-
CREATE_APPROVER
public static final RReferenceOwner CREATE_APPROVER
-
MODIFY_APPROVER
public static final RReferenceOwner MODIFY_APPROVER
-
INCLUDE
public static final RReferenceOwner INCLUDE
-
ROLE_MEMBER
public static final RReferenceOwner ROLE_MEMBER
-
DELEGATED
public static final RReferenceOwner DELEGATED
-
PERSONA
public static final RReferenceOwner PERSONA
-
ARCHETYPE
public static final RReferenceOwner ARCHETYPE
-
-
Method Detail
-
values
public static RReferenceOwner[] 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 (RReferenceOwner c : RReferenceOwner.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RReferenceOwner 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 RReferenceOwner getOwnerByQName(Class<? extends ObjectType> typeClass, QName qname)
-
-