neuroml.meta
Enum VolumeUnits

java.lang.Object
  extended by java.lang.Enum<VolumeUnits>
      extended by neuroml.meta.VolumeUnits
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<VolumeUnits>

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

Java class for VolumeUnits.

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

 <simpleType name="VolumeUnits">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="cubic_millimetre"/>
     <enumeration value="millilitre"/>
     <enumeration value="litre"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
CUBIC_MILLIMETRE
           
LITRE
           
MILLILITRE
           
 
Method Summary
static VolumeUnits fromValue(java.lang.String v)
           
 java.lang.String value()
           
static VolumeUnits valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static VolumeUnits[] 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

CUBIC_MILLIMETRE

public static final VolumeUnits CUBIC_MILLIMETRE

LITRE

public static final VolumeUnits LITRE

MILLILITRE

public static final VolumeUnits MILLILITRE
Method Detail

values

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

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

valueOf

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


NeuroML API (v1.4)