1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.caleigo.core;
20
21
22 /*** <Description of IActionData>
23 *
24 * @author Dennis Zikovic
25 * @version 1.00
26 *
27 *//*
28 *
29 * WHEN WHO WHY & WHAT
30 * -----------------------------------------------------------------------------
31 * 2002-09-09 Dennis Zikovic Creation
32 */
33 public interface IDataBundle extends IDataConsumer, IDataProvider
34 {
35
36
37
38
39 /*** Access method that returns the indexed data object.
40 */
41 public Object getData(int index);
42
43 /*** Mutation method that replaces the indexed data object with the provided
44 * object.
45 */
46 public void setData(int index, Object data);
47
48 /*** Access method that returns the IActionDataDescriptor object that defines
49 * the called IActionDatas structure.
50 */
51 public IDataBundleDescriptor getDataBundleDescriptor();
52
53 /*** Help method that validates the data contained in the called data
54 * object and returns a ValidationResult object. Call isValid on the
55 * returned object to verify data validity. May never return null.
56 */
57 public ValidationResult validateData();
58
59
60 }