|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Codelist
Interface to be implemented by java enums which represent codelists. This interface is inspired by a concept for a central maintenance and management of codelists. These are deployed to software components for pure offline use. According to the concept, the enums implementing this interface are generated by a java code generator. For a convenient implementation of the described functionality use the CodelistUtility class in this package. Since the extensibility of enum types is not supported by the language construct, the functional implementation is provided in the CodelistUtility class.
Method Summary | |
---|---|
int |
getID()
Getter for the globally unique ID of the code. |
int |
getIntCode()
Getter for the intCode of the code. |
String |
getLongText(Locale lang)
Getter for the long textual description of the code in a given language. |
String |
getShortText(Locale lang)
Getter for the short textual description of the code in a given language. |
Methods inherited from interface ch.elca.el4j.util.codingsupport.SerializableEnum |
---|
getValue |
Method Detail |
---|
int getID()
int getIntCode()
String getShortText(Locale lang)
lang
- Java Locale of the desired language for the returned text
String getLongText(Locale lang)
lang
- Java Locale of the desired language for the returned text
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |