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 @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()
      • 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)
      • getObjectTypeUri

        @NotNull
        public static @NotNull String getObjectTypeUri​(String objectType)
      • 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 ObjectTypeClass<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)
      • getTypeQNameFromRestType

        public static QName getTypeQNameFromRestType​(String restType)
      • 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.