copyright The Portico Project 2008.

org.portico.shared.model
Enum MOMHelper.Federation

java.lang.Object
  extended by java.lang.Enum<MOMHelper.Federation>
      extended by org.portico.shared.model.MOMHelper.Federation
All Implemented Interfaces:
Serializable, Comparable<MOMHelper.Federation>
Enclosing class:
MOMHelper

public static enum MOMHelper.Federation
extends Enum<MOMHelper.Federation>

Same solution as for Federate above, see that comment for my thoughts


Enum Constant Summary
AutoProvide
           
ConveyRegionDesignatorSets
           
FederatesInFederation
           
FederationName
           
FedID
           
LastSaveName
           
LastSaveTime
           
NextSaveName
           
NextSaveTime
           
RtiVersion
           
 
Field Summary
 int handle
           
 
Method Summary
static MOMHelper.Federation forHandle(int handle)
          Find the attribute for the given handle.
static MOMHelper.Federation valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MOMHelper.Federation[] 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

FederationName

public static final MOMHelper.Federation FederationName

FederatesInFederation

public static final MOMHelper.Federation FederatesInFederation

RtiVersion

public static final MOMHelper.Federation RtiVersion

FedID

public static final MOMHelper.Federation FedID

LastSaveName

public static final MOMHelper.Federation LastSaveName

LastSaveTime

public static final MOMHelper.Federation LastSaveTime

NextSaveName

public static final MOMHelper.Federation NextSaveName

NextSaveTime

public static final MOMHelper.Federation NextSaveTime

AutoProvide

public static final MOMHelper.Federation AutoProvide

ConveyRegionDesignatorSets

public static final MOMHelper.Federation ConveyRegionDesignatorSets
Field Detail

handle

public final int handle
Method Detail

values

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

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

valueOf

public static MOMHelper.Federation 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

forHandle

public static MOMHelper.Federation forHandle(int handle)
                                      throws JAttributeNotDefined
Find the attribute for the given handle. If no value can be found for that handle, an exception is thrown.

Throws:
JAttributeNotDefined

copyright The Portico Project 2008.