org.archiviststoolkit.structure.MODS
Enum ResourceType

java.lang.Object
  extended by java.lang.Enum<ResourceType>
      extended by org.archiviststoolkit.structure.MODS.ResourceType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ResourceType>

public enum ResourceType
extends java.lang.Enum<ResourceType>

Java class for resourceType.

The following schema fragment specifies the expected content contained within this class.

 <simpleType name="resourceType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="text"/>
     <enumeration value="cartographic"/>
     <enumeration value="notated music"/>
     <enumeration value="sound recording-musical"/>
     <enumeration value="sound recording-nonmusical"/>
     <enumeration value="sound recording"/>
     <enumeration value="still image"/>
     <enumeration value="moving image"/>
     <enumeration value="three dimensional object"/>
     <enumeration value="software, multimedia"/>
     <enumeration value="mixed material"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
CARTOGRAPHIC
           
MIXED_MATERIAL
           
MOVING_IMAGE
           
NOTATED_MUSIC
           
SOFTWARE_MULTIMEDIA
           
SOUND_RECORDING
           
SOUND_RECORDING_MUSICAL
           
SOUND_RECORDING_NONMUSICAL
           
STILL_IMAGE
           
TEXT
           
THREE_DIMENSIONAL_OBJECT
           
 
Method Summary
static ResourceType fromValue(java.lang.String v)
           
 java.lang.String value()
           
static ResourceType valueOf(java.lang.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're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CARTOGRAPHIC

public static final ResourceType CARTOGRAPHIC

MIXED_MATERIAL

public static final ResourceType MIXED_MATERIAL

MOVING_IMAGE

public static final ResourceType MOVING_IMAGE

NOTATED_MUSIC

public static final ResourceType NOTATED_MUSIC

SOFTWARE_MULTIMEDIA

public static final ResourceType SOFTWARE_MULTIMEDIA

SOUND_RECORDING

public static final ResourceType SOUND_RECORDING

SOUND_RECORDING_MUSICAL

public static final ResourceType SOUND_RECORDING_MUSICAL

SOUND_RECORDING_NONMUSICAL

public static final ResourceType SOUND_RECORDING_NONMUSICAL

STILL_IMAGE

public static final ResourceType STILL_IMAGE

TEXT

public static final ResourceType TEXT

THREE_DIMENSIONAL_OBJECT

public static final ResourceType THREE_DIMENSIONAL_OBJECT
Method Detail

values

public static final ResourceType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ResourceType c : ResourceType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static ResourceType 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 name

value

public java.lang.String value()

fromValue

public static ResourceType fromValue(java.lang.String v)