org.molgenis.ngs.decorators
Class FlowcellDecorator<E extends Flowcell>

java.lang.Object
  extended by org.molgenis.framework.db.MapperDecorator<E>
      extended by org.molgenis.ngs.decorators.FlowcellDecorator<E>
Type Parameters:
E -
All Implemented Interfaces:
Mapper<E>

public class FlowcellDecorator<E extends Flowcell>
extends MapperDecorator<E>

Generic decorator for NGS Flowcell values. Used to alert the user when values do not meet certain criteria.

Version:
1.0.0.0
Author:
Marcel Burger

Constructor Summary
FlowcellDecorator(Mapper<E> generatedMapper)
           
 
Method Summary
 int add(List<E> entities)
           
 int update(List<E> entities)
           
 
Methods inherited from class org.molgenis.framework.db.MapperDecorator
add, count, create, createFindSqlInclRules, createList, executeAdd, executeRemove, executeUpdate, find, find, find, findById, getDatabase, getFieldType, getTableFieldName, remove, remove, resolveForeignKeys, toList, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlowcellDecorator

public FlowcellDecorator(Mapper<E> generatedMapper)
Method Detail

add

public int add(List<E> entities)
        throws DatabaseException
Specified by:
add in interface Mapper<E extends Flowcell>
Overrides:
add in class MapperDecorator<E extends Flowcell>
Throws:
DatabaseException

update

public int update(List<E> entities)
           throws DatabaseException
Specified by:
update in interface Mapper<E extends Flowcell>
Overrides:
update in class MapperDecorator<E extends Flowcell>
Throws:
DatabaseException


Copyright © 2013. All Rights Reserved.