Enum RCReferenceOwner
- java.lang.Object
-
- java.lang.Enum<RCReferenceOwner>
-
- com.evolveum.midpoint.repo.sql.data.common.other.RCReferenceOwner
-
- All Implemented Interfaces:
Serializable
,Comparable<RCReferenceOwner>
public enum RCReferenceOwner extends Enum<RCReferenceOwner>
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 CASE_REVIEWER
CREATE_APPROVER
MODIFY_APPROVER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RCReferenceOwner
valueOf(String name)
Returns the enum constant of this type with the specified name.static RCReferenceOwner[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE_APPROVER
public static final RCReferenceOwner CREATE_APPROVER
-
MODIFY_APPROVER
public static final RCReferenceOwner MODIFY_APPROVER
-
CASE_REVIEWER
public static final RCReferenceOwner CASE_REVIEWER
-
-
Method Detail
-
values
public static RCReferenceOwner[] 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 (RCReferenceOwner c : RCReferenceOwner.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RCReferenceOwner 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
-
-