Class AasIvmlMapperTest.MyAasIvmlMapper
java.lang.Object
de.iip_ecosphere.platform.configuration.easyProducer.ivml.AbstractIvmlModifier
de.iip_ecosphere.platform.configuration.easyProducer.ivml.AasIvmlMapper
test.de.iip_ecosphere.platform.configuration.easyProducer.AasIvmlMapperTest.MyAasIvmlMapper
- All Implemented Interfaces:
de.iip_ecosphere.platform.configuration.easyProducer.ivml.DecisionVariableProvider
- Enclosing class:
AasIvmlMapperTest
private static class AasIvmlMapperTest.MyAasIvmlMapper
extends de.iip_ecosphere.platform.configuration.easyProducer.ivml.AasIvmlMapper
A slightly extended graph mapper that changes an extended managed model structure with wildcards
for AllTypes and AllServices into the usual structure while modifying a graph.
- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested classes/interfaces inherited from class de.iip_ecosphere.platform.configuration.easyProducer.ivml.AasIvmlMapper
de.iip_ecosphere.platform.configuration.easyProducer.ivml.AasIvmlMapper.ModelResultsNested classes/interfaces inherited from class de.iip_ecosphere.platform.configuration.easyProducer.ivml.AbstractIvmlModifier
de.iip_ecosphere.platform.configuration.easyProducer.ivml.AbstractIvmlModifier.ConfigurationChangeListener, de.iip_ecosphere.platform.configuration.easyProducer.ivml.AbstractIvmlModifier.CopiedFile -
Field Summary
FieldsFields inherited from class de.iip_ecosphere.platform.configuration.easyProducer.ivml.AasIvmlMapper
FILTER_NO_ANY, FILTER_NO_CONSTRAINT_VARIABLES, META_TYPE_NAME, OP_CHANGE_VALUES, OP_CREATE_CONSTANT, OP_CREATE_VARIABLE, OP_DELETE_GRAPH, OP_DELETE_VARIABLE, OP_GEN_APPS, OP_GEN_APPS_NO_DEPS, OP_GEN_INTERFACES, OP_GET_GRAPH, OP_GET_OPEN_TEMPLATE_VARIABLES, OP_GET_TEMPLATES, OP_GET_VARIABLE_NAME, OP_INSTANTIATE_TEMPLATE, OP_RENAME_VARIABLE, OP_SET_GRAPH, PRJ_NAME_ALLCONSTANTS, PRJ_NAME_ALLSERVICES, PRJ_NAME_ALLTYPES, PRJ_NAME_TECHSETUP, PROGRESS_COMPONENT_ID, SHORTID_PREFIX_METAFields inherited from class de.iip_ecosphere.platform.configuration.easyProducer.ivml.AbstractIvmlModifier
NO_PROJECT_FILTER, NO_TEMPLATE_FILTER -
Constructor Summary
ConstructorsConstructorDescriptionMyAasIvmlMapper(Supplier<net.ssehub.easy.instantiation.core.model.vilTypes.configuration.Configuration> cfgSupplier, de.iip_ecosphere.platform.configuration.easyProducer.ivml.IvmlGraphMapper graphMapper, boolean adapt) Creates a mapper with default settings. -
Method Summary
Modifier and TypeMethodDescriptionprotected net.ssehub.easy.varModel.model.ProjectadaptTarget(net.ssehub.easy.varModel.model.Project root, net.ssehub.easy.varModel.model.Project project) Methods inherited from class de.iip_ecosphere.platform.configuration.easyProducer.ivml.AasIvmlMapper
bindOperations, createIvmlConfigPath, deleteGraph, getIvmlConfiguration, getIvmlSubpath, getVariableTarget, getVilConfiguration, isAllowedForModification, mapByType, reloadConfiguration, setGraph, setShortIdToMeta, setVariableFilter, validateAndPropagateMethods inherited from class de.iip_ecosphere.platform.configuration.easyProducer.ivml.AbstractIvmlModifier
addGraphFormat, addImport, changeValues, copyToTmp, createAssignment, createExpression, createVariable, deleteVariable, getGraph, getGraphFactory, getGraphFormat, getIvmlFile, getMapper, getOpenTemplateVariables, getTemplates, getType, getVariable, getVariable, getVariableName, instantiateTemplate, notifyChange, notifyChange, reloadAndValidate, removeConstraintsForVariable, renameVariable, saveTo, setValue, setValue, throwIfFails, toIdentifier, toIdentifierFirstUpper, validateAndPropagate
-
Field Details
-
adapt
private boolean adapt
-
-
Constructor Details
-
MyAasIvmlMapper
public MyAasIvmlMapper(Supplier<net.ssehub.easy.instantiation.core.model.vilTypes.configuration.Configuration> cfgSupplier, de.iip_ecosphere.platform.configuration.easyProducer.ivml.IvmlGraphMapper graphMapper, boolean adapt) Creates a mapper with default settings.- Parameters:
cfgSupplier- a supplier providing the actual configuration instancegraphMapper- maps a graph from IVML to an internal structureadapt- allow for adaptation/rewriting- Throws:
IllegalArgumentException- ifcfgSupplieris null
-
-
Method Details
-
adaptTarget
protected net.ssehub.easy.varModel.model.Project adaptTarget(net.ssehub.easy.varModel.model.Project root, net.ssehub.easy.varModel.model.Project project) throws ExecutionException - Overrides:
adaptTargetin classde.iip_ecosphere.platform.configuration.easyProducer.ivml.AbstractIvmlModifier- Throws:
ExecutionException
-