Enum TargetAppGeoportalCodes
- java.lang.Object
-
- java.lang.Enum<TargetAppGeoportalCodes>
-
- org.gcube.datatransfer.resolver.geoportal.TargetAppGeoportalCodes
-
- All Implemented Interfaces:
Serializable,Comparable<TargetAppGeoportalCodes>
public enum TargetAppGeoportalCodes extends Enum<TargetAppGeoportalCodes>
The Enum TargetAppGeoportalCodes.- Author:
- Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it Mar 24, 2023
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static List<String>codes()Codes.StringgetDescription()Gets the description.StringgetId()Gets the id.StringgetTarget_app()Gets the target app.static TargetAppGeoportalCodesvalueOf(String name)Returns the enum constant of this type with the specified name.static TargetAppGeoportalCodesvalueOfId(String id)Value of id.static TargetAppGeoportalCodesvalueOfName(String name)Value of name.static TargetAppGeoportalCodes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GEO_DV
public static final TargetAppGeoportalCodes GEO_DV
-
GEO_DE
public static final TargetAppGeoportalCodes GEO_DE
-
-
Method Detail
-
values
public static TargetAppGeoportalCodes[] 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 (TargetAppGeoportalCodes c : TargetAppGeoportalCodes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TargetAppGeoportalCodes 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
-
getId
public String getId()
Gets the id.- Returns:
- the id
-
getTarget_app
public String getTarget_app()
Gets the target app.- Returns:
- the target app
-
getDescription
public String getDescription()
Gets the description.- Returns:
- the description
-
valueOfId
public static TargetAppGeoportalCodes valueOfId(String id)
Value of id.- Parameters:
id- the id- Returns:
- the target app geoportal codes
-
valueOfName
public static TargetAppGeoportalCodes valueOfName(String name)
Value of name.- Parameters:
name- the name- Returns:
- the target app geoportal codes
-
-