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>
,java.lang.constant.Constable
public enum ResourceTypeGeneral extends java.lang.Enum<ResourceTypeGeneral>
The general type of a resource.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Audiovisual
Constant AUDIOVISUALCollection
Constant COLLECTIONDataset
Constant DATASETEvent
Constant EVENTImage
Constant IMAGEInteractiveResource
Constant INTERACTIVERESOURCEModel
Constant MODELOther
Constant OTHERPhysicalObject
Constant PHYSICALOBJECTService
Constant SERVICESoftware
Constant SOFTWARESound
Constant SOUNDText
Constant TEXTWorkflow
Constant WORKFLOW
-
Method Summary
Modifier and Type Method Description static ResourceTypeGeneral
fromValue(java.lang.String value)
Method fromValue.void
setValue(java.lang.String value)
java.lang.String
toString()
Method toString.java.lang.String
value()
Method value.static ResourceTypeGeneral
valueOf(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.- 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:
toString
in classjava.lang.Enum<ResourceTypeGeneral>
- Returns:
- the value of this constant
-
value
public java.lang.String value()
Method value.- Returns:
- the value of this constant
-
-