public enum ChunkSpanType extends Enum<ChunkSpanType>
| Modifier and Type | Method and Description |
|---|---|
static ChunkSpanType |
getChunckSpanTypeFromId(String id) |
String |
getLabel() |
String |
toString() |
static ChunkSpanType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChunkSpanType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChunkSpanType Year
public static final ChunkSpanType Month
public static ChunkSpanType[] values()
for (ChunkSpanType c : ChunkSpanType.values()) System.out.println(c);
public static ChunkSpanType 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 toString()
toString in class Enum<ChunkSpanType>public String getLabel()
public static ChunkSpanType getChunckSpanTypeFromId(String id)
Copyright © 2018. All Rights Reserved.