Class BaSyxElementTranslator
- java.lang.Object
-
- de.iip_ecosphere.platform.support.aas.basyx.BaSyxElementTranslator
-
public class BaSyxElementTranslator extends java.lang.ObjectBridges between arbitrary BaSyx instances and instances of the IIP-Ecosphere AAS abstraction. The BaSyx interface structure prevents handing sub-model and submodel elements collections in one type, so we define that just for the elements. We may even avoid the type checks in here, but this shall be ok for now.- Author:
- Holger Eichelberger, SSE
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static interfaceBaSyxElementTranslator.SubmodelElementsRegistrarSomething that can take over/register submodel elements.
-
Constructor Summary
Constructors Constructor Description BaSyxElementTranslator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static voidregisterSubmodelElements(java.util.Map<java.lang.String,org.eclipse.basyx.submodel.metamodel.api.submodelelement.ISubmodelElement> elements, BaSyxElementTranslator.SubmodelElementsRegistrar reg)Registers all sub-model elements, i.e., none of those handled by the other methods/interfaces.
-
-
-
Method Detail
-
registerSubmodelElements
static void registerSubmodelElements(java.util.Map<java.lang.String,org.eclipse.basyx.submodel.metamodel.api.submodelelement.ISubmodelElement> elements, BaSyxElementTranslator.SubmodelElementsRegistrar reg)Registers all sub-model elements, i.e., none of those handled by the other methods/interfaces.- Parameters:
elements- the elements to be processed (as declared by BaSyx)reg- the remaining registrar
-
-