Enum ObjectTypes

    • 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 name
        NullPointerException - if the argument is null
      • isManagedByProvisioning

        public boolean isManagedByProvisioning()
      • isManagedByTaskManager

        public boolean isManagedByTaskManager()
      • getValue

        public String getValue()
      • getElementName

        @NotNull
        public QName getElementName()
      • getTypeQName

        @NotNull
        public QName getTypeQName()
      • getClassDefinition

        @NotNull
        public Class<? extends ObjectType> getClassDefinition()
      • getRestType

        @NotNull
        public String getRestType()
      • getObjectTypeUri

        @NotNull
        public String getObjectTypeUri()
      • getObjectType

        @NotNull
        public static ObjectTypes getObjectType​(String objectType)
      • getObjectTypeFromTypeQName

        public static ObjectTypes getObjectTypeFromTypeQName​(QName typeQName)
      • getObjectTypeFromUri

        @NotNull
        public static ObjectTypes getObjectTypeFromUri​(String objectTypeUri)
      • getObjectTypeUri

        @NotNull
        public static String getObjectTypeUri​(String objectType)
      • getObjectTypeClass

        public static Class<? extends ObjectType> getObjectTypeClass​(String typeNameLocal)
      • getObjectTypeClass

        @NotNull
        public static <O extends ObjectTypeClass<O> getObjectTypeClass​(QName typeName)
      • getObjectTypeIfKnown

        public static ObjectTypes getObjectTypeIfKnown​(@NotNull
                                                       Class<?> objectType)
      • isManagedByProvisioning

        public static boolean isManagedByProvisioning​(ObjectType object)
      • isClassManagedByProvisioning

        public static boolean isClassManagedByProvisioning​(Class<? extends ObjectType> clazz)
      • isObjectTypeManagedByProvisioning

        public static boolean isObjectTypeManagedByProvisioning​(Class<? extends ObjectType> objectType)
      • isObjectTypeManagedByProvisioning

        public static boolean isObjectTypeManagedByProvisioning​(String objectType)
      • getClassFromRestType

        public static Class<? extends ObjectType> getClassFromRestType​(String restType)
      • getRestTypeFromClass

        public static String getRestTypeFromClass​(Class<?> clazz)
      • 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.
      • canonizeObjectType

        public static QName canonizeObjectType​(QName inputQName)
        Makes sure the QName is full representation of object types, e.g. that it includes proper namespace.