public enum PersonLoginToIdCache extends java.lang.Enum<PersonLoginToIdCache>
| Enum Constant and Description |
|---|
INSTANCE
Single instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getIdFromCache(java.lang.String login,
PersonDao personDao)
Returns person id for person login.
|
static PersonLoginToIdCache |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PersonLoginToIdCache[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersonLoginToIdCache INSTANCE
public static PersonLoginToIdCache[] values()
for (PersonLoginToIdCache c : PersonLoginToIdCache.values()) System.out.println(c);
public static PersonLoginToIdCache valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getIdFromCache(java.lang.String login,
PersonDao personDao)
login - personDao - Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.