org.discotools.io.aprs
Enum AprsReportType

java.lang.Object
  extended by java.lang.Enum<AprsReportType>
      extended by org.discotools.io.aprs.AprsReportType
All Implemented Interfaces:
Serializable, Comparable<AprsReportType>

public enum AprsReportType
extends Enum<AprsReportType>


Enum Constant Summary
T_ITEM
          The 'T_ITEM' literal object.
T_MESSAGE
          The 'T_MESSAGE' literal object.
T_OBJECT
          The 'T_OBJECT' literal object.
T_POSITION
          The 'T_POSITION' literal object.
T_STATUS
          The 'T_STATUS' literal object.
T_UNKNOWN
          The 'T_UNKNOWN' literal object.
 
Field Summary
static int T_ITEM_VALUE
          The 'T_ITEM' literal value.
static int T_MESSAGE_VALUE
          The 'T_MESSAGE' literal value.
static int T_OBJECT_VALUE
          The 'T_OBJECT' literal value.
static int T_POSITION_VALUE
          The 'T_POSITION' literal value.
static int T_STATUS_VALUE
          The 'T_STATUS' literal value.
static int T_UNKNOWN_VALUE
          The 'T_UNKNOWN' literal value.
static List<AprsReportType> VALUES
          A public read-only list of all the 'APRS Report Type' enumerators.
 
Method Summary
static AprsReportType get(int value)
          Returns the 'APRS Report Type' literal with the specified integer value.
static AprsReportType get(String literal)
          Returns the 'APRS Report Type' literal with the specified literal value.
static AprsReportType getByName(String name)
          Returns the 'APRS Report Type' literal with the specified name.
 String getLiteral()
           
 String getName()
           
 int getValue()
           
 String toString()
          Returns the literal value of the enumerator, which is its string representation.
static AprsReportType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AprsReportType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

T_UNKNOWN

public static final AprsReportType T_UNKNOWN
The 'T_UNKNOWN' literal object.

See Also:
T_UNKNOWN_VALUE

T_POSITION

public static final AprsReportType T_POSITION
The 'T_POSITION' literal object.

See Also:
T_POSITION_VALUE

T_STATUS

public static final AprsReportType T_STATUS
The 'T_STATUS' literal object.

See Also:
T_STATUS_VALUE

T_MESSAGE

public static final AprsReportType T_MESSAGE
The 'T_MESSAGE' literal object.

See Also:
T_MESSAGE_VALUE

T_OBJECT

public static final AprsReportType T_OBJECT
The 'T_OBJECT' literal object.

See Also:
T_OBJECT_VALUE

T_ITEM

public static final AprsReportType T_ITEM
The 'T_ITEM' literal object.

See Also:
T_ITEM_VALUE
Field Detail

T_UNKNOWN_VALUE

public static final int T_UNKNOWN_VALUE
The 'T_UNKNOWN' literal value.

See Also:
T_UNKNOWN_VALUE, Constant Field Values

T_POSITION_VALUE

public static final int T_POSITION_VALUE
The 'T_POSITION' literal value.

See Also:
T_POSITION, Constant Field Values

T_STATUS_VALUE

public static final int T_STATUS_VALUE
The 'T_STATUS' literal value.

See Also:
T_STATUS, Constant Field Values

T_MESSAGE_VALUE

public static final int T_MESSAGE_VALUE
The 'T_MESSAGE' literal value.

See Also:
T_MESSAGE, Constant Field Values

T_OBJECT_VALUE

public static final int T_OBJECT_VALUE
The 'T_OBJECT' literal value.

See Also:
T_OBJECT, Constant Field Values

T_ITEM_VALUE

public static final int T_ITEM_VALUE
The 'T_ITEM' literal value.

See Also:
T_ITEM, Constant Field Values

VALUES

public static final List<AprsReportType> VALUES
A public read-only list of all the 'APRS Report Type' enumerators.

Method Detail

values

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

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

valueOf

public static AprsReportType valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

get

public static AprsReportType get(String literal)
Returns the 'APRS Report Type' literal with the specified literal value.


getByName

public static AprsReportType getByName(String name)
Returns the 'APRS Report Type' literal with the specified name.


get

public static AprsReportType get(int value)
Returns the 'APRS Report Type' literal with the specified integer value.


getValue

public int getValue()

getName

public String getName()

getLiteral

public String getLiteral()

toString

public String toString()
Returns the literal value of the enumerator, which is its string representation.

Overrides:
toString in class Enum<AprsReportType>


Copyright © 2012-2013 DISCO Foundation. All Rights Reserved.