com.jaxfront.core.dom
Class CodeSetEntry

java.lang.Object
  extended by com.jaxfront.core.dom.CodeSetEntry

public class CodeSetEntry
extends java.lang.Object


Field Summary
static CodeSetEntry _empty
           
static java.lang.String[] _emptyItems
           
static java.lang.String[][] _emptyValues
           
 
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
 

Field Detail

_empty

public static final CodeSetEntry _empty

_emptyValues

public static final java.lang.String[][] _emptyValues

_emptyItems

public static final java.lang.String[] _emptyItems
Constructor Detail

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)
Method Detail

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 codeset
id - id's to looking for
language - 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 codeset
text - 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)