public enum E_OfferStatus extends Enum<E_OfferStatus>
Enum Constant and Description |
---|
CHANGED
Offer was modified and required review and acceptance.
|
DISABLED
Offer is disabled.
|
NEW
Offer is new and requires validation and acceptance.
|
VALIDATED
Offer is validated and visible to everyone.
|
Modifier and Type | Method and Description |
---|---|
static E_OfferStatus |
findByValue(int val)
Find by value.
|
int |
getIntValue()
Gets the int value.
|
String |
getMsgProperty()
Gets the msg property.
|
static E_OfferStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static E_OfferStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final E_OfferStatus DISABLED
public static final E_OfferStatus VALIDATED
public static final E_OfferStatus NEW
public static final E_OfferStatus CHANGED
public static E_OfferStatus[] values()
for (E_OfferStatus c : E_OfferStatus.values()) System.out.println(c);
public static E_OfferStatus 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 static E_OfferStatus findByValue(int val)
val
- the valpublic int getIntValue()
public String getMsgProperty()
Copyright © 2016 Fraunhofer FOKUS. All rights reserved.