|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<BooleanLangEnum>
pl.slawas.entities.BooleanLangEnum
public enum BooleanLangEnum
BooleanLangEnum - reprezentacje wartosci logicznych w zalezności od kodu jeżyka, albo użycia.
Enum Constant Summary | |
---|---|
ENGLISH
Reprezentacja wartości logicznych po angielsku |
|
INTEGER
Reprezentacja wartości logicznych jako liczby |
|
LOGIC
Reprezentacja wartości logicznych |
|
POLISH
Reprezentacja wartości logicznych po polsku |
Method Summary | |
---|---|
static BooleanLangEnum |
getByLangCode(java.lang.String code)
Pobieranie reprezentacji wartosci logicznych na podstawie ich kodu językowego. |
java.lang.String |
getDescriptionOfUnknown()
|
java.lang.String |
getLangCode()
|
static java.lang.String[] |
getLangCodes()
Pobieranie listy dostępnych kodów językowych reprezentacji logicznych |
java.lang.String |
getNo()
|
java.lang.String |
getUnknown()
|
java.lang.String |
getYes()
|
boolean |
parse(java.lang.String value)
Parsowanie do wartości logicznej |
static BooleanLangEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BooleanLangEnum[] |
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, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final BooleanLangEnum ENGLISH
public static final BooleanLangEnum POLISH
public static final BooleanLangEnum LOGIC
public static final BooleanLangEnum INTEGER
Method Detail |
---|
public static BooleanLangEnum[] values()
for (BooleanLangEnum c : BooleanLangEnum.values()) System.out.println(c);
public static BooleanLangEnum 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 name
java.lang.NullPointerException
- if the argument is nullpublic static BooleanLangEnum getByLangCode(java.lang.String code)
getLangCodes()
code
- kod reprezentacji wartości logicznych
public static java.lang.String[] getLangCodes()
public boolean parse(java.lang.String value)
value
- wartość podstawowa
yes
to zwrócona będzie wartość
true
, w przeciwnym wypadku bedzie zwracana wartość false
public java.lang.String getNo()
public java.lang.String getUnknown()
public java.lang.String getDescriptionOfUnknown()
public java.lang.String getYes()
public java.lang.String getLangCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |