Enum Rate.Period
- java.lang.Object
-
- java.lang.Enum<Rate.Period>
-
- com.ellucian.generated.eedm.room_rates.v10_0.Rate.Period
-
- All Implemented Interfaces:
Serializable
,Comparable<Rate.Period>
- Enclosing class:
- Rate
@Generated("jsonschema2pojo") public static enum Rate.Period extends Enum<Rate.Period>
PeriodThe interval for which rate is defined.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Rate.Period
fromValue(String value)
String
toString()
String
value()
static Rate.Period
valueOf(String name)
Returns the enum constant of this type with the specified name.static Rate.Period[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DAY
public static final Rate.Period DAY
-
WEEK
public static final Rate.Period WEEK
-
MONTH
public static final Rate.Period MONTH
-
TERM
public static final Rate.Period TERM
-
YEAR
public static final Rate.Period YEAR
-
-
Field Detail
-
value
private final String value
-
CONSTANTS
private static final Map<String,Rate.Period> CONSTANTS
-
-
Constructor Detail
-
Period
private Period(String value)
-
-
Method Detail
-
values
public static Rate.Period[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Rate.Period c : Rate.Period.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Rate.Period valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<Rate.Period>
-
value
public String value()
-
fromValue
public static Rate.Period fromValue(String value)
-
-