Class ModelFactoryObjectImpl
- java.lang.Object
-
- de.uni_trier.wi2.procake.utils.composition.FactoryObjectImplementation
-
- de.uni_trier.wi2.procake.data.model.impl.ModelFactoryObjectImpl
-
- All Implemented Interfaces:
ModelFactoryObject
public class ModelFactoryObjectImpl extends FactoryObjectImplementation implements ModelFactoryObject
Description is missing- Author:
- Rainer Maximini
-
-
Field Summary
Fields Modifier and Type Field Description ParameterMODEL_NAMEParameterMODEL_PATH
-
Constructor Summary
Constructors Constructor Description ModelFactoryObjectImpl()Constructor for ModelFactoryObjectImpl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModelgetModel()StringgetModelName()StringgetModelPath()List<Parameter>getParameters()AttributePathnewAttributePath()voidpostInit()Called after all factories are initialized withFactoryObjectImplementation.preInit(AbstractParameter[])and bind to the factory.voidpreInit(AbstractParameter[] parameters)Called directly after creating the implementation.-
Methods inherited from class de.uni_trier.wi2.procake.utils.composition.FactoryObjectImplementation
getParameter, initParametersBasedOn
-
-
-
-
Method Detail
-
getModelName
public String getModelName()
- Specified by:
getModelNamein interfaceModelFactoryObject
-
getModelPath
public String getModelPath()
- Specified by:
getModelPathin interfaceModelFactoryObject
-
getModel
public Model getModel()
- Specified by:
getModelin interfaceModelFactoryObject
-
getParameters
public List<Parameter> getParameters()
- Specified by:
getParametersin classFactoryObjectImplementation- Returns:
- Returns a list of available parameters in the implementation. This method can be called
without initialization and is never
null.
-
newAttributePath
public AttributePath newAttributePath()
- Specified by:
newAttributePathin interfaceModelFactoryObject
-
postInit
public void postInit()
Called after all factories are initialized withFactoryObjectImplementation.preInit(AbstractParameter[])and bind to the factory.- Specified by:
postInitin classFactoryObjectImplementation
-
preInit
public void preInit(AbstractParameter[] parameters)
Called directly after creating the implementation.- Specified by:
preInitin classFactoryObjectImplementation- Parameters:
parameters- The parameters to initialize the implementation.
-
-