org.caleigo.core
Interface IDataBundle

All Superinterfaces:
IDataConsumer, IDataProvider
All Known Implementing Classes:
DataBundle

public interface IDataBundle
extends IDataConsumer, IDataProvider

Version:
1.00
Author:
Dennis Zikovic

Method Summary
 java.lang.Object getData(int index)
          Access method that returns the indexed data object.
 IDataBundleDescriptor getDataBundleDescriptor()
          Access method that returns the IActionDataDescriptor object that defines the called IActionDatas structure.
 void setData(int index, java.lang.Object data)
          Mutation method that replaces the indexed data object with the provided object.
 ValidationResult validateData()
          Help method that validates the data contained in the called data object and returns a ValidationResult object.
 
Methods inherited from interface org.caleigo.core.IDataConsumer
setData, setData
 
Methods inherited from interface org.caleigo.core.IDataProvider
getData
 

Method Detail

getData

public java.lang.Object getData(int index)
Access method that returns the indexed data object.


setData

public void setData(int index,
                    java.lang.Object data)
Mutation method that replaces the indexed data object with the provided object.


getDataBundleDescriptor

public IDataBundleDescriptor getDataBundleDescriptor()
Access method that returns the IActionDataDescriptor object that defines the called IActionDatas structure.


validateData

public ValidationResult validateData()
Help method that validates the data contained in the called data object and returns a ValidationResult object. Call isValid on the returned object to verify data validity. May never return null.



Copyright © 2005 Caleigo. All Rights Reserved.