public class StrolchEnum extends Object
| Constructor and Description |
|---|
StrolchEnum() |
StrolchEnum(String name,
Locale locale,
Map<String,EnumValue> values) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getEnumValueIds() |
List<String> |
getEnumValues() |
String |
getLocale() |
Locale |
getLocaleL() |
String |
getName() |
String |
getValue(String id)
Returns the actual value for the given id
|
Collection<EnumValue> |
getValues() |
void |
setLocale(String locale) |
void |
setLocaleL(Locale localeL) |
void |
setName(String name) |
void |
setValues(Collection<EnumValue> values) |
public String getName()
public void setName(String name)
name - the name to setpublic String getLocale()
public void setLocale(String locale)
locale - the locale to setpublic Locale getLocaleL()
public void setLocaleL(Locale localeL)
localeL - the localeL to setpublic Collection<EnumValue> getValues()
public void setValues(Collection<EnumValue> values)
values - the values to setpublic List<String> getEnumValueIds()
EnumValue.getId()public List<String> getEnumValues()
EnumValue.getValue()Copyright © 2011–2016 Strolch. All rights reserved.