com.jaxfront.core.dom
Class CodeSetEntry
java.lang.Object
com.jaxfront.core.dom.CodeSetEntry
public class CodeSetEntry
- extends java.lang.Object
Constructor Summary |
CodeSetEntry()
|
CodeSetEntry(java.lang.String label,
java.util.LinkedHashMap codeSetValues)
|
CodeSetEntry(java.lang.String label,
java.util.LinkedHashMap codeSetValues,
java.util.HashMap paramValues,
java.util.HashMap helpValues)
|
Method Summary |
java.lang.String[][] |
getCodeItems()
|
java.util.LinkedHashMap |
getCodeset()
|
java.lang.String |
getEntryHelp(java.lang.String id)
|
java.lang.String |
getEntryParameter(java.lang.String id)
|
java.lang.String |
getId(java.lang.String text)
Returns the id (code) for a certain description within a codeset. |
java.lang.String[] |
getItems()
|
java.lang.String |
getLabel()
|
java.lang.String |
getText(java.lang.String id)
|
java.lang.String[] |
getTextArray(java.lang.String[] id)
Returns an array of descriptions for different id's. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_empty
public static final CodeSetEntry _empty
_emptyValues
public static final java.lang.String[][] _emptyValues
_emptyItems
public static final java.lang.String[] _emptyItems
CodeSetEntry
public CodeSetEntry()
CodeSetEntry
public CodeSetEntry(java.lang.String label,
java.util.LinkedHashMap codeSetValues)
CodeSetEntry
public CodeSetEntry(java.lang.String label,
java.util.LinkedHashMap codeSetValues,
java.util.HashMap paramValues,
java.util.HashMap helpValues)
getLabel
public java.lang.String getLabel()
getCodeset
public java.util.LinkedHashMap getCodeset()
getCodeItems
public java.lang.String[][] getCodeItems()
getText
public java.lang.String getText(java.lang.String id)
getTextArray
public java.lang.String[] getTextArray(java.lang.String[] id)
- Returns an array of descriptions for different id's.
- Parameters:
codesetName
- name of the codesetid
- id's to looking forlanguage
- current language
- Returns:
- an array of descriptions
getId
public java.lang.String getId(java.lang.String text)
- Returns the id (code) for a certain description within a codeset. Returns
null if no description has been found.
- Parameters:
codesetName
- name of the codesettext
- description to looking for
- Returns:
- an id defined for a description
getItems
public java.lang.String[] getItems()
getEntryParameter
public java.lang.String getEntryParameter(java.lang.String id)
getEntryHelp
public java.lang.String getEntryHelp(java.lang.String id)