Class BaSyxBlob
java.lang.Object
de.iip_ecosphere.platform.support.aas.basyx2.BaSyxSubmodelElement
de.iip_ecosphere.platform.support.aas.basyx2.BaSyxDataElement<org.eclipse.digitaltwin.aas4j.v3.model.Blob>
de.iip_ecosphere.platform.support.aas.basyx2.BaSyxBlob
- All Implemented Interfaces:
de.iip_ecosphere.platform.support.aas.BlobDataElement,de.iip_ecosphere.platform.support.aas.DataElement,de.iip_ecosphere.platform.support.aas.Element,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
public class BaSyxBlob
extends BaSyxDataElement<org.eclipse.digitaltwin.aas4j.v3.model.Blob>
implements de.iip_ecosphere.platform.support.aas.BlobDataElement
Wraps a BaSyx BLOB data element. Shall be created by respective builder methods.
- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBaSyx BLOB builder.Nested classes/interfaces inherited from class de.iip_ecosphere.platform.support.aas.basyx2.BaSyxSubmodelElement
BaSyxSubmodelElement.PathFunctionNested classes/interfaces inherited from interface de.iip_ecosphere.platform.support.aas.BlobDataElement
de.iip_ecosphere.platform.support.aas.BlobDataElement.BlobDataElementBuilderNested classes/interfaces inherited from interface de.iip_ecosphere.platform.support.aas.DataElement
de.iip_ecosphere.platform.support.aas.DataElement.DataElementBuilder<T extends de.iip_ecosphere.platform.support.aas.DataElement> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(de.iip_ecosphere.platform.support.aas.AasVisitor visitor) getValue()byte[]voidsetMimeType(String mimeType) voidsetValue(byte[] value) voidMethods inherited from class de.iip_ecosphere.platform.support.aas.basyx2.BaSyxDataElement
getDataElement, getSubmodelElementMethods inherited from class de.iip_ecosphere.platform.support.aas.basyx2.BaSyxSubmodelElement
composePath, composePath, createConnectedSubmodelElement, createSubmodelElement, deleteConnectedSubmodelElement, getIdShort, getParent, getRepo, getSemanticId, processOnPath, setParent, setSemanticId, update, updateConnectedSubmodelElement, updateInBuildMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.iip_ecosphere.platform.support.aas.Element
getIdShort, updateMethods inherited from interface de.iip_ecosphere.platform.support.aas.HasSemantics
getSemanticId, getSemanticId, setSemanticId
-
Constructor Details
-
BaSyxBlob
Creates a BaSyx BLOB.- Parameters:
idShort- the short id of the data elementvalue- the value, may be null for nonemimeType- the mime type of the file
-
BaSyxBlob
public BaSyxBlob(org.eclipse.digitaltwin.aas4j.v3.model.Blob blob) Crates a wrapper instance.- Parameters:
blob- the BaSyx blob
-
-
Method Details
-
getValue
- Specified by:
getValuein interfacede.iip_ecosphere.platform.support.aas.BlobDataElement
-
getValueAsByteArray
public byte[] getValueAsByteArray()- Specified by:
getValueAsByteArrayin interfacede.iip_ecosphere.platform.support.aas.BlobDataElement
-
setValue
- Specified by:
setValuein interfacede.iip_ecosphere.platform.support.aas.BlobDataElement
-
setValue
public void setValue(byte[] value) - Specified by:
setValuein interfacede.iip_ecosphere.platform.support.aas.BlobDataElement
-
getMimeType
- Specified by:
getMimeTypein interfacede.iip_ecosphere.platform.support.aas.BlobDataElement
-
setMimeType
- Specified by:
setMimeTypein interfacede.iip_ecosphere.platform.support.aas.BlobDataElement
-
accept
public void accept(de.iip_ecosphere.platform.support.aas.AasVisitor visitor) - Specified by:
acceptin interfacede.iip_ecosphere.platform.support.aas.Element- Overrides:
acceptin classBaSyxDataElement<org.eclipse.digitaltwin.aas4j.v3.model.Blob>
-