01: /* DataRow.java
02: *
03: * DDSteps - Data Driven JUnit Test Steps
04: * Copyright (C) 2005 Jayway AB
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License version 2.1 as published by the Free Software Foundation.
09: *
10: * This library is distributed in the hope that it will be useful,
11: * but WITHOUT ANY WARRANTY; without even the implied warranty of
12: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13: * Lesser General Public License for more details.
14: *
15: * You should have received a copy of the GNU Lesser General Public
16: * License along with this library; if not, visit
17: * http://www.opensource.org/licenses/lgpl-license.php
18: */
19: package org.ddsteps.dataset;
20:
21: import java.util.Iterator;
22:
23: /**
24: * @author Adam
25: * @version $Id: DataRow.java,v 1.1 2005/12/03 12:51:41 adamskogman Exp $
26: */
27: public interface DataRow {
28:
29: /**
30: * Gets a row identifier, typically within a DataTable.
31: *
32: * @return Not null.
33: */
34: public abstract String getId();
35:
36: /**
37: * Iterator over properties.
38: *
39: * @return Iterator of @link DataValue, never null.
40: */
41: public abstract Iterator iterator();
42:
43: }
|