|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<WSRPVersionFromTo> lumis.service.wsrp.common.WSRPVersionFromTo
public enum WSRPVersionFromTo
Enum that holds values from ProducerVersion
to be shown in the
interface.
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 |
---|
public static final WSRPVersionFromTo Both
ProducerVersion.BOTH
public static final WSRPVersionFromTo Version1
ProducerVersion.VERSION1
public static final WSRPVersionFromTo Version2
ProducerVersion.VERSION2
Method Detail |
---|
public static WSRPVersionFromTo[] values()
for (WSRPVersionFromTo c : WSRPVersionFromTo.values()) System.out.println(c);
public static WSRPVersionFromTo valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getValue()
public String getLocalizableName()
public static WSRPVersionFromTo getFromValue(String value) throws IllegalArgumentException
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |