public enum WSRPVersionFromTo extends Enum<WSRPVersionFromTo>
ProducerVersion
to be shown in the
interface.Enum Constant and Description |
---|
Both
Equivalent of
ProducerVersion.BOTH |
Version1
Equivalent of
ProducerVersion.VERSION1 |
Version2
Equivalent of
ProducerVersion.VERSION2 |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final WSRPVersionFromTo Both
ProducerVersion.BOTH
public static final WSRPVersionFromTo Version1
ProducerVersion.VERSION1
public static final WSRPVersionFromTo Version2
ProducerVersion.VERSION2
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 nameNullPointerException
- 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.value
- A comparison value to get a WSRPVersionFromTo
from.WSRPVersionFromTo
or a null reference if there isn't a
constant with the same value of value
.IllegalArgumentException
LumisXP 12.3.0.200408 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.