Class BaSyxGeneralInformation.BaSyxGeneralInformationBuilder

  • All Implemented Interfaces:
    de.iip_ecosphere.platform.support.aas.DeferredBuilder<de.iip_ecosphere.platform.support.aas.SubmodelElementCollection>, de.iip_ecosphere.platform.support.aas.SubmodelElementCollection.SubmodelElementCollectionBuilder, de.iip_ecosphere.platform.support.aas.SubmodelElementContainerBuilder, de.iip_ecosphere.platform.support.aas.types.technicaldata.GeneralInformation.GeneralInformationBuilder, de.iip_ecosphere.platform.support.Builder<de.iip_ecosphere.platform.support.aas.SubmodelElementCollection>
    Enclosing class:
    BaSyxGeneralInformation

    public static class BaSyxGeneralInformation.BaSyxGeneralInformationBuilder
    extends BaSyxSubmodelElementCollection.BaSyxSubmodelElementCollectionBuilder
    implements de.iip_ecosphere.platform.support.aas.types.technicaldata.GeneralInformation.GeneralInformationBuilder
    The sub-model element collection builder.
    Author:
    Holger Eichelberger, SSE
    • Field Detail

      • productImages

        private java.util.List<BaSyxFile> productImages
      • manufacturerLogo

        private BaSyxFile manufacturerLogo
    • Constructor Detail

      • BaSyxGeneralInformationBuilder

        BaSyxGeneralInformationBuilder​(BaSyxSubmodelElementContainerBuilder<?> parentBuilder,
                                       java.lang.String manufacturerName,
                                       de.iip_ecosphere.platform.support.aas.LangString manufacturerProductDesignation,
                                       java.lang.String manufacturerPartNumber,
                                       java.lang.String manufacturerOrderCode)
        Creates a sub-model element collection builder. The parent builder must be set by the calling constructor.
        Parameters:
        parentBuilder - the parent builder
        manufacturerName - the manufacturer name
        manufacturerProductDesignation - the manufacturer product designation
        manufacturerPartNumber - the manufacturer part number
        manufacturerOrderCode - the manufacturer order code
        Throws:
        java.lang.IllegalArgumentException - may be thrown if idShort is not given
    • Method Detail

      • addProductImageFile

        public de.iip_ecosphere.platform.support.aas.types.technicaldata.GeneralInformation.GeneralInformationBuilder addProductImageFile​(java.lang.String name,
                                                                                                                                          java.lang.String file,
                                                                                                                                          java.lang.String mimeType)
        Specified by:
        addProductImageFile in interface de.iip_ecosphere.platform.support.aas.types.technicaldata.GeneralInformation.GeneralInformationBuilder
      • setManufacturerLogo

        public de.iip_ecosphere.platform.support.aas.types.technicaldata.GeneralInformation.GeneralInformationBuilder setManufacturerLogo​(java.lang.String file,
                                                                                                                                          java.lang.String mimeType)
        Specified by:
        setManufacturerLogo in interface de.iip_ecosphere.platform.support.aas.types.technicaldata.GeneralInformation.GeneralInformationBuilder