com.empireclassic.Remote
Enum Sector.Des

java.lang.Object
  extended by java.lang.Enum<Sector.Des>
      extended by com.empireclassic.Remote.Sector.Des
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Sector.Des>
Enclosing class:
Sector

public static enum Sector.Des
extends java.lang.Enum<Sector.Des>
implements java.io.Serializable


Enum Constant Summary
AIRPORT
           
ARTILLERY
           
CAPITOL
           
DOCK
           
EXPLOSIVE
           
FORT
           
MINE
           
MOUNTAIN
           
PLANE
           
RADAR
           
RURAL
           
SANCTUARY
           
TRADE
           
UNKNOWN
           
URBAN
           
WATER
           
WATERWAY
           
 
Field Summary
static java.lang.String designations
           
static java.lang.String designationsMatcher
           
 
Method Summary
 char asChar()
           
static int count()
           
static Sector.Des fromChar(char c)
           
static Sector.Des fromInt(int i)
           
 java.lang.String getDescription()
           
 int getValue()
           
 void readObject(java.io.ObjectInputStream in)
           
static Sector.Des valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Sector.Des[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 void writeObject(java.io.ObjectOutputStream out)
           
 
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

WATER

public static final Sector.Des WATER

MOUNTAIN

public static final Sector.Des MOUNTAIN

RURAL

public static final Sector.Des RURAL

SANCTUARY

public static final Sector.Des SANCTUARY

CAPITOL

public static final Sector.Des CAPITOL

URBAN

public static final Sector.Des URBAN

FORT

public static final Sector.Des FORT

MINE

public static final Sector.Des MINE

EXPLOSIVE

public static final Sector.Des EXPLOSIVE

ARTILLERY

public static final Sector.Des ARTILLERY

DOCK

public static final Sector.Des DOCK

PLANE

public static final Sector.Des PLANE

AIRPORT

public static final Sector.Des AIRPORT

RADAR

public static final Sector.Des RADAR

WATERWAY

public static final Sector.Des WATERWAY

TRADE

public static final Sector.Des TRADE

UNKNOWN

public static final Sector.Des UNKNOWN
Field Detail

designations

public static final java.lang.String designations
See Also:
Constant Field Values

designationsMatcher

public static final java.lang.String designationsMatcher
See Also:
Constant Field Values
Method Detail

values

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

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

valueOf

public static Sector.Des 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

getValue

public int getValue()

fromInt

public static Sector.Des fromInt(int i)

fromChar

public static Sector.Des fromChar(char c)

asChar

public char asChar()

getDescription

public java.lang.String getDescription()

count

public static int count()

writeObject

public void writeObject(java.io.ObjectOutputStream out)
                 throws java.io.IOException
Throws:
java.io.IOException

readObject

public void readObject(java.io.ObjectInputStream in)
                throws java.io.IOException
Throws:
java.io.IOException