Enum AccessType

    • Enum Constant Detail

      • PROPERTY_ELEMENT

        public static final AccessType PROPERTY_ELEMENT
      • PROPERTY_DEFINITION

        public static final AccessType PROPERTY_DEFINITION
      • PROPERTY_TYPE

        public static final AccessType PROPERTY_TYPE
      • TEMPLATE_VARIABLE

        public static final AccessType TEMPLATE_VARIABLE
      • PROPERTY

        public static final AccessType PROPERTY
      • ENTITY_ELEMENT

        public static final AccessType ENTITY_ELEMENT
      • ENTITY_TYPE

        public static final AccessType ENTITY_TYPE
      • QUERY_TEMPLATE

        public static final AccessType QUERY_TEMPLATE
      • RESOURCE

        public static final AccessType RESOURCE
      • RELATION_ELEMENT

        public static final AccessType RELATION_ELEMENT
      • RELATION_TYPE

        public static final AccessType RELATION_TYPE
      • IS_PARENT_OF

        public static final AccessType IS_PARENT_OF
      • RELATION

        public static final AccessType RELATION
      • IS_RELATED_TO

        public static final AccessType IS_RELATED_TO
      • CONSISTS_OF

        public static final AccessType CONSISTS_OF
    • Method Detail

      • values

        public static AccessType[] 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 (AccessType c : AccessType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AccessType 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
      • getTypeClass

        public <ISM extends ElementClass<ISM> getTypeClass()
      • getImplementationClass

        public <ISM extends Element,​ISMC extends ISM> Class<ISMC> getImplementationClass()
      • getDummyImplementationClass

        public <ISM extends Element,​ISMC extends ISM,​ISMD extends ISMC> Class<ISMD> getDummyImplementationClass()
      • getName

        public String getName()
      • lowerCaseFirstCharacter

        public String lowerCaseFirstCharacter()
      • getAccessType

        public static AccessType getAccessType​(String typeName)
        Provide the access type from the name provided type name as argument
        Parameters:
        typeName - type name
        Returns:
        the AccessType from the name provided type name as argument, null otherwise
      • getModelTypes

        public static AccessType[] getModelTypes()
        Returns:
        an array of AccessTypes containing only Model Types (i.e. Property, Resource, Facet, IsRelatedTo, ConsistsOf)
      • getERTypes

        public static AccessType[] getERTypes()
        Returns:
        an array of AccessTypes containing only Entity/Relation Model Types (i.e. Resource, Facet, IsRelatedTo, ConsistsOf)