org.archiviststoolkit.structure.EAD
Enum AvLevel

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

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

Java class for av.level.

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

 <simpleType name="av.level">
   <restriction base="{http://www.w3.org/2001/XMLSchema}token">
     <enumeration value="class"/>
     <enumeration value="collection"/>
     <enumeration value="file"/>
     <enumeration value="fonds"/>
     <enumeration value="item"/>
     <enumeration value="otherlevel"/>
     <enumeration value="recordgrp"/>
     <enumeration value="series"/>
     <enumeration value="subfonds"/>
     <enumeration value="subgrp"/>
     <enumeration value="subseries"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
CLASS
           
COLLECTION
           
FILE
           
FONDS
           
ITEM
           
OTHERLEVEL
           
RECORDGRP
           
SERIES
           
SUBFONDS
           
SUBGRP
           
SUBSERIES
           
 
Method Summary
static AvLevel fromValue(java.lang.String v)
           
 java.lang.String value()
           
static AvLevel valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AvLevel[] 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

CLASS

public static final AvLevel CLASS

COLLECTION

public static final AvLevel COLLECTION

FILE

public static final AvLevel FILE

FONDS

public static final AvLevel FONDS

ITEM

public static final AvLevel ITEM

OTHERLEVEL

public static final AvLevel OTHERLEVEL

RECORDGRP

public static final AvLevel RECORDGRP

SERIES

public static final AvLevel SERIES

SUBFONDS

public static final AvLevel SUBFONDS

SUBGRP

public static final AvLevel SUBGRP

SUBSERIES

public static final AvLevel SUBSERIES
Method Detail

values

public static final AvLevel[] 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(AvLevel c : AvLevel.values())
        System.out.println(c);

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

valueOf

public static AvLevel 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 AvLevel fromValue(java.lang.String v)