public class UploadResourceFileBytes extends Upload implements com.exalead.util.Checkable, java.io.Serializable
FormatType.Format
Modifier and Type | Field and Description |
---|---|
java.lang.String |
base64EncodedBytes |
author, DEFAULT_MAX_GEN_KEPT, DEFAULT_PUBLISH, DEFAULT_UPDATE, description, maxGenKept, name, publish, update
format
Constructor and Description |
---|
UploadResourceFileBytes() |
UploadResourceFileBytes(UploadResourceFileBytes o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this UploadResourceFileBytes.
|
static UploadResourceFileBytes |
fromString(java.lang.String s)
String representation of this UploadResourceFileBytes.
|
java.lang.String |
getBase64EncodedBytes() |
UploadResourceFileBytes |
makeCopy()
Creates and returns a deep copy of this UploadResourceFileBytes.
|
static UploadResourceFileBytes |
readFrom(java.io.InputStream is)
Read this UploadResourceFileBytes from an XML fragment.
|
void |
setBase64EncodedBytes(java.lang.String base64EncodedBytes) |
java.lang.String |
toString()
String representation of this UploadResourceFileBytes.
|
UploadResourceFileBytes |
withAuthor(java.lang.String author) |
UploadResourceFileBytes |
withBase64EncodedBytes(java.lang.String base64EncodedBytes) |
UploadResourceFileBytes |
withDescription(java.lang.String description) |
UploadResourceFileBytes |
withFormat(java.lang.String format) |
UploadResourceFileBytes |
withMaxGenKept(int maxGenKept) |
UploadResourceFileBytes |
withMaxGenKept(java.lang.Integer maxGenKept) |
UploadResourceFileBytes |
withName(java.lang.String name) |
UploadResourceFileBytes |
withPublish(boolean publish) |
UploadResourceFileBytes |
withPublish(java.lang.Boolean publish) |
UploadResourceFileBytes |
withUpdate(boolean update) |
UploadResourceFileBytes |
withUpdate(java.lang.Boolean update) |
void |
writeTo(java.io.OutputStream os)
Write this UploadResourceFileBytes as an XML fragment
|
getAuthor, getDescription, getMaxGenKept, getName, isPublish, isUpdate, setAuthor, setDescription, setMaxGenKept, setName, setPublish, setUpdate
getFormat, getFormatAsEnum, isA, isOneOf, setFormat, setFormat
public UploadResourceFileBytes()
public UploadResourceFileBytes(UploadResourceFileBytes o)
public UploadResourceFileBytes withName(java.lang.String name)
public UploadResourceFileBytes withAuthor(java.lang.String author)
withAuthor
in class Upload
public UploadResourceFileBytes withDescription(java.lang.String description)
withDescription
in class Upload
public UploadResourceFileBytes withPublish(boolean publish)
withPublish
in class Upload
public UploadResourceFileBytes withPublish(java.lang.Boolean publish)
withPublish
in class Upload
public UploadResourceFileBytes withUpdate(boolean update)
withUpdate
in class Upload
public UploadResourceFileBytes withUpdate(java.lang.Boolean update)
withUpdate
in class Upload
public UploadResourceFileBytes withMaxGenKept(int maxGenKept)
withMaxGenKept
in class Upload
public UploadResourceFileBytes withMaxGenKept(java.lang.Integer maxGenKept)
withMaxGenKept
in class Upload
public UploadResourceFileBytes withFormat(java.lang.String format)
withFormat
in class Upload
public void setBase64EncodedBytes(java.lang.String base64EncodedBytes)
public java.lang.String getBase64EncodedBytes()
public UploadResourceFileBytes withBase64EncodedBytes(java.lang.String base64EncodedBytes)
public UploadResourceFileBytes makeCopy()
public static UploadResourceFileBytes readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
public static UploadResourceFileBytes fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
Copyright © 2021 Dassault Systèmes, All Rights Reserved.