|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portaluiinfrastructure.tags.data.HashtableDataObject
public class HashtableDataObject
This class is wrapper around XPHashtable that allows it to be used as a data collection in Tag memory.
Field Summary | |
---|---|
static java.lang.String |
HIERDATA_DEFAULTKEY
Default id for hierarchical data. |
protected XPHashtable |
m_hashtable
The underlying hashtable object. |
protected XPHashtable |
m_hiertable
|
Constructor Summary | |
---|---|
HashtableDataObject()
Constructor for the Hashtable wrapper data object. |
|
HashtableDataObject(XPHashtable _hashtable)
Constructor for the Hashtable wrapper data object that takes a pre-constructed hashtable. |
Method Summary | |
---|---|
java.lang.String |
GetData(java.lang.String _strKey)
Gets the data stored with a particular key. |
XPHashtable |
GetHashTable()
Get the underlying hashtable object. |
XPArrayList |
GetHierData(java.lang.String _strKey)
Gets hierarchical data |
void |
SetData(java.lang.String _strKey,
java.lang.String _strValue)
Sets a name value pair on the hashtable. |
void |
SetHierData(java.lang.String _strKey,
XPArrayList list)
Sets hierarchical data NOTE: The value is not displayable from tags, this is just used for hierarchical data tags. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final XPHashtable m_hashtable
protected XPHashtable m_hiertable
public static final java.lang.String HIERDATA_DEFAULTKEY
Constructor Detail |
---|
public HashtableDataObject(XPHashtable _hashtable)
_hashtable
- A pre-constructed hashtable.public HashtableDataObject()
Method Detail |
---|
public java.lang.String GetData(java.lang.String _strKey)
IDataObject
GetData
in interface IDataObject
_strKey
- The key for the requested data
IDataObject.GetData(String)
public XPArrayList GetHierData(java.lang.String _strKey)
IHierarchicalDataObject
GetHierData
in interface IHierarchicalDataObject
public void SetData(java.lang.String _strKey, java.lang.String _strValue)
_strKey
- The name used to store the value._strValue
- The value to be stored.public void SetHierData(java.lang.String _strKey, XPArrayList list)
SetHierData
in interface IHierarchicalDataObject
_strKey
- _strValue
- public XPHashtable GetHashTable()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |