Enum DepositionMetadata.ImageType
- java.lang.Object
-
- java.lang.Enum<DepositionMetadata.ImageType>
-
- org.gcube.data.publishing.ckan2zenodo.model.zenodo.DepositionMetadata.ImageType
-
- All Implemented Interfaces:
Serializable,Comparable<DepositionMetadata.ImageType>
- Enclosing class:
- DepositionMetadata
public static enum DepositionMetadata.ImageType extends Enum<DepositionMetadata.ImageType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DepositionMetadata.ImageTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DepositionMetadata.ImageType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
figure
public static final DepositionMetadata.ImageType figure
-
plot
public static final DepositionMetadata.ImageType plot
-
drawing
public static final DepositionMetadata.ImageType drawing
-
diagram
public static final DepositionMetadata.ImageType diagram
-
photo
public static final DepositionMetadata.ImageType photo
-
other
public static final DepositionMetadata.ImageType other
-
-
Method Detail
-
values
public static DepositionMetadata.ImageType[] 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 (DepositionMetadata.ImageType c : DepositionMetadata.ImageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DepositionMetadata.ImageType 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
-
-