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 Parameter
MODEL_NAME
Parameter
MODEL_PATH
-
Constructor Summary
Constructors Constructor Description ModelFactoryObjectImpl()
Constructor for ModelFactoryObjectImpl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Model
getModel()
String
getModelName()
String
getModelPath()
List<Parameter>
getParameters()
AttributePath
newAttributePath()
void
postInit()
Called after all factories are initialized withFactoryObjectImplementation.preInit(AbstractParameter[])
and bind to the factory.void
preInit(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:
getModelName
in interfaceModelFactoryObject
-
getModelPath
public String getModelPath()
- Specified by:
getModelPath
in interfaceModelFactoryObject
-
getModel
public Model getModel()
- Specified by:
getModel
in interfaceModelFactoryObject
-
getParameters
public List<Parameter> getParameters()
- Specified by:
getParameters
in 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:
newAttributePath
in interfaceModelFactoryObject
-
postInit
public void postInit()
Called after all factories are initialized withFactoryObjectImplementation.preInit(AbstractParameter[])
and bind to the factory.- Specified by:
postInit
in classFactoryObjectImplementation
-
preInit
public void preInit(AbstractParameter[] parameters)
Called directly after creating the implementation.- Specified by:
preInit
in classFactoryObjectImplementation
- Parameters:
parameters
- The parameters to initialize the implementation.
-
-