public enum PeriodUnitEnumeration extends Enum<PeriodUnitEnumeration>
Java class for PeriodUnitEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="PeriodUnitEnumeration">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Daily"/>
<enumeration value="Weekly"/>
<enumeration value="Monthly"/>
<enumeration value="Annual"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ANNUAL
The year is the unit of the period.
|
DAILY
The day is the unit of the period.
|
MONTHLY
The month is the unit of the period.
|
WEEKLY
The week is the unit of the period.
|
| Modifier and Type | Method and Description |
|---|---|
static PeriodUnitEnumeration |
fromValue(String v) |
String |
value() |
static PeriodUnitEnumeration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PeriodUnitEnumeration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PeriodUnitEnumeration DAILY
public static final PeriodUnitEnumeration WEEKLY
public static final PeriodUnitEnumeration MONTHLY
public static final PeriodUnitEnumeration ANNUAL
public static PeriodUnitEnumeration[] values()
for (PeriodUnitEnumeration c : PeriodUnitEnumeration.values()) System.out.println(c);
public static PeriodUnitEnumeration 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 value()
public static PeriodUnitEnumeration fromValue(String v)
Copyright © 2018. All rights reserved.