org.alembik.schema.mts.v1_0
Enum Quality

java.lang.Object
  extended by java.lang.Enum<Quality>
      extended by org.alembik.schema.mts.v1_0.Quality
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Quality>

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

Java class for Quality.

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

 <simpleType name="Quality">
   <restriction base="{http://www.w3.org/2001/XMLSchema}int">
     <enumeration value="3"/>
     <enumeration value="2"/>
     <enumeration value="1"/>
     <enumeration value="0"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
ANY
           
HIGH
           
LOW
           
MEDIUM
           
 
Method Summary
static Quality fromValue(int v)
           
 int value()
           
static Quality valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Quality[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

HIGH

public static final Quality HIGH

MEDIUM

public static final Quality MEDIUM

LOW

public static final Quality LOW

ANY

public static final Quality ANY
Method Detail

values

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

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

valueOf

public static Quality 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 int value()

fromValue

public static Quality fromValue(int v)