public enum EndPropagationEnum extends Enum<EndPropagationEnum>
Enum Constant and Description |
---|
BYDATE
By date.
|
BYDURATION
By duration.
|
Modifier and Type | Method and Description |
---|---|
int |
getId()
Method to get the rank in the enumeration of the type.
|
static int[] |
getIdArray()
Method to get an int table of the enum.
|
static String[] |
getNameArray()
Method to get a String table of the enum.
|
String |
toString()
Method allowing to get the type as a string.
|
static EndPropagationEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EndPropagationEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EndPropagationEnum BYDURATION
public static final EndPropagationEnum BYDATE
public static EndPropagationEnum[] values()
for (EndPropagationEnum c : EndPropagationEnum.values()) System.out.println(c);
public static EndPropagationEnum 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<EndPropagationEnum>
public int getId()
public static String[] getNameArray()
public static int[] getIdArray()
Copyright © 2022. All rights reserved.