[Minor] Added StrolchEnum.hasValue()

This commit is contained in:
Robert von Burg 2019-05-30 15:34:09 +02:00
parent 66121d4f0f
commit 14f6fb47b6
1 changed files with 4 additions and 0 deletions

View File

@ -68,6 +68,10 @@ public class StrolchEnum {
this.localeL = localeL;
}
public boolean hasValue(String id) {
return this.values.containsKey(id);
}
public String getValue(String id) {
return this.values.get(id);
}