Class AbstractEntitySource

  • All Implemented Interfaces:
    com.rapiddweller.common.context.ContextAware, com.rapiddweller.format.DataSource<Entity>, EntitySource, java.io.Closeable, java.lang.AutoCloseable
    Direct Known Subclasses:
    EntityResultSetDataSource, FileBasedEntitySource

    public abstract class AbstractEntitySource
    extends com.rapiddweller.format.util.AbstractDataSource<Entity>
    implements EntitySource, com.rapiddweller.common.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

      Fields 
      Modifier and Type Field Description
      protected BeneratorContext context
      The Context.
      • Fields inherited from class com.rapiddweller.format.util.AbstractDataSource

        type
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractEntitySource()
      Instantiates a new Abstract entity source.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setContext​(com.rapiddweller.common.Context ctx)  
      • Methods inherited from class com.rapiddweller.format.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 com.rapiddweller.format.DataSource

        close, getType, iterator
    • Constructor Detail

      • AbstractEntitySource

        public AbstractEntitySource()
        Instantiates a new Abstract entity source.
    • Method Detail

      • setContext

        public void setContext​(com.rapiddweller.common.Context ctx)
        Specified by:
        setContext in interface com.rapiddweller.common.context.ContextAware