|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.eismocker.rmidriver.DataMap
public class DataMap
A class which defines the data structure in the EIS Mocker.
Constructor Summary | |
---|---|
DataMap(java.lang.String name)
Constructor for the top level DataMap. |
Method Summary | |
---|---|
DataMap |
createDataMap(java.lang.String key,
boolean isMany)
Create one empty child DataMap according to the specified attribute key, and then return the created DataMap. |
java.lang.Object |
get(java.lang.String key)
Get the attribute value according to the specified attribute key. |
DataMap |
getDataMap(java.lang.String key)
Get the child DataMap according to the specified attribute key. |
java.util.List<DataMap> |
getList(java.lang.String key)
Get the child DataMap list according to the specified attribute key. |
java.lang.String |
getName()
Get the name of the DataMap. |
java.util.Set<java.lang.String> |
keySet()
Get the keySet of the DataMap. |
void |
set(java.lang.String key,
java.lang.Object value)
Set the attribute value. |
void |
setName(java.lang.String name)
Set the name of the DataMap. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataMap(java.lang.String name)
name
- The name of the DataMap.Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name of the DataMap.public java.lang.Object get(java.lang.String key)
key
- The attribute key.
public void set(java.lang.String key, java.lang.Object value)
key
- The attribute key.value
- The attribute value.public java.util.List<DataMap> getList(java.lang.String key)
key
- The attribute key.
public DataMap getDataMap(java.lang.String key)
key
- The attribute key.
public java.util.Set<java.lang.String> keySet()
public DataMap createDataMap(java.lang.String key, boolean isMany)
key
- The attribute key.isMany
- Specify if the child DataMap is N-Cardinality or 1-Cardinality relationship.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |