Enum DepositionMetadata.UploadType
- java.lang.Object
-
- java.lang.Enum<DepositionMetadata.UploadType>
-
- org.gcube.data.publishing.ckan2zenodo.model.zenodo.DepositionMetadata.UploadType
-
- All Implemented Interfaces:
Serializable,Comparable<DepositionMetadata.UploadType>
- Enclosing class:
- DepositionMetadata
public static enum DepositionMetadata.UploadType extends Enum<DepositionMetadata.UploadType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description datasetimagelessonotherposterpresentationpublicationsoftwarevideo
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DepositionMetadata.UploadTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DepositionMetadata.UploadType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
publication
public static final DepositionMetadata.UploadType publication
-
poster
public static final DepositionMetadata.UploadType poster
-
presentation
public static final DepositionMetadata.UploadType presentation
-
dataset
public static final DepositionMetadata.UploadType dataset
-
image
public static final DepositionMetadata.UploadType image
-
video
public static final DepositionMetadata.UploadType video
-
software
public static final DepositionMetadata.UploadType software
-
lesson
public static final DepositionMetadata.UploadType lesson
-
other
public static final DepositionMetadata.UploadType other
-
-
Method Detail
-
values
public static DepositionMetadata.UploadType[] 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.UploadType c : DepositionMetadata.UploadType.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.UploadType 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
-
-