public static enum ToPayModel.ToPayType extends Enum<ToPayModel.ToPayType>
| Enum Constant and Description |
|---|
All
All persons have to pay an equal amount.
|
Group
ALl persons in a group have to pay an equal amount.
|
Person
One person alone has to pay the full amount.
|
| Modifier and Type | Method and Description |
|---|---|
static ToPayModel.ToPayType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ToPayModel.ToPayType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ToPayModel.ToPayType All
public static final ToPayModel.ToPayType Group
public static final ToPayModel.ToPayType Person
public static ToPayModel.ToPayType[] values()
for (ToPayModel.ToPayType c : ToPayModel.ToPayType.values()) System.out.println(c);
public static ToPayModel.ToPayType 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 nullCopyright © 2015 illucIT Software GmbH. All rights reserved.