lumis.service.wsrp.common
Enum WSRPVersionFromTo

Package class diagram package WSRPVersionFromTo
java.lang.Object
  extended by java.lang.Enum<WSRPVersionFromTo>
      extended by lumis.service.wsrp.common.WSRPVersionFromTo
All Implemented Interfaces:
Serializable, Comparable<WSRPVersionFromTo>

public enum WSRPVersionFromTo
extends Enum<WSRPVersionFromTo>

Enum that holds values from ProducerVersion to be shown in the interface.

Since:
5.5.0

Enum Constant Summary
Both
          Equivalent of ProducerVersion.BOTH
Version1
          Equivalent of ProducerVersion.VERSION1
Version2
          Equivalent of ProducerVersion.VERSION2
 
Method Summary
static WSRPVersionFromTo getFromValue(String value)
          Returns a WSRPVersionFromTo which contains the same value of value.
 String getLocalizableName()
          Returns this constant localizable string.
 String getValue()
          Returns this constant value.
static WSRPVersionFromTo valueOf(String name)
          Returns the enum constant of this type with the specified name.
static WSRPVersionFromTo[] 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

Both

public static final WSRPVersionFromTo Both
Equivalent of ProducerVersion.BOTH

Since:
5.5.0

Version1

public static final WSRPVersionFromTo Version1
Equivalent of ProducerVersion.VERSION1

Since:
5.5.0

Version2

public static final WSRPVersionFromTo Version2
Equivalent of ProducerVersion.VERSION2

Since:
5.5.0
Method Detail

values

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

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

valueOf

public static WSRPVersionFromTo 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

getValue

public String getValue()
Returns this constant value.

Returns:
The value of this constant.
Since:
5.5.0

getLocalizableName

public String getLocalizableName()
Returns this constant localizable string.

Returns:
A localizable string.
Since:
5.5.0

getFromValue

public static WSRPVersionFromTo getFromValue(String value)
                                      throws IllegalArgumentException
Returns a WSRPVersionFromTo which contains the same value of value. If there isn't such constant, a null reference is returned.

Parameters:
value - A comparison value to get a WSRPVersionFromTo from.
Returns:
A WSRPVersionFromTo or a null reference if there isn't a constant with the same value of value.
Throws:
IllegalArgumentException
Since:
5.5.0


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.