org.irig106.chapter10.packets
Enum TimePacket_Format1.TimeSource

java.lang.Object
  extended by java.lang.Enum<TimePacket_Format1.TimeSource>
      extended by org.irig106.chapter10.packets.TimePacket_Format1.TimeSource
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TimePacket_Format1.TimeSource>
Enclosing class:
TimePacket_Format1

public static enum TimePacket_Format1.TimeSource
extends java.lang.Enum<TimePacket_Format1.TimeSource>

Time Source Definitions (Time Data Packet, Format 1)

All IRIG-106 Chapter 10 Time Source Definitions for Time Data Packets (Format1). Contains the ID, Name, and Description for each definiton.


Enum Constant Summary
External
           
Internal
           
InternalRMM
           
None
           
 
Method Summary
 java.lang.String getDescription()
           
 int getID()
           
 java.lang.String getName()
           
static TimePacket_Format1.TimeSource valueOf(int id)
           
static TimePacket_Format1.TimeSource valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TimePacket_Format1.TimeSource[] 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

Internal

public static final TimePacket_Format1.TimeSource Internal

External

public static final TimePacket_Format1.TimeSource External

InternalRMM

public static final TimePacket_Format1.TimeSource InternalRMM

None

public static final TimePacket_Format1.TimeSource None
Method Detail

values

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

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

valueOf

public static TimePacket_Format1.TimeSource 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

valueOf

public static TimePacket_Format1.TimeSource valueOf(int id)

getID

public int getID()

getName

public java.lang.String getName()

getDescription

public java.lang.String getDescription()