Enum OPERATION_ON_ITEM
- java.lang.Object
-
- java.lang.Enum<OPERATION_ON_ITEM>
-
- org.gcube.application.geoportalcommon.shared.config.OPERATION_ON_ITEM
-
- All Implemented Interfaces:
Serializable,Comparable<OPERATION_ON_ITEM>
public enum OPERATION_ON_ITEM extends Enum<OPERATION_ON_ITEM>
The Enum OPERATION_ON_ITEM.- Author:
- Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it Sep 13, 2022
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLONE_PROJECTCREATE_NEW_PROJECTCREATE_RELATIONDELETE_PROJECTEDIT_PROJECTPUBLISH_UNPUBLISH_PROJECTVIEW_ON_MAPVIEW_PROJECT_AS_DOCUMENTVIEW_PROJECT_AS_JSONVIEW_RELATIONSHIPSVIEW_REPORT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetLabel()Gets the label.static OPERATION_ON_ITEMvalueOf(String name)Returns the enum constant of this type with the specified name.static OPERATION_ON_ITEM[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE_NEW_PROJECT
public static final OPERATION_ON_ITEM CREATE_NEW_PROJECT
-
VIEW_PROJECT_AS_DOCUMENT
public static final OPERATION_ON_ITEM VIEW_PROJECT_AS_DOCUMENT
-
VIEW_PROJECT_AS_JSON
public static final OPERATION_ON_ITEM VIEW_PROJECT_AS_JSON
-
VIEW_ON_MAP
public static final OPERATION_ON_ITEM VIEW_ON_MAP
-
VIEW_REPORT
public static final OPERATION_ON_ITEM VIEW_REPORT
-
EDIT_PROJECT
public static final OPERATION_ON_ITEM EDIT_PROJECT
-
CLONE_PROJECT
public static final OPERATION_ON_ITEM CLONE_PROJECT
-
PUBLISH_UNPUBLISH_PROJECT
public static final OPERATION_ON_ITEM PUBLISH_UNPUBLISH_PROJECT
-
DELETE_PROJECT
public static final OPERATION_ON_ITEM DELETE_PROJECT
-
CREATE_RELATION
public static final OPERATION_ON_ITEM CREATE_RELATION
-
VIEW_RELATIONSHIPS
public static final OPERATION_ON_ITEM VIEW_RELATIONSHIPS
-
-
Method Detail
-
values
public static OPERATION_ON_ITEM[] 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 (OPERATION_ON_ITEM c : OPERATION_ON_ITEM.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OPERATION_ON_ITEM 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
-
getLabel
public String getLabel()
Gets the label.- Returns:
- the label
-
-