Package edu.ie3.datamodel.io.factory
Class EntityFactory<T extends UniqueEntity,D extends EntityData>
java.lang.Object
edu.ie3.datamodel.io.factory.Factory<T,D,T>
edu.ie3.datamodel.io.factory.EntityFactory<T,D>
- Type Parameters:
T
- Type of entity that this factory can create. Can be a subclass of the entities that this factory creates.D
- Type of data class that is required for entity creation
- Direct Known Subclasses:
AssetInputEntityFactory
,GraphicInputFactory
,OperatorInputFactory
,SimpleEntityFactory
,TimeSeriesMappingFactory
,TimeSeriesMetaInformationFactory
public abstract class EntityFactory<T extends UniqueEntity,D extends EntityData>
extends Factory<T,D,T>
Universal factory class for creating entities with
EntityData
data objects.- Since:
- 28.01.20
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
EntityFactory
(Class<? extends T>... allowedClasses) Constructor for an EntityFactory for given classes -
Method Summary
Methods inherited from class edu.ie3.datamodel.io.factory.Factory
buildModel, expandSet, get, getFields, getFieldsString, getSupportedClasses, newSet, validateParameters
-
Constructor Details
-
EntityFactory
Constructor for an EntityFactory for given classes- Parameters:
allowedClasses
- exactly the classes that this factory is allowed and able to build
-