1 package net.sourceforge.xmlfit.data;
2
3 import net.sourceforge.xmlfit.data.impl.NullDataSetImpl;
4 import net.sourceforge.xmlfit.data.impl.XMLDataSetImpl;
5
6 /**
7 *
8 * Interface for a XMLFit DataSet.
9 *
10 * @see XMLDataSetImpl for a example implementation for a DataSet.
11 *
12 */
13 public interface DataSet
14 {
15
16 /**
17 * The Value of a null DataSet variable.
18 * Use NULL_DATASET instead of null for a DataSet.
19 */
20 public static final DataSet NULL_DATASET = new NullDataSetImpl();
21
22 /**
23 * Get property value by name.
24 * @param name the name of the property.
25 * @return value of the property or null when property with name
26 * exists in the DataSet.
27 */
28 public String getPropertyValue(String name);
29
30 }