org.spase.parser122
Enum EnumParticleType

java.lang.Object
  extended by java.lang.Enum<EnumParticleType>
      extended by org.spase.parser122.EnumParticleType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EnumParticleType>

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

Java class for enumParticleType.

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

 <simpleType name="enumParticleType">
   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     <enumeration value="Aerosol"/>
     <enumeration value="AlphaParticle"/>
     <enumeration value="Dust"/>
     <enumeration value="Electron"/>
     <enumeration value="Ion"/>
     <enumeration value="Molecule"/>
     <enumeration value="Neutral"/>
     <enumeration value="Proton"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
AEROSOL
          A suspension of fine solid or liquid particles in gas.
ALPHA_PARTICLE
          A positively charged nuclear particle that consists of two protons and two neutrons.
DUST
          Free microscopic particles of solid material.
ELECTRON
          An elementary particle consisting of a charge of negative electricity equal to about 1.602 x 10**(-19) Coulomb and having a mass when at rest of about 9.109534 x 10**(-28) gram.
ION
          An atom that has acquired a net electric charge by gaining or losing one or more electrons.(Note: Z>2)
MOLECULE
          A group of atoms so united and combined by chemical affinity that they form a complete, integrated whole, being the smallest portion of any particular compound that can exist in a free state
NEUTRAL
          Either a particle, an object, or a system that has a net electric charge of zero
PROTON
          An elementary particle that is a constituent of all atomic nuclei, that carries a positive charge numerically equal to the charge of an electron, and that has a mass of 1.673 x 10**(-24) gram.
 
Method Summary
static EnumParticleType fromValue(java.lang.String v)
           
 java.lang.String value()
           
static EnumParticleType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EnumParticleType[] 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

AEROSOL

public static final EnumParticleType AEROSOL
A suspension of fine solid or liquid particles in gas.


ALPHA_PARTICLE

public static final EnumParticleType ALPHA_PARTICLE
A positively charged nuclear particle that consists of two protons and two neutrons.


DUST

public static final EnumParticleType DUST
Free microscopic particles of solid material.


ELECTRON

public static final EnumParticleType ELECTRON
An elementary particle consisting of a charge of negative electricity equal to about 1.602 x 10**(-19) Coulomb and having a mass when at rest of about 9.109534 x 10**(-28) gram.


ION

public static final EnumParticleType ION
An atom that has acquired a net electric charge by gaining or losing one or more electrons.(Note: Z>2)


MOLECULE

public static final EnumParticleType MOLECULE
A group of atoms so united and combined by chemical affinity that they form a complete, integrated whole, being the smallest portion of any particular compound that can exist in a free state


NEUTRAL

public static final EnumParticleType NEUTRAL
Either a particle, an object, or a system that has a net electric charge of zero


PROTON

public static final EnumParticleType PROTON
An elementary particle that is a constituent of all atomic nuclei, that carries a positive charge numerically equal to the charge of an electron, and that has a mass of 1.673 x 10**(-24) gram.

Method Detail

values

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

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

valueOf

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