org.molgenis.omx.protocol
Class ProtocolTable
java.lang.Object
org.molgenis.framework.tupletable.AbstractTupleTable
org.molgenis.framework.tupletable.AbstractFilterableTupleTable
org.molgenis.omx.protocol.ProtocolTable
- All Implemented Interfaces:
- Iterable<Tuple>, DatabaseTupleTable, FilterableTupleTable, TupleTable
public class ProtocolTable
- extends AbstractFilterableTupleTable
- implements DatabaseTupleTable
| Methods inherited from class org.molgenis.framework.tupletable.AbstractTupleTable |
close, getColCount, getColLimit, getColOffset, getColumnByName, getColumnIndex, getColumns, getCurrentColumnPageSize, getHiddenColumns, getLimit, getOffset, getRows, getValues, getVisibleColumns, hideColumn, isFirstColumnFixed, isInViewPort, setColLimit, setColOffset, setFirstColumnFixed, setLimit, setLimitOffset, setOffset, showColumn |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.molgenis.framework.tupletable.TupleTable |
close, getColCount, getColLimit, getColOffset, getColumns, getHiddenColumns, getLimit, getOffset, getRows, hideColumn, isFirstColumnFixed, setColLimit, setColOffset, setFirstColumnFixed, setLimit, setLimitOffset, setOffset, showColumn |
ProtocolTable
public ProtocolTable(Protocol protocol,
Database db)
throws TableException
- Throws:
TableException
getAllColumns
public List<Field> getAllColumns()
throws TableException
- Specified by:
getAllColumns in interface TupleTable- Specified by:
getAllColumns in class AbstractTupleTable
- Throws:
TableException
iterator
public Iterator<Tuple> iterator()
- Specified by:
iterator in interface Iterable<Tuple>- Specified by:
iterator in interface TupleTable- Overrides:
iterator in class AbstractTupleTable
getDb
public Database getDb()
- Specified by:
getDb in interface DatabaseTupleTable
setDb
public void setDb(Database db)
- Specified by:
setDb in interface DatabaseTupleTable
getCount
public int getCount()
throws TableException
- Count the number of protocols and features of this protocol (excluding this protocol itself)
- Specified by:
getCount in interface TupleTable- Specified by:
getCount in class AbstractTupleTable
- Throws:
TableException
Copyright © 2013. All Rights Reserved.