com.bea.wli.jpd
Enum RosettaNet.RNIF_VERSION

java.lang.Object
  extended by java.lang.Enum<RosettaNet.RNIF_VERSION>
      extended by com.bea.wli.jpd.RosettaNet.RNIF_VERSION
All Implemented Interfaces:
Serializable, Comparable<RosettaNet.RNIF_VERSION>
Enclosing class:
RosettaNet

public static enum RosettaNet.RNIF_VERSION
extends Enum<RosettaNet.RNIF_VERSION>

This enum specifies the RN versions that are supported. This should be updated whenever we need to support new versions of RN.


Enum Constant Summary
VERSION_1_1
           
VERSION_2_0
           
 
Method Summary
static RosettaNet.RNIF_VERSION valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RosettaNet.RNIF_VERSION[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

VERSION_1_1

public static final RosettaNet.RNIF_VERSION VERSION_1_1

VERSION_2_0

public static final RosettaNet.RNIF_VERSION VERSION_2_0
Method Detail

values

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

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

valueOf

public static RosettaNet.RNIF_VERSION 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