Enum ObjectTypes
- java.lang.Object
-
- java.lang.Enum<ObjectTypes>
-
- com.evolveum.midpoint.schema.constants.ObjectTypes
-
- All Implemented Interfaces:
Serializable
,Comparable<ObjectTypes>
public enum ObjectTypes extends Enum<ObjectTypes>
- Author:
- lazyman
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ObjectTypes.ObjectManager
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QName
canonizeObjectType(QName inputQName)
Makes sure the QName is full representation of object types, e.g.static List<QName>
canonizeObjectTypes(List<QName> inputQNames)
Makes sure the QNames are full representation of object types, e.g.static List<Class<? extends ObjectType>>
getAllObjectTypes()
<O extends ObjectType>
@NotNull Class<O>getClassDefinition()
static Class<? extends ObjectType>
getClassFromRestType(String restType)
@NotNull QName
getElementName()
@NotNull ObjectTypes.ObjectManager
getObjectManager()
static ObjectTypes.ObjectManager
getObjectManagerForClass(Class<? extends ObjectType> clazz)
static @NotNull ObjectTypes
getObjectType(@NotNull Class<? extends ObjectType> objectType)
static @NotNull ObjectTypes
getObjectType(String objectType)
static Class<? extends ObjectType>
getObjectTypeClass(String typeNameLocal)
static <O extends ObjectType>
@NotNull Class<O>getObjectTypeClass(QName typeName)
static <O extends ObjectType>
Class<O>getObjectTypeClassIfKnown(QName typeName)
static ObjectTypes
getObjectTypeFromTypeQName(QName typeQName)
static @NotNull ObjectTypes
getObjectTypeFromUri(String objectTypeUri)
static ObjectTypes
getObjectTypeIfKnown(@NotNull Class<?> objectType)
@NotNull String
getObjectTypeUri()
static @NotNull String
getObjectTypeUri(String objectType)
@NotNull String
getRestType()
static String
getRestTypeFromClass(Class<?> clazz)
@NotNull QName
getTypeQName()
static QName
getTypeQNameFromRestType(String restType)
String
getValue()
static boolean
isClassManagedByProvisioning(Class<? extends ObjectType> clazz)
static boolean
isClassManagedByTaskManager(@NotNull Class<? extends ObjectType> clazz)
boolean
isManagedByProvisioning()
static boolean
isManagedByProvisioning(ObjectType object)
boolean
isManagedByTaskManager()
static boolean
isObjectTypeManagedByProvisioning(Class<? extends ObjectType> objectType)
static boolean
isObjectTypeManagedByProvisioning(String objectType)
ObjectTypes
superType()
List<ObjectTypes>
thisAndSupertypes()
static ObjectTypes
valueOf(String name)
Returns the enum constant of this type with the specified name.static ObjectTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONNECTOR
public static final ObjectTypes CONNECTOR
-
CONNECTOR_HOST
public static final ObjectTypes CONNECTOR_HOST
-
GENERIC_OBJECT
public static final ObjectTypes GENERIC_OBJECT
-
RESOURCE
public static final ObjectTypes RESOURCE
-
USER
public static final ObjectTypes USER
-
OBJECT_TEMPLATE
public static final ObjectTypes OBJECT_TEMPLATE
-
SYSTEM_CONFIGURATION
public static final ObjectTypes SYSTEM_CONFIGURATION
-
TASK
public static final ObjectTypes TASK
-
SHADOW
public static final ObjectTypes SHADOW
-
ROLE
public static final ObjectTypes ROLE
-
PASSWORD_POLICY
public static final ObjectTypes PASSWORD_POLICY
-
NODE
public static final ObjectTypes NODE
-
FORM
public static final ObjectTypes FORM
-
ORG
public static final ObjectTypes ORG
-
ABSTRACT_ROLE
public static final ObjectTypes ABSTRACT_ROLE
-
FOCUS_TYPE
public static final ObjectTypes FOCUS_TYPE
-
ASSIGNMENT_HOLDER_TYPE
public static final ObjectTypes ASSIGNMENT_HOLDER_TYPE
-
REPORT
public static final ObjectTypes REPORT
-
REPORT_DATA
public static final ObjectTypes REPORT_DATA
-
SECURITY_POLICY
public static final ObjectTypes SECURITY_POLICY
-
LOOKUP_TABLE
public static final ObjectTypes LOOKUP_TABLE
-
ACCESS_CERTIFICATION_DEFINITION
public static final ObjectTypes ACCESS_CERTIFICATION_DEFINITION
-
ACCESS_CERTIFICATION_CAMPAIGN
public static final ObjectTypes ACCESS_CERTIFICATION_CAMPAIGN
-
SEQUENCE
public static final ObjectTypes SEQUENCE
-
SERVICE
public static final ObjectTypes SERVICE
-
CASE
public static final ObjectTypes CASE
-
FUNCTION_LIBRARY
public static final ObjectTypes FUNCTION_LIBRARY
-
OBJECT_COLLECTION
public static final ObjectTypes OBJECT_COLLECTION
-
ARCHETYPE
public static final ObjectTypes ARCHETYPE
-
DASHBOARD
public static final ObjectTypes DASHBOARD
-
MESSAGE_TEMPLATE
public static final ObjectTypes MESSAGE_TEMPLATE
-
OBJECT
public static final ObjectTypes OBJECT
-
-
Method Detail
-
values
public static ObjectTypes[] 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 (ObjectTypes c : ObjectTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ObjectTypes 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
-
thisAndSupertypes
public List<ObjectTypes> thisAndSupertypes()
-
superType
public ObjectTypes superType()
-
isManagedByProvisioning
public boolean isManagedByProvisioning()
-
isManagedByTaskManager
public boolean isManagedByTaskManager()
-
getValue
public String getValue()
-
getElementName
@NotNull public @NotNull QName getElementName()
-
getTypeQName
@NotNull public @NotNull QName getTypeQName()
-
getClassDefinition
@NotNull public <O extends ObjectType> @NotNull Class<O> getClassDefinition()
-
getRestType
@NotNull public @NotNull String getRestType()
-
getObjectTypeUri
@NotNull public @NotNull String getObjectTypeUri()
-
getObjectManager
@NotNull public @NotNull ObjectTypes.ObjectManager getObjectManager()
-
getObjectType
@NotNull public static @NotNull ObjectTypes getObjectType(String objectType)
-
getObjectTypeFromTypeQName
public static ObjectTypes getObjectTypeFromTypeQName(QName typeQName)
-
getObjectTypeFromUri
@NotNull public static @NotNull ObjectTypes getObjectTypeFromUri(String objectTypeUri)
-
getObjectTypeClass
public static Class<? extends ObjectType> getObjectTypeClass(String typeNameLocal)
-
getObjectTypeClass
@NotNull public static <O extends ObjectType> @NotNull Class<O> getObjectTypeClass(QName typeName)
-
getObjectTypeClassIfKnown
public static <O extends ObjectType> Class<O> getObjectTypeClassIfKnown(QName typeName)
-
getObjectType
@NotNull public static @NotNull ObjectTypes getObjectType(@NotNull @NotNull Class<? extends ObjectType> objectType)
-
getObjectTypeIfKnown
public static ObjectTypes getObjectTypeIfKnown(@NotNull @NotNull Class<?> objectType)
-
isManagedByProvisioning
public static boolean isManagedByProvisioning(ObjectType object)
-
isClassManagedByProvisioning
public static boolean isClassManagedByProvisioning(Class<? extends ObjectType> clazz)
-
isClassManagedByTaskManager
public static boolean isClassManagedByTaskManager(@NotNull @NotNull Class<? extends ObjectType> clazz)
-
isObjectTypeManagedByProvisioning
public static boolean isObjectTypeManagedByProvisioning(Class<? extends ObjectType> objectType)
-
isObjectTypeManagedByProvisioning
public static boolean isObjectTypeManagedByProvisioning(String objectType)
-
getObjectManagerForClass
public static ObjectTypes.ObjectManager getObjectManagerForClass(Class<? extends ObjectType> clazz)
-
getClassFromRestType
public static Class<? extends ObjectType> getClassFromRestType(String restType)
-
getAllObjectTypes
public static List<Class<? extends ObjectType>> getAllObjectTypes()
-
canonizeObjectTypes
public static List<QName> canonizeObjectTypes(List<QName> inputQNames)
Makes sure the QNames are full representation of object types, e.g. that they include proper namespace.
-
-