Class ConfigurationWriter
java.lang.Object
de.mid.innovator.m2msdk.model.transformation.ConfigurableItem
de.mid.innovator.m2msdk.application.ConfigurationWriter
- All Implemented Interfaces:
ApplicationInterface,ConfigurableItemIF,IdentifierAble,Serializable
Class reading the configuration model from the configuration model and stores
it in XML file on front end. It stores XML files for customer configuration
for parameter "customer".
- Version:
- 10.1.1
- Author:
- jmback
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the list of all acceptable parameter names.voidrun(SessionInterface iSession) Run the application.voidsetConfigurationContext(SessionInterface iSession, MetaModel sourceMM, MetaModel targetMM, ConfigurationItemIF iItem) Set the configuration context of this configurable item.voidsetParameter(String sName, String iValue) Set the value of a parameter.Methods inherited from class de.mid.innovator.m2msdk.model.transformation.ConfigurableItem
checkConstraints, checkConstraints, getBaseItem, getConfigurableItems, getConfigurationTag, getId, getItem, getName, getParentItem, getParentItem, setBaseItem, setConfigurationTag, setId, setParent, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.mid.innovator.m2msdk.model.transformation.interfaces.ConfigurableItemIF
checkConstraints, checkConstraints, getBaseItem, getConfigurableItems, getConfigurationTag, getItem, getName, getParentItem, getParentItem, setBaseItem, setConfigurationTag, setParentMethods inherited from interface de.mid.innovator.m2msdk.util.IdentifierAble
getId, setId
-
Constructor Details
-
ConfigurationWriter
public ConfigurationWriter()
-
-
Method Details
-
run
Description copied from interface:ApplicationInterfaceRun the application.- Specified by:
runin interfaceApplicationInterface- Parameters:
iSession- Session in which the application runs- Throws:
M2MExceptionRemoteException
-
getKnownParameters
public ParameterTemplates getKnownParameters(MappingElementIF me, ConfigurationItemIF iItem) throws M2MException, RemoteException Description copied from interface:ConfigurableItemIFGet the list of all acceptable parameter names.- Specified by:
getKnownParametersin interfaceConfigurableItemIF- Overrides:
getKnownParametersin classConfigurableItem- Parameters:
me- mapping element, maybe nulliItem- configuration item, maybe null- Returns:
- list of parameter names
- Throws:
M2MException- generic exceptionRemoteException- error in communicationRemoteException- exception from remote execution
-
setConfigurationContext
public void setConfigurationContext(SessionInterface iSession, MetaModel sourceMM, MetaModel targetMM, ConfigurationItemIF iItem) throws M2MException, RemoteException Description copied from interface:ConfigurableItemIFSet the configuration context of this configurable item. The configurable item is configured according the context.- Specified by:
setConfigurationContextin interfaceConfigurableItemIF- Overrides:
setConfigurationContextin classConfigurableItem- Parameters:
iSession- sessionsourceMM- source meta modeltargetMM- target meta modeliItem- Configuration item- Throws:
M2MException- generic exceptionRemoteException- exception from remote execution
-
setParameter
Description copied from interface:ApplicationInterfaceSet the value of a parameter.- Specified by:
setParameterin interfaceApplicationInterface- Parameters:
sName- name of the parameteriValue- value of the parameter
-