Enum Resource.AnnotatedTypeVariant

    • Enum Constant Detail

      • SINGLETON_RESOURCE

        public static final Resource.AnnotatedTypeVariant SINGLETON_RESOURCE
        A singleton resource handler. (expect RUDPA operations).
      • COLLECTION_RESOURCE_COLLECTION

        public static final Resource.AnnotatedTypeVariant COLLECTION_RESOURCE_COLLECTION
        A collection resource handler, collection endpoint (expect CAQ opererations).
      • COLLECTION_RESOURCE_INSTANCE

        public static final Resource.AnnotatedTypeVariant COLLECTION_RESOURCE_INSTANCE
        A collection resource handler, instance endpoint (expect CRUDPA operations).
    • Method Detail

      • values

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

        public static Resource.AnnotatedTypeVariant 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