Enum FileItemType
- java.lang.Object
-
- java.lang.Enum<FileItemType>
-
- org.gcube.common.storagehub.model.types.FileItemType
-
- All Implemented Interfaces:
Serializable,Comparable<FileItemType>,GenericItemType
public enum FileItemType extends Enum<FileItemType> implements GenericItemType
- Author:
- Federico De Faveri defaveri@isti.cnr.it
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DOCUMENTDocument.EXTERNAL_FILEExternal file.EXTERNAL_IMAGEExternal image.EXTERNAL_PDF_FILEExternal PDF file.EXTERNAL_URLExternal url.GCUBE_ITEMA gCube item.IMAGE_DOCUMENTImage document.METADATAMetadata.PDF_DOCUMENTPDF document.QUERYQuery.REPORTReport.REPORT_TEMPLATEReport template.TIME_SERIESA time series.TRASH_ITEMTrash itemURL_DOCUMENTUrl document.WORKFLOW_REPORTWorkflow report.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileItemTypevalueOf(String name)Returns the enum constant of this type with the specified name.static FileItemType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXTERNAL_IMAGE
public static final FileItemType EXTERNAL_IMAGE
External image.
-
EXTERNAL_FILE
public static final FileItemType EXTERNAL_FILE
External file.
-
EXTERNAL_PDF_FILE
public static final FileItemType EXTERNAL_PDF_FILE
External PDF file.
-
EXTERNAL_URL
public static final FileItemType EXTERNAL_URL
External url.
-
QUERY
public static final FileItemType QUERY
Query.
-
REPORT_TEMPLATE
public static final FileItemType REPORT_TEMPLATE
Report template.
-
REPORT
public static final FileItemType REPORT
Report.
-
TIME_SERIES
public static final FileItemType TIME_SERIES
A time series.
-
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.
-
TRASH_ITEM
public static final FileItemType TRASH_ITEM
Trash item
-
GCUBE_ITEM
public static final FileItemType GCUBE_ITEM
A gCube item.
-
WORKFLOW_REPORT
public static final FileItemType WORKFLOW_REPORT
Workflow report.
-
-
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 nameNullPointerException- if the argument is null
-
-