Class BaSyxFurtherInformation

  • All Implemented Interfaces:
    BaSyxElementTranslator.SubmodelElementsRegistrar, de.iip_ecosphere.platform.support.aas.Element, de.iip_ecosphere.platform.support.aas.ElementsAccess, de.iip_ecosphere.platform.support.aas.HasDataSpecification, de.iip_ecosphere.platform.support.aas.HasKind, de.iip_ecosphere.platform.support.aas.HasSemantics, de.iip_ecosphere.platform.support.aas.Qualifiable, de.iip_ecosphere.platform.support.aas.Referable, de.iip_ecosphere.platform.support.aas.SubmodelElement, de.iip_ecosphere.platform.support.aas.SubmodelElementCollection, de.iip_ecosphere.platform.support.aas.types.technicaldata.FurtherInformation

    public class BaSyxFurtherInformation
    extends BaSyxSubmodelElementCollection
    implements de.iip_ecosphere.platform.support.aas.types.technicaldata.FurtherInformation
    Wrapper for the BaSyx further information class.
    Author:
    Holger Eichelberger, SSE
    • Constructor Detail

      • BaSyxFurtherInformation

        private BaSyxFurtherInformation()
        Creates an instance. Prevents external creation.
      • BaSyxFurtherInformation

        BaSyxFurtherInformation​(org.eclipse.basyx.submodel.types.technicaldata.submodelelementcollections.furtherinformation.FurtherInformation collection)
        Creates an instance and sets the BaSyx instance directly.
        Parameters:
        collection - the collection instance
    • Method Detail

      • getSubmodelElement

        public org.eclipse.basyx.submodel.types.technicaldata.submodelelementcollections.furtherinformation.FurtherInformation getSubmodelElement()
        Description copied from class: BaSyxSubmodelElement
        Returns the implementing sub-model element.
        Overrides:
        getSubmodelElement in class BaSyxSubmodelElementCollection
        Returns:
        the submodel element
      • getValidDate

        public javax.xml.datatype.XMLGregorianCalendar getValidDate()
        Returns the valid date.
        Specified by:
        getValidDate in interface de.iip_ecosphere.platform.support.aas.types.technicaldata.FurtherInformation
        Returns:
        denotes a date on which the data specified in the submodel was valid from for the associated asset
      • setValidDate

        public void setValidDate​(javax.xml.datatype.XMLGregorianCalendar validDate)
        Specified by:
        setValidDate in interface de.iip_ecosphere.platform.support.aas.types.technicaldata.FurtherInformation
      • getStatements

        public java.util.Map<java.lang.String,​java.util.Collection<de.iip_ecosphere.platform.support.aas.LangString>> getStatements()
        Specified by:
        getStatements in interface de.iip_ecosphere.platform.support.aas.types.technicaldata.FurtherInformation
      • setStatements

        public void setStatements​(java.util.Map<java.lang.String,​java.util.Collection<de.iip_ecosphere.platform.support.aas.LangString>> statements)
        Specified by:
        setStatements in interface de.iip_ecosphere.platform.support.aas.types.technicaldata.FurtherInformation
      • setTextStatements

        private static void setTextStatements​(BaSyxSubmodelElementCollection coll,
                                              org.eclipse.basyx.submodel.types.technicaldata.submodelelementcollections.furtherinformation.FurtherInformation fi,
                                              java.util.Map<java.lang.String,​java.util.Collection<de.iip_ecosphere.platform.support.aas.LangString>> statements)
        Turns the nested structure into text statements and sets them on the given AAS structures.
        Parameters:
        coll - the collection to register the new multi-language data elements with
        fi - the BaSyx instance to set the new multi-language data elements on
        statements - the statements, first level maps short_ids to (language, text)