- Version:
- 1.00
- Author:
- Dennis Zikovic
Method Summary |
java.lang.Object |
getData(int index)
Access method that returns the indexed data object. |
java.lang.Object |
getData(java.lang.String codeName)
Access method the returns the identified data from the object. |
IDataBundleDescriptor |
getDataBundleDescriptor()
Access method that returns the IDataBundleDescriptor object that defines
the called IDataBundle structure. |
void |
setData(IDataProvider dataProvider)
This method implies to the called object to fetch all data it can
consume from the provided IDataProvider object. |
void |
setData(int index,
java.lang.Object data)
Mutation method that replaces the indexed data object with the provided
object. |
void |
setData(java.lang.String codeName,
java.lang.Object value)
Sets the data identified by the provided code name. |
ValidationResult |
validateData()
Help method that validates the data contained in the called action data
object and returns a ValidationResult object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataBundle
public DataBundle(IDataBundleDescriptor dataDescriptor)
- Creates a new instance of ActionData
getData
public java.lang.Object getData(java.lang.String codeName)
- Access method the returns the identified data from the object.
- Specified by:
getData
in interface IDataProvider
setData
public void setData(java.lang.String codeName,
java.lang.Object value)
- Sets the data identified by the provided code name.
- Specified by:
setData
in interface IDataConsumer
setData
public void setData(IDataProvider dataProvider)
- This method implies to the called object to fetch all data it can
consume from the provided IDataProvider object.
- Specified by:
setData
in interface IDataConsumer
getData
public java.lang.Object getData(int index)
- Access method that returns the indexed data object.
- Specified by:
getData
in interface IDataBundle
setData
public void setData(int index,
java.lang.Object data)
- Mutation method that replaces the indexed data object with the provided
object.
- Specified by:
setData
in interface IDataBundle
getDataBundleDescriptor
public IDataBundleDescriptor getDataBundleDescriptor()
- Access method that returns the IDataBundleDescriptor object that defines
the called IDataBundle structure.
- Specified by:
getDataBundleDescriptor
in interface IDataBundle
validateData
public ValidationResult validateData()
- Help method that validates the data contained in the called action data
object and returns a ValidationResult object. Call isValid on the
returned object to verify data validity. Never returns null.
- Specified by:
validateData
in interface IDataBundle
Copyright © 2005 Caleigo. All Rights Reserved.