|
|||||||||
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 | |
---|---|
protected XPHashtable |
m_hashtable
The underlying hashtable object. |
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. |
void |
SetData(java.lang.String _strKey,
java.lang.String _strValue)
Sets a name value pair on the hashtable. |
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
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 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 XPHashtable GetHashTable()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |