public enum PeriodTypes extends Enum<PeriodTypes>
| Enum Constant and Description |
|---|
DAY
Day.
|
MONTH
Month.
|
PLANNING
Planning.
|
WEEK
Week.
|
| Modifier and Type | Method and Description |
|---|---|
static PeriodTypes |
fromName(String name)
Get period from his name.
|
int |
getField()
Getter for field.
|
String |
getInternationalizationKey()
Getter for internationalizationKey.
|
String |
getName()
Getter for name.
|
String |
getViewPath()
Getter for viewPath.
|
boolean |
isCompactable()
Getter for compactable.
|
static PeriodTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PeriodTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PeriodTypes DAY
public static final PeriodTypes WEEK
public static final PeriodTypes MONTH
public static final PeriodTypes PLANNING
public static PeriodTypes[] values()
for (PeriodTypes c : PeriodTypes.values()) System.out.println(c);
public static PeriodTypes 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 PeriodTypes fromName(String name)
name - period namepublic String getName()
public String getInternationalizationKey()
public int getField()
public String getViewPath()
public boolean isCompactable()
Copyright © 2016 OSIVIA. All rights reserved.