Enum MObjectType
- java.lang.Object
-
- java.lang.Enum<MObjectType>
-
- com.evolveum.midpoint.repo.sqale.qmodel.object.MObjectType
-
- All Implemented Interfaces:
Serializable
,Comparable<MObjectType>
public enum MObjectType extends Enum<MObjectType>
Definition enum, counterpart for our custom Postgres type `ObjectType`. The enum values are rarely used directly, except for some abstract types. They are however used for the mapping between Q-classes and schema types using the static methods provided on this enum class.
-
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description static Map<Class<? extends ObjectType>,MObjectType>
SCHEMA_TYPE_TO_ENUM
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NotNull MObjectType
fromSchemaType(Class<? extends ObjectType> objectTypeClass)
static @NotNull MObjectType
fromTypeQName(QName typeQName)
Class<? extends QObject<?>>
getQueryType()
Class<? extends ObjectType>
getSchemaType()
static MObjectType
valueOf(String name)
Returns the enum constant of this type with the specified name.static MObjectType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ABSTRACT_ROLE
public static final MObjectType ABSTRACT_ROLE
-
ACCESS_CERTIFICATION_CAMPAIGN
public static final MObjectType ACCESS_CERTIFICATION_CAMPAIGN
-
ACCESS_CERTIFICATION_DEFINITION
public static final MObjectType ACCESS_CERTIFICATION_DEFINITION
-
ARCHETYPE
public static final MObjectType ARCHETYPE
-
ASSIGNMENT_HOLDER
public static final MObjectType ASSIGNMENT_HOLDER
-
CASE
public static final MObjectType CASE
-
CONNECTOR
public static final MObjectType CONNECTOR
-
CONNECTOR_HOST
public static final MObjectType CONNECTOR_HOST
-
DASHBOARD
public static final MObjectType DASHBOARD
-
FOCUS
public static final MObjectType FOCUS
-
FORM
public static final MObjectType FORM
-
FUNCTION_LIBRARY
public static final MObjectType FUNCTION_LIBRARY
-
GENERIC_OBJECT
public static final MObjectType GENERIC_OBJECT
-
LOOKUP_TABLE
public static final MObjectType LOOKUP_TABLE
-
MESSAGE_TEMPLATE
public static final MObjectType MESSAGE_TEMPLATE
-
NODE
public static final MObjectType NODE
-
OBJECT
public static final MObjectType OBJECT
-
OBJECT_COLLECTION
public static final MObjectType OBJECT_COLLECTION
-
OBJECT_TEMPLATE
public static final MObjectType OBJECT_TEMPLATE
-
ORG
public static final MObjectType ORG
-
REPORT
public static final MObjectType REPORT
-
REPORT_DATA
public static final MObjectType REPORT_DATA
-
RESOURCE
public static final MObjectType RESOURCE
-
ROLE
public static final MObjectType ROLE
-
SECURITY_POLICY
public static final MObjectType SECURITY_POLICY
-
SEQUENCE
public static final MObjectType SEQUENCE
-
SERVICE
public static final MObjectType SERVICE
-
SHADOW
public static final MObjectType SHADOW
-
SIMULATION_RESULT
public static final MObjectType SIMULATION_RESULT
-
SYSTEM_CONFIGURATION
public static final MObjectType SYSTEM_CONFIGURATION
-
MARK
public static final MObjectType MARK
-
TASK
public static final MObjectType TASK
-
USER
public static final MObjectType USER
-
VALUE_POLICY
public static final MObjectType VALUE_POLICY
-
-
Field Detail
-
SCHEMA_TYPE_TO_ENUM
public static final Map<Class<? extends ObjectType>,MObjectType> SCHEMA_TYPE_TO_ENUM
-
-
Method Detail
-
values
public static MObjectType[] 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 (MObjectType c : MObjectType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MObjectType 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
-
fromTypeQName
@NotNull public static @NotNull MObjectType fromTypeQName(QName typeQName)
-
fromSchemaType
@NotNull public static @NotNull MObjectType fromSchemaType(Class<? extends ObjectType> objectTypeClass)
-
getSchemaType
public Class<? extends ObjectType> getSchemaType()
-
-