public enum PPaymentModeEnum extends Enum<PPaymentModeEnum>
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCode() |
static PPaymentModeEnum |
getEnumByCode(Integer code) |
String |
getName() |
void |
setCode(Integer code) |
void |
setName(String name) |
static PPaymentModeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PPaymentModeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PPaymentModeEnum LOCAL
public static final PPaymentModeEnum CLIENT
public static final PPaymentModeEnum SERVER
public static PPaymentModeEnum[] values()
for (PPaymentModeEnum c : PPaymentModeEnum.values()) System.out.println(c);
public static PPaymentModeEnum 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 Integer getCode()
public void setCode(Integer code)
public String getName()
public void setName(String name)
public static PPaymentModeEnum getEnumByCode(Integer code)
Copyright © 2018. All rights reserved.