org.molgenis.omx.protocol
Class ProtocolTable

java.lang.Object
  extended by org.molgenis.framework.tupletable.AbstractTupleTable
      extended by org.molgenis.framework.tupletable.AbstractFilterableTupleTable
          extended by org.molgenis.omx.protocol.ProtocolTable
All Implemented Interfaces:
Iterable<Tuple>, DatabaseTupleTable, FilterableTupleTable, TupleTable

public class ProtocolTable
extends AbstractFilterableTupleTable
implements DatabaseTupleTable


Constructor Summary
ProtocolTable(Protocol protocol, Database db)
           
 
Method Summary
 List<Field> getAllColumns()
           
 int getCount()
          Count the number of protocols and features of this protocol (excluding this protocol itself)
 Database getDb()
           
 Iterator<Tuple> iterator()
           
 void setDb(Database db)
           
 
Methods inherited from class org.molgenis.framework.tupletable.AbstractFilterableTupleTable
getFilters, getSortRule, reset, setFilters
 
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
 

Constructor Detail

ProtocolTable

public ProtocolTable(Protocol protocol,
                     Database db)
              throws TableException
Throws:
TableException
Method Detail

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.