Enum ResourceTypeGeneral
- java.lang.Object
-
- java.lang.Enum<ResourceTypeGeneral>
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.reference.datacite.xml.types.ResourceTypeGeneral
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ResourceTypeGeneral>
public enum ResourceTypeGeneral extends java.lang.Enum<ResourceTypeGeneral>
The general type of a resource.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AudiovisualConstant AUDIOVISUALCollectionConstant COLLECTIONDatasetConstant DATASETEventConstant EVENTImageConstant IMAGEInteractiveResourceConstant INTERACTIVERESOURCEModelConstant MODELOtherConstant OTHERPhysicalObjectConstant PHYSICALOBJECTServiceConstant SERVICESoftwareConstant SOFTWARESoundConstant SOUNDTextConstant TEXTWorkflowConstant WORKFLOW
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResourceTypeGeneralfromValue(java.lang.String value)Method fromValue.voidsetValue(java.lang.String value)java.lang.StringtoString()Method toString.java.lang.Stringvalue()Method value.static ResourceTypeGeneralvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ResourceTypeGeneral[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Audiovisual
public static final ResourceTypeGeneral Audiovisual
Constant AUDIOVISUAL
-
Collection
public static final ResourceTypeGeneral Collection
Constant COLLECTION
-
Dataset
public static final ResourceTypeGeneral Dataset
Constant DATASET
-
Event
public static final ResourceTypeGeneral Event
Constant EVENT
-
Image
public static final ResourceTypeGeneral Image
Constant IMAGE
-
InteractiveResource
public static final ResourceTypeGeneral InteractiveResource
Constant INTERACTIVERESOURCE
-
Model
public static final ResourceTypeGeneral Model
Constant MODEL
-
Other
public static final ResourceTypeGeneral Other
Constant OTHER
-
PhysicalObject
public static final ResourceTypeGeneral PhysicalObject
Constant PHYSICALOBJECT
-
Service
public static final ResourceTypeGeneral Service
Constant SERVICE
-
Software
public static final ResourceTypeGeneral Software
Constant SOFTWARE
-
Sound
public static final ResourceTypeGeneral Sound
Constant SOUND
-
Text
public static final ResourceTypeGeneral Text
Constant TEXT
-
Workflow
public static final ResourceTypeGeneral Workflow
Constant WORKFLOW
-
-
Method Detail
-
values
public static ResourceTypeGeneral[] 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 (ResourceTypeGeneral c : ResourceTypeGeneral.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourceTypeGeneral valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
fromValue
public static ResourceTypeGeneral fromValue(java.lang.String value)
Method fromValue.- Parameters:
value- the value for the resource type- Returns:
- the constant for this value
-
setValue
public void setValue(java.lang.String value)
- Parameters:
value- the value to set
-
toString
public java.lang.String toString()
Method toString.- Overrides:
toStringin classjava.lang.Enum<ResourceTypeGeneral>- Returns:
- the value of this constant
-
value
public java.lang.String value()
Method value.- Returns:
- the value of this constant
-
-