org.databene.model.data
Class AbstractEntitySource

java.lang.Object
  extended by org.databene.webdecs.util.AbstractDataSource<Entity>
      extended by org.databene.model.data.AbstractEntitySource
All Implemented Interfaces:
java.io.Closeable, org.databene.commons.context.ContextAware, EntitySource, org.databene.webdecs.DataSource<Entity>
Direct Known Subclasses:
EntityResultSetDataSource, FileBasedEntitySource

public abstract class AbstractEntitySource
extends org.databene.webdecs.util.AbstractDataSource<Entity>
implements EntitySource, org.databene.commons.context.ContextAware

Abstract implementation of EntitySource to be used as parent class for custom implementations.

Created at 03.03.2009 17:12:16

Since:
0.5.8
Author:
Volker Bergmann

Field Summary
protected  BeneratorContext context
           
 
Fields inherited from class org.databene.webdecs.util.AbstractDataSource
type
 
Constructor Summary
AbstractEntitySource()
           
 
Method Summary
 void setContext(org.databene.commons.Context ctx)
           
 
Methods inherited from class org.databene.webdecs.util.AbstractDataSource
close, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.databene.webdecs.DataSource
close, getType, iterator
 

Field Detail

context

protected BeneratorContext context
Constructor Detail

AbstractEntitySource

public AbstractEntitySource()
Method Detail

setContext

public void setContext(org.databene.commons.Context ctx)
Specified by:
setContext in interface org.databene.commons.context.ContextAware


Copyright © 2013. All Rights Reserved.