public enum ResourceType extends Enum<ResourceType> implements ControlledVocabulary
| Enum Constant and Description |
|---|
Collection
A collection.
|
DigitalArtifact
A digital artifact, such as a digital image or video.
|
OTHER |
Person
A person.
|
PhysicalArtifact
A physical artifact.
|
Record
A historical record.
|
| Modifier and Type | Method and Description |
|---|---|
static ResourceType |
fromQNameURI(URI qname)
Get the enumeration from the QName.
|
URI |
toQNameURI()
Return the QName value for this enum.
|
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 Record
public static final ResourceType Collection
public static final ResourceType DigitalArtifact
public static final ResourceType PhysicalArtifact
public static final ResourceType Person
public static final ResourceType OTHER
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 URI toQNameURI()
toQNameURI in interface ControlledVocabularypublic static ResourceType fromQNameURI(URI qname)
qname - The qname.Copyright © 2016. All rights reserved.