Package io.adminshell.aas.v3.model
Interface File
-
- All Superinterfaces:
DataElement,HasDataSpecification,HasExtensions,HasKind,HasSemantics,Qualifiable,Referable,SubmodelElement
- All Known Implementing Classes:
DefaultFile
public interface File extends DataElement, SubmodelElement
A File is a data element that represents a file via its path description.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetMimeType()Mime type of the content of the File.java.lang.StringgetValue()Path and name of the referenced file (with file extension).voidsetMimeType(java.lang.String mimeType)Mime type of the content of the File.voidsetValue(java.lang.String value)Path and name of the referenced file (with file extension).-
Methods inherited from interface io.adminshell.aas.v3.model.HasDataSpecification
getEmbeddedDataSpecifications, setEmbeddedDataSpecifications
-
Methods inherited from interface io.adminshell.aas.v3.model.HasExtensions
getExtensions, setExtensions
-
Methods inherited from interface io.adminshell.aas.v3.model.HasSemantics
getSemanticId, setSemanticId
-
Methods inherited from interface io.adminshell.aas.v3.model.Qualifiable
getQualifiers, setQualifiers
-
Methods inherited from interface io.adminshell.aas.v3.model.Referable
getCategory, getDescriptions, getDisplayNames, getIdShort, setCategory, setDescriptions, setDisplayNames, setIdShort
-
-
-
-
Method Detail
-
getMimeType
java.lang.String getMimeType()
Mime type of the content of the File. More information under https://admin-shell.io/aas/3/0/RC01/File/mimeType- Returns:
- Returns the String for the property mimeType.
-
setMimeType
void setMimeType(java.lang.String mimeType)
Mime type of the content of the File. More information under https://admin-shell.io/aas/3/0/RC01/File/mimeType- Parameters:
mimeType- desired value for the property mimeType.
-
getValue
java.lang.String getValue()
Path and name of the referenced file (with file extension). The path can be absolute or relative. More information under https://admin-shell.io/aas/3/0/RC01/File/value- Returns:
- Returns the String for the property value.
-
setValue
void setValue(java.lang.String value)
Path and name of the referenced file (with file extension). The path can be absolute or relative. More information under https://admin-shell.io/aas/3/0/RC01/File/value- Parameters:
value- desired value for the property value.
-
-