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[] getCodeItemKeys()
           
 java.lang.String[][] getCodeItems()
           
 java.util.LinkedHashMap getCodeset()
           
 java.lang.String getEntryHelp(java.lang.String id)
           
 java.lang.String getEntryParameter(java.lang.String id)
           
 org.w3c.dom.Element getHierarchicalElement()
           
 java.lang.String getId(int pos)
          Returns the id (code) for a certain description within a codeset.
 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[][] getSelectableEntries(java.lang.String[] ids)
           
 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.
 boolean isHierarchical()
           
 void setHierarchical(org.w3c.dom.Element codeSetElement)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_empty

public static final CodeSetEntry _empty

_emptyItems

public static final java.lang.String[] _emptyItems

_emptyValues

public static final java.lang.String[][] _emptyValues
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

getCodeItemKeys

public java.lang.String[] getCodeItemKeys()

getCodeItems

public java.lang.String[][] getCodeItems()

getCodeset

public java.util.LinkedHashMap getCodeset()

getEntryHelp

public java.lang.String getEntryHelp(java.lang.String id)

getEntryParameter

public java.lang.String getEntryParameter(java.lang.String id)

getHierarchicalElement

public org.w3c.dom.Element getHierarchicalElement()

getId

public java.lang.String getId(int pos)
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
pos - postition to looking for
Returns:
an id defined for a description

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()

getLabel

public java.lang.String getLabel()

getSelectableEntries

public java.lang.String[][] getSelectableEntries(java.lang.String[] ids)

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

isHierarchical

public boolean isHierarchical()

setHierarchical

public void setHierarchical(org.w3c.dom.Element codeSetElement)