Enum Class ItemType

java.lang.Object
java.lang.Enum<ItemType>
org.gcube.common.storagehub.model.types.ItemType
All Implemented Interfaces:
Serializable, Comparable<ItemType>, Constable, GenericItemType

public enum ItemType extends Enum<ItemType> implements GenericItemType
Author:
gioia
  • Enum Constant Details

    • FOLDER

      public static final ItemType FOLDER
      A folder.
    • SHARED_FOLDER

      public static final ItemType SHARED_FOLDER
      A shared folder
    • SMART_FOLDER

      public static final ItemType SMART_FOLDER
      A smart folder
    • FOLDER_ITEM

      public static final ItemType FOLDER_ITEM
      A folder item.
    • TRASH_FOLDER

      public static final ItemType TRASH_FOLDER
      A trash folder.
    • TRASH_ITEM

      public static final ItemType TRASH_ITEM
      A trash item.
  • Method Details

    • values

      public static ItemType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ItemType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null