Class BaSyxElementTranslator


  • public class BaSyxElementTranslator
    extends java.lang.Object
    Bridges 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
    • Constructor Detail

      • BaSyxElementTranslator

        public BaSyxElementTranslator()
    • 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