|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<TargetEnum>
fr.paris.lutece.plugins.crm.util.TargetEnum
public enum TargetEnum
TargetEnum
Enum Constant Summary | |
---|---|
BLANK
|
|
PARENT
|
|
SELF
|
|
TOP
|
Method Summary | |
---|---|
int |
getId()
Get the id of the target |
static TargetEnum |
getTarget(int nId)
Get the target given an id |
String |
toString()
Get the String value of the target |
static TargetEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TargetEnum[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final TargetEnum SELF
public static final TargetEnum BLANK
public static final TargetEnum PARENT
public static final TargetEnum TOP
Method Detail |
---|
public static TargetEnum[] values()
for (TargetEnum c : TargetEnum.values()) System.out.println(c);
public static TargetEnum valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic int getId()
public String toString()
toString
in class Enum<TargetEnum>
public static TargetEnum getTarget(int nId)
nId
- the id
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |