Class AbstractDomainFactory<Obj extends Domain>

All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
DomainFactory

public abstract class AbstractDomainFactory<Obj extends Domain> extends GenericDomainFactory<AbstractDomainFactory<Obj>,DramaSimulation,Actor,Condition,Domain,DomainMember,DramaFactory,Group,Obj>
Abstract Domain factory. This class is the base class for factories that create subclasses of org.bzdev.drama.Domain.

Generally, there will be a class hierarchy of abstract factories matching the class hierarchy for subclasses of the class a factory creates, each responsible for providing parameters for the corresponding subclass. In addition, there will typically be a factory that is not abstract for each class that can be created.

The factory parameters this factory provides are the same as the parameters provided by its subclass DomainFactory:

  • Constructor Details

    • AbstractDomainFactory

      protected AbstractDomainFactory(DramaSimulation sim)
      Constructor.
      Parameters:
      sim - the simulation associated with this factory