Class BaSyxGeneralInformation.BaSyxGeneralInformationBuilder
- java.lang.Object
-
- de.iip_ecosphere.platform.support.aas.basyx.BaSyxSubmodelElementContainerBuilder<org.eclipse.basyx.submodel.metamodel.api.ISubmodel>
-
- de.iip_ecosphere.platform.support.aas.basyx.BaSyxSubmodelElementCollection.BaSyxSubmodelElementCollectionBuilder
-
- de.iip_ecosphere.platform.support.aas.basyx.types.technicaldata.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 Summary
Fields Modifier and Type Field Description private BaSyxFilemanufacturerLogoprivate java.util.List<BaSyxFile>productImages
-
Constructor Summary
Constructors Constructor Description BaSyxGeneralInformationBuilder(BaSyxSubmodelElementContainerBuilder<?> parentBuilder, BaSyxSubmodelElementCollection instance)Creates an instance from an existing BaSyx instance.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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.iip_ecosphere.platform.support.aas.types.technicaldata.GeneralInformation.GeneralInformationBuilderaddProductImageFile(java.lang.String name, java.lang.String file, java.lang.String mimeType)BaSyxSubmodelElementCollectionbuild()de.iip_ecosphere.platform.support.aas.types.technicaldata.GeneralInformation.GeneralInformationBuildersetManufacturerLogo(java.lang.String file, java.lang.String mimeType)-
Methods inherited from class de.iip_ecosphere.platform.support.aas.basyx.BaSyxSubmodelElementCollection.BaSyxSubmodelElementCollectionBuilder
buildDeferred, createOperationBuilder, createPropertyBuilder, createReference, createReferenceElementBuilder, createSubmodelElementCollectionBuilder, defer, getAasBuilder, getCollection, getCollectionInstance, getInstance, getParentBuilder, isNew, register, register, register, register, register
-
Methods inherited from class de.iip_ecosphere.platform.support.aas.basyx.BaSyxSubmodelElementContainerBuilder
createFileDataElementBuilder
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.iip_ecosphere.platform.support.aas.DeferredBuilder
buildDeferred, defer
-
-
-
-
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 buildermanufacturerName- the manufacturer namemanufacturerProductDesignation- the manufacturer product designationmanufacturerPartNumber- the manufacturer part numbermanufacturerOrderCode- the manufacturer order code- Throws:
java.lang.IllegalArgumentException- may be thrown ifidShortis not given
-
BaSyxGeneralInformationBuilder
BaSyxGeneralInformationBuilder(BaSyxSubmodelElementContainerBuilder<?> parentBuilder, BaSyxSubmodelElementCollection instance)
Creates an instance from an existing BaSyx instance.- Parameters:
parentBuilder- the parent builderinstance- the BaSyx instance
-
-
Method Detail
-
build
public BaSyxSubmodelElementCollection build()
- Specified by:
buildin interfacede.iip_ecosphere.platform.support.Builder<de.iip_ecosphere.platform.support.aas.SubmodelElementCollection>- Overrides:
buildin classBaSyxSubmodelElementCollection.BaSyxSubmodelElementCollectionBuilder
-
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:
addProductImageFilein interfacede.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:
setManufacturerLogoin interfacede.iip_ecosphere.platform.support.aas.types.technicaldata.GeneralInformation.GeneralInformationBuilder
-
-