Enum FileItemType

  • All Implemented Interfaces:
    Serializable, Comparable<FileItemType>, org.gcube.common.storagehub.model.types.GenericItemType

    public enum FileItemType
    extends Enum<FileItemType>
    implements org.gcube.common.storagehub.model.types.GenericItemType
    The Enum FileItemType.
    Author:
    Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) Jun 21, 2018
    • Enum Constant Detail

      • DOCUMENT

        public static final FileItemType DOCUMENT
        Document.
      • IMAGE_DOCUMENT

        public static final FileItemType IMAGE_DOCUMENT
        Image document.
      • PDF_DOCUMENT

        public static final FileItemType PDF_DOCUMENT
        PDF document.
      • URL_DOCUMENT

        public static final FileItemType URL_DOCUMENT
        Url document.
      • METADATA

        public static final FileItemType METADATA
        Metadata.
      • GCUBE_ITEM

        public static final FileItemType GCUBE_ITEM
        A gCube item.
    • Method Detail

      • values

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

        public static FileItemType 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