Class BaSyxFile
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.File>
de.iip_ecosphere.platform.support.aas.basyx2.BaSyxFile
- All Implemented Interfaces:
de.iip_ecosphere.platform.support.aas.DataElement,de.iip_ecosphere.platform.support.aas.Element,de.iip_ecosphere.platform.support.aas.FileDataElement,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 BaSyxFile
extends BaSyxDataElement<org.eclipse.digitaltwin.aas4j.v3.model.File>
implements de.iip_ecosphere.platform.support.aas.FileDataElement
Wraps a BaSyx file data element. Shall be created by respective builder methods.
- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe builder for a file data element.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.DataElement
de.iip_ecosphere.platform.support.aas.DataElement.DataElementBuilder<T extends de.iip_ecosphere.platform.support.aas.DataElement>Nested classes/interfaces inherited from interface de.iip_ecosphere.platform.support.aas.FileDataElement
de.iip_ecosphere.platform.support.aas.FileDataElement.FileDataElementBuilder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(de.iip_ecosphere.platform.support.aas.AasVisitor visitor) voidsetContents(String contents) voidsetMimeType(String mimeType) Methods 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
-
BaSyxFile
Creates a BaSyx file.- Parameters:
idShort- the short id of the data elementvalue- the file contents/valuemimeType- the mime type of the file
-
BaSyxFile
public BaSyxFile(org.eclipse.digitaltwin.aas4j.v3.model.File file) Crates a wrapper instance.- Parameters:
file- the BaSyx file instance
-
-
Method Details
-
getContents
- Specified by:
getContentsin interfacede.iip_ecosphere.platform.support.aas.FileDataElement
-
setContents
- Specified by:
setContentsin interfacede.iip_ecosphere.platform.support.aas.FileDataElement
-
getMimeType
- Specified by:
getMimeTypein interfacede.iip_ecosphere.platform.support.aas.FileDataElement
-
setMimeType
- Specified by:
setMimeTypein interfacede.iip_ecosphere.platform.support.aas.FileDataElement
-
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.File>
-