Enum WorkspaceItemType
- java.lang.Object
-
- java.lang.Enum<WorkspaceItemType>
-
- org.gcube.common.storagehubwrapper.shared.tohl.WorkspaceItemType
-
- All Implemented Interfaces:
Serializable,Comparable<WorkspaceItemType>
public enum WorkspaceItemType extends Enum<WorkspaceItemType>
The Enum WorkspaceItemType.- Author:
- Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) Jul 29, 2019
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FILE_ITEMA folder item.FOLDERA folder.SHARED_FOLDERA shared folderSMART_FOLDERA smart folderTRASH_FOLDERA trash folder.TRASH_ITEMA trash item.URL_ITEMThe url item.VRE_FOLDERThe vre folder.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WorkspaceItemTypevalueOf(String name)Returns the enum constant of this type with the specified name.static WorkspaceItemType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FOLDER
public static final WorkspaceItemType FOLDER
A folder.
-
SHARED_FOLDER
public static final WorkspaceItemType SHARED_FOLDER
A shared folder
-
SMART_FOLDER
public static final WorkspaceItemType SMART_FOLDER
A smart folder
-
VRE_FOLDER
public static final WorkspaceItemType VRE_FOLDER
The vre folder.
-
FILE_ITEM
public static final WorkspaceItemType FILE_ITEM
A folder item.
-
TRASH_FOLDER
public static final WorkspaceItemType TRASH_FOLDER
A trash folder.
-
TRASH_ITEM
public static final WorkspaceItemType TRASH_ITEM
A trash item.
-
URL_ITEM
public static final WorkspaceItemType URL_ITEM
The url item.
-
-
Method Detail
-
values
public static WorkspaceItemType[] 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 (WorkspaceItemType c : WorkspaceItemType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WorkspaceItemType 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 nameNullPointerException- if the argument is null
-
-