Interface Blob

    • Method Detail

      • getMimeType

        java.lang.String getMimeType()
        Mime type of the content of the BLOB. The mime type states which file extension the file has. Valid values are e.g. 'application/json', 'application/xls', 'image/jpg' The allowed values are defined as in RFC2046. More information under https://admin-shell.io/aas/3/0/RC01/Blob/mimeType
        Returns:
        Returns the String for the property mimeType.
      • setMimeType

        void setMimeType​(java.lang.String mimeType)
        Mime type of the content of the BLOB. The mime type states which file extension the file has. Valid values are e.g. 'application/json', 'application/xls', 'image/jpg' The allowed values are defined as in RFC2046. More information under https://admin-shell.io/aas/3/0/RC01/Blob/mimeType
        Parameters:
        mimeType - desired value for the property mimeType.
      • getValue

        byte[] getValue()
        The value of the BLOB instance of a blob data element. In contrast to the file property the file content is stored directly as value in the Blob data element. More information under https://admin-shell.io/aas/3/0/RC01/Blob/value
        Returns:
        Returns the byte[] for the property value.
      • setValue

        void setValue​(byte[] value)
        The value of the BLOB instance of a blob data element. In contrast to the file property the file content is stored directly as value in the Blob data element. More information under https://admin-shell.io/aas/3/0/RC01/Blob/value
        Parameters:
        value - desired value for the property value.