faa.tg.aircraft
Enum AcTypePrefix

java.lang.Object
  extended by java.lang.Enum<AcTypePrefix>
      extended by faa.tg.aircraft.AcTypePrefix
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AcTypePrefix>

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

Ac Type prefixes /H - Heavy /J - Super See the source AcTypePrefix.java

Version:
$Id: AcTypePrefix.java,v 1.2 2008/12/01 13:38:07 samf Exp $
Author:
Sam Fullerton, L-3 Titan

Enum Constant Summary
Heavy
           
Super
           
 
Field Summary
static java.lang.String CVS_VERSION_ID
          The CVS Version ID
private  java.lang.String name
           
private  java.lang.String prefixStr
           
 
Method Summary
static java.lang.String getIndicator(java.lang.String acType)
           
static AcTypePrefix valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AcTypePrefix[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Super

public static final AcTypePrefix Super

Heavy

public static final AcTypePrefix Heavy
Field Detail

CVS_VERSION_ID

public static final java.lang.String CVS_VERSION_ID
The CVS Version ID

See Also:
Constant Field Values

name

private java.lang.String name

prefixStr

private java.lang.String prefixStr
Method Detail

values

public static AcTypePrefix[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (AcTypePrefix c : AcTypePrefix.values())
    System.out.println(c);

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

valueOf

public static AcTypePrefix 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
java.lang.NullPointerException - if the argument is null

getIndicator

public static java.lang.String getIndicator(java.lang.String acType)