org.spase.parser200
Enum EnumParticleType

java.lang.Object
  extended by java.lang.Enum<EnumParticleType>
      extended by org.spase.parser200.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="Atom"/>
     <enumeration value="Dust"/>
     <enumeration value="Electron"/>
     <enumeration value="Ion"/>
     <enumeration value="Molecule"/>
     <enumeration value="Neutron"/>
     <enumeration value="Proton"/>
   </restriction>
 </simpleType>
 


Enum Constant Summary
AEROSOL
          A suspension of fine solid or liquid particles in a gas.
ALPHA_PARTICLE
          A positively charged nuclear particle that consists of two protons and two neutrons.
ATOM
          Matter consisting of a nucleus surrounded by electrons which has no net charge.
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
NEUTRON
          An elementary particle that has no net charge and is a constituent of atomic nuclei, and that has a mass slightly large than a proton (1.673 x 10^(-24) gram.)
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 a gas.


ALPHA_PARTICLE

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


ATOM

public static final EnumParticleType ATOM
Matter consisting of a nucleus surrounded by electrons which has no net charge.


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


NEUTRON

public static final EnumParticleType NEUTRON
An elementary particle that has no net charge and is a constituent of atomic nuclei, and that has a mass slightly large than a proton (1.673 x 10^(-24) gram.)


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)