Package org.dmg.pmml.time_series
Enum TimeCycle.Type
- java.lang.Object
-
- java.lang.Enum<TimeCycle.Type>
-
- org.dmg.pmml.time_series.TimeCycle.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TimeCycle.Type>,StringValue<TimeCycle.Type>
- Enclosing class:
- TimeCycle
public static enum TimeCycle.Type extends java.lang.Enum<TimeCycle.Type> implements StringValue<TimeCycle.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXCLUDE_FROM_TOEXCLUDE_SETINCLUDE_ALLINCLUDE_FROM_TOINCLUDE_SET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TimeCycle.TypefromValue(java.lang.String v)java.lang.StringtoString()java.lang.Stringvalue()static TimeCycle.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TimeCycle.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INCLUDE_ALL
public static final TimeCycle.Type INCLUDE_ALL
-
INCLUDE_FROM_TO
public static final TimeCycle.Type INCLUDE_FROM_TO
-
EXCLUDE_FROM_TO
public static final TimeCycle.Type EXCLUDE_FROM_TO
-
INCLUDE_SET
public static final TimeCycle.Type INCLUDE_SET
-
EXCLUDE_SET
public static final TimeCycle.Type EXCLUDE_SET
-
-
Method Detail
-
values
public static TimeCycle.Type[] 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 (TimeCycle.Type c : TimeCycle.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TimeCycle.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
value
public java.lang.String value()
- Specified by:
valuein interfaceStringValue<TimeCycle.Type>
-
fromValue
public static TimeCycle.Type fromValue(java.lang.String v)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<TimeCycle.Type>
-
-