Class AttributeNames.Custom

  • Enclosing class:
    AttributeNames

    public static class AttributeNames.Custom
    extends Object
    this class holds all additional custom attributes defined by this implementation
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String AUTHENTICATED
      used in resource type definitions to tell us if access to a specific endpoint requires authentication or not
      static String AUTHORIZATION
      the attribute that contains the authorization rules for a resource type
      static String AUTO_FILTERING
      the attribute key for enabling automatic filtering on a specific resource
      static String AUTO_SORTING
      the attribute key for enabling automatic sorting on a specific resource
      static String DISABLE_CREATE
      this attribute will disable the create endpoint
      static String DISABLE_DELETE
      this attribute will disable the delete endpoint
      static String DISABLE_GET
      this attribute will disable the get-endpoint
      static String DISABLE_LIST
      this attribute will disable get list-endpoint
      static String DISABLE_UPDATE
      this attribute will disable the update endpoint
      static String ENDPOINT_CONTROL
      an extension attribute for resource type control that allows to disable certain endpoints for a resource type
      static String ETAG_ENABLED
      a boolean if set to false ETags will not be generated automatically on this resource endpoint.
      static String MAX_ITEMS
      this attribute defines the validation attribute for array types "maxItems"
      static String MAX_LENGTH
      this attribute defines the validation attribute for string types "maxLength"
      static String MAXIMUM
      this attribute defines the validation attribute for integer types "maximum"
      static String MIN_ITEMS
      this attribute defines the validation attribute for array types "minItems"
      static String MIN_LENGTH
      this attribute defines the validation attribute for string types "minLength"
      static String MINIMUM
      this attribute defines the validation attribute for integer types "minimum"
      static String MULTIPLE_OF
      this attribute defines the validation attribute for integers types "multipleOf"
      static String NOT_AFTER
      this attribute defines the validation attribute for dateTime types 'notAfter'
      static String NOT_BEFORE
      this attribute defines the validation attribute for dateTime types 'notBefore'
      static String PATTERN
      this attribute defines the validation attribute for string types "pattern"
      static String RESOURCE_TYPE_DISABLED
      this attribute tells us if a resource type was disabled
      static String ROLES
      this attribute defines the role-array for resource types
      static String ROLES_CREATE
      this attribute defines the role-array for the create endpoint of a specific resource type
      static String ROLES_DELETE
      this attribute defines the role-array for the delete endpoint of a specific resource type
      static String ROLES_GET
      this attribute defines the role-array for the get endpoint of a specific resource type
      static String ROLES_UPDATE
      this attribute defines the role-array for the update endpoint of a specific resource type
      static String SINGLETON_ENDPOINT
      an attribute key for ResourceTypes to setup a resource endpoint as singleton endpoint
    • Constructor Summary

      Constructors 
      Constructor Description
      Custom()  
    • Field Detail

      • SINGLETON_ENDPOINT

        public static final String SINGLETON_ENDPOINT
        an attribute key for ResourceTypes to setup a resource endpoint as singleton endpoint
        See Also:
        Constant Field Values
      • AUTO_FILTERING

        public static final String AUTO_FILTERING
        the attribute key for enabling automatic filtering on a specific resource
        See Also:
        Constant Field Values
      • AUTO_SORTING

        public static final String AUTO_SORTING
        the attribute key for enabling automatic sorting on a specific resource
        See Also:
        Constant Field Values
      • RESOURCE_TYPE_DISABLED

        public static final String RESOURCE_TYPE_DISABLED
        this attribute tells us if a resource type was disabled
        See Also:
        Constant Field Values
      • ENDPOINT_CONTROL

        public static final String ENDPOINT_CONTROL
        an extension attribute for resource type control that allows to disable certain endpoints for a resource type
        See Also:
        Constant Field Values
      • DISABLE_CREATE

        public static final String DISABLE_CREATE
        this attribute will disable the create endpoint
        See Also:
        Constant Field Values
      • DISABLE_UPDATE

        public static final String DISABLE_UPDATE
        this attribute will disable the update endpoint
        See Also:
        Constant Field Values
      • DISABLE_DELETE

        public static final String DISABLE_DELETE
        this attribute will disable the delete endpoint
        See Also:
        Constant Field Values
      • AUTHORIZATION

        public static final String AUTHORIZATION
        the attribute that contains the authorization rules for a resource type
        See Also:
        Constant Field Values
      • ROLES_CREATE

        public static final String ROLES_CREATE
        this attribute defines the role-array for the create endpoint of a specific resource type
        See Also:
        Constant Field Values
      • ROLES_GET

        public static final String ROLES_GET
        this attribute defines the role-array for the get endpoint of a specific resource type
        See Also:
        Constant Field Values
      • ROLES_UPDATE

        public static final String ROLES_UPDATE
        this attribute defines the role-array for the update endpoint of a specific resource type
        See Also:
        Constant Field Values
      • ROLES_DELETE

        public static final String ROLES_DELETE
        this attribute defines the role-array for the delete endpoint of a specific resource type
        See Also:
        Constant Field Values
      • MULTIPLE_OF

        public static final String MULTIPLE_OF
        this attribute defines the validation attribute for integers types "multipleOf"
        See Also:
        Constant Field Values
      • MINIMUM

        public static final String MINIMUM
        this attribute defines the validation attribute for integer types "minimum"
        See Also:
        Constant Field Values
      • MAXIMUM

        public static final String MAXIMUM
        this attribute defines the validation attribute for integer types "maximum"
        See Also:
        Constant Field Values
      • MAX_LENGTH

        public static final String MAX_LENGTH
        this attribute defines the validation attribute for string types "maxLength"
        See Also:
        Constant Field Values
      • MIN_LENGTH

        public static final String MIN_LENGTH
        this attribute defines the validation attribute for string types "minLength"
        See Also:
        Constant Field Values
      • PATTERN

        public static final String PATTERN
        this attribute defines the validation attribute for string types "pattern"
        See Also:
        Constant Field Values
      • MIN_ITEMS

        public static final String MIN_ITEMS
        this attribute defines the validation attribute for array types "minItems"
        See Also:
        Constant Field Values
      • MAX_ITEMS

        public static final String MAX_ITEMS
        this attribute defines the validation attribute for array types "maxItems"
        See Also:
        Constant Field Values
      • NOT_BEFORE

        public static final String NOT_BEFORE
        this attribute defines the validation attribute for dateTime types 'notBefore'
        See Also:
        Constant Field Values
      • NOT_AFTER

        public static final String NOT_AFTER
        this attribute defines the validation attribute for dateTime types 'notAfter'
        See Also:
        Constant Field Values
      • ETAG_ENABLED

        public static final String ETAG_ENABLED
        a boolean if set to false ETags will not be generated automatically on this resource endpoint. Default is true.
        See Also:
        Constant Field Values
      • AUTHENTICATED

        public static final String AUTHENTICATED
        used in resource type definitions to tell us if access to a specific endpoint requires authentication or not
        See Also:
        Constant Field Values
    • Constructor Detail

      • Custom

        public Custom()