Class OntologyFactoryObjectImpl
- java.lang.Object
-
- de.uni_trier.wi2.procake.utils.composition.FactoryObjectImplementation
-
- de.uni_trier.wi2.procake.utils.ontology.OntologyFactoryObjectImpl
-
- All Implemented Interfaces:
OntologyFactoryObject
public class OntologyFactoryObjectImpl extends FactoryObjectImplementation implements OntologyFactoryObject
-
-
Field Summary
Fields Modifier and Type Field Description Parameter
ONTOLOGY_NAME
Parameter
ONTOLOGY_PATH
Parameter
ONTOLOGY_PATH_BACKUP
-
Constructor Summary
Constructors Constructor Description OntologyFactoryObjectImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Ontology
getOntology()
String
getOntologyName()
String
getOntologyPath()
String
getOntologyPathBackup()
List<Parameter>
getParameters()
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
-
getOntologyName
public String getOntologyName()
- Specified by:
getOntologyName
in interfaceOntologyFactoryObject
-
getOntologyPath
public String getOntologyPath()
- Specified by:
getOntologyPath
in interfaceOntologyFactoryObject
-
getOntologyPathBackup
public String getOntologyPathBackup()
- Specified by:
getOntologyPathBackup
in interfaceOntologyFactoryObject
-
getOntology
public Ontology getOntology()
- Specified by:
getOntology
in interfaceOntologyFactoryObject
-
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
.
-
preInit
public void preInit(AbstractParameter[] parameters)
Description copied from class:FactoryObjectImplementation
Called directly after creating the implementation.- Specified by:
preInit
in classFactoryObjectImplementation
- Parameters:
parameters
- The parameters to initialize the implementation.
-
postInit
public void postInit()
Description copied from class:FactoryObjectImplementation
Called after all factories are initialized withFactoryObjectImplementation.preInit(AbstractParameter[])
and bind to the factory.- Specified by:
postInit
in classFactoryObjectImplementation
-
-