|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<RReferenceOwner>
com.evolveum.midpoint.repo.sql.data.common.enums.RReferenceOwner
public enum RReferenceOwner
This is just helper enumeration for different types of reference entities used in many relationships.
Enum Constant Summary | |
---|---|
OBJECT_PARENT_ORG
this constant also have to be changed in RParentOrgRef |
|
RESOURCE_BUSINESS_CONFIGURATON_APPROVER
this constant also have to be changed in RResourceApproverRef |
|
ROLE_APPROVER
this constant also have to be changed in RRoleApproverRef |
|
SYSTEM_CONFIGURATION_ORG_ROOT
this constant also have to be changed in ROrgRootRef |
|
USER_ACCOUNT
this constant also have to be changed in RAccountRef |
Method Summary | |
---|---|
static RObjectReference |
createObjectReference(RReferenceOwner owner)
|
Class<? extends RObjectReference> |
getClazz()
This is used for SessionFactory fix in
RUtil.fixCompositeIDHandling(org.hibernate.SessionFactory) |
String |
getDiscriminator()
|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final RReferenceOwner OBJECT_PARENT_ORG
RParentOrgRef
public static final RReferenceOwner USER_ACCOUNT
RAccountRef
public static final RReferenceOwner RESOURCE_BUSINESS_CONFIGURATON_APPROVER
RResourceApproverRef
public static final RReferenceOwner ROLE_APPROVER
RRoleApproverRef
public static final RReferenceOwner SYSTEM_CONFIGURATION_ORG_ROOT
ROrgRootRef
Method Detail |
---|
public static RReferenceOwner[] values()
for (RReferenceOwner c : RReferenceOwner.values()) System.out.println(c);
public static RReferenceOwner valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic Class<? extends RObjectReference> getClazz()
SessionFactory
fix in
RUtil.fixCompositeIDHandling(org.hibernate.SessionFactory)
public String getDiscriminator()
public static RObjectReference createObjectReference(RReferenceOwner owner)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |