| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.sourceforge.espro.model.AbstractModel
org.sourceforge.espro.model.ItemData
public class ItemData
This represents Data for one Item, for one elicitation.
| Field Summary | 
|---|
| Fields inherited from class org.sourceforge.espro.model.AbstractModel | 
|---|
| pcs | 
| Constructor Summary | |
|---|---|
| ItemData()Creates a new instance of ItemData | |
| ItemData(Item i)Creates a new ItemData object with the given Item. | |
| Method Summary | |
|---|---|
|  void | dataFromItem(Item i)Reads the given Item and loads the data from it. | 
|  java.lang.Object | get(java.lang.String key)Returns a data object from the given key. | 
|  java.util.HashMap<java.lang.String,java.lang.Object> | getData()Returns the Data | 
|  java.lang.reflect.Method | getGetter(java.lang.reflect.Field f,
          ElicitationMethod method)Returns the getter for the field. | 
|  void | setData(java.util.HashMap<java.lang.String,java.lang.Object> data)Sets the data | 
| Methods inherited from class org.sourceforge.espro.model.AbstractModel | 
|---|
| addPropertyChangeListener, addPropertyChangeListener, isSaved, removePropertyChangeListener, setSaved | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ItemData()
public ItemData(Item i)
i - The Item.| Method Detail | 
|---|
public void dataFromItem(Item i)
i - The Itempublic java.lang.Object get(java.lang.String key)
key - The key.
public java.util.HashMap<java.lang.String,java.lang.Object> getData()
public java.lang.reflect.Method getGetter(java.lang.reflect.Field f,
                                          ElicitationMethod method)
f - The field.method - The ElicitationMethod.
public void setData(java.util.HashMap<java.lang.String,java.lang.Object> data)
data - The data| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||