public enum ResourceType extends Enum<ResourceType>
| Enum Constant and Description |
|---|
Audiovisual
Constant AUDIOVISUAL
|
Collection
Constant COLLECTION
|
Dataset
Constant DATASET
|
Event
Constant EVENT
|
Image
Constant IMAGE
|
InteractiveResource
Constant INTERACTIVERESOURCE
|
Model
Constant MODEL
|
Other
Constant OTHER
|
PhysicalObject
Constant PHYSICALOBJECT
|
Service
Constant SERVICE
|
Software
Constant SOFTWARE
|
Sound
Constant SOUND
|
Text
Constant TEXT
|
Workflow
Constant WORKFLOW
|
| Modifier and Type | Method and Description |
|---|---|
static ResourceType |
fromValue(String value)
Method fromValue.
|
void |
setValue(String value) |
String |
toString()
Method toString.
|
String |
value()
Method value.
|
static ResourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceType Audiovisual
public static final ResourceType Collection
public static final ResourceType Dataset
public static final ResourceType Event
public static final ResourceType Image
public static final ResourceType InteractiveResource
public static final ResourceType Model
public static final ResourceType Other
public static final ResourceType PhysicalObject
public static final ResourceType Service
public static final ResourceType Software
public static final ResourceType Sound
public static final ResourceType Text
public static final ResourceType Workflow
public static ResourceType[] values()
for (ResourceType c : ResourceType.values()) System.out.println(c);
public static ResourceType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic static ResourceType fromValue(String value)
value - public void setValue(String value)
value - public String toString()
toString in class Enum<ResourceType>public String value()
Copyright © 2015 Leibniz Institute of Plant Genetics and Crop Plant Research (IPK). All rights reserved.