public class UploadLocalFile extends Upload implements com.exalead.util.Checkable, java.io.Serializable
FormatType.Format
Modifier and Type | Field and Description |
---|---|
java.lang.String |
path |
author, DEFAULT_MAX_GEN_KEPT, DEFAULT_PUBLISH, DEFAULT_UPDATE, description, maxGenKept, name, publish, update
format
Constructor and Description |
---|
UploadLocalFile() |
UploadLocalFile(UploadLocalFile o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this UploadLocalFile.
|
static UploadLocalFile |
fromString(java.lang.String s)
String representation of this UploadLocalFile.
|
java.lang.String |
getPath() |
UploadLocalFile |
makeCopy()
Creates and returns a deep copy of this UploadLocalFile.
|
static UploadLocalFile |
readFrom(java.io.InputStream is)
Read this UploadLocalFile from an XML fragment.
|
void |
setPath(java.lang.String path) |
java.lang.String |
toString()
String representation of this UploadLocalFile.
|
UploadLocalFile |
withAuthor(java.lang.String author) |
UploadLocalFile |
withDescription(java.lang.String description) |
UploadLocalFile |
withFormat(java.lang.String format) |
UploadLocalFile |
withMaxGenKept(int maxGenKept) |
UploadLocalFile |
withMaxGenKept(java.lang.Integer maxGenKept) |
UploadLocalFile |
withName(java.lang.String name) |
UploadLocalFile |
withPath(java.lang.String path) |
UploadLocalFile |
withPublish(boolean publish) |
UploadLocalFile |
withPublish(java.lang.Boolean publish) |
UploadLocalFile |
withUpdate(boolean update) |
UploadLocalFile |
withUpdate(java.lang.Boolean update) |
void |
writeTo(java.io.OutputStream os)
Write this UploadLocalFile as an XML fragment
|
getAuthor, getDescription, getMaxGenKept, getName, isPublish, isUpdate, setAuthor, setDescription, setMaxGenKept, setName, setPublish, setUpdate
getFormat, getFormatAsEnum, isA, isOneOf, setFormat, setFormat
public UploadLocalFile()
public UploadLocalFile(UploadLocalFile o)
public UploadLocalFile withName(java.lang.String name)
public UploadLocalFile withAuthor(java.lang.String author)
withAuthor
in class Upload
public UploadLocalFile withDescription(java.lang.String description)
withDescription
in class Upload
public UploadLocalFile withPublish(boolean publish)
withPublish
in class Upload
public UploadLocalFile withPublish(java.lang.Boolean publish)
withPublish
in class Upload
public UploadLocalFile withUpdate(boolean update)
withUpdate
in class Upload
public UploadLocalFile withUpdate(java.lang.Boolean update)
withUpdate
in class Upload
public UploadLocalFile withMaxGenKept(int maxGenKept)
withMaxGenKept
in class Upload
public UploadLocalFile withMaxGenKept(java.lang.Integer maxGenKept)
withMaxGenKept
in class Upload
public UploadLocalFile withFormat(java.lang.String format)
withFormat
in class Upload
public void setPath(java.lang.String path)
public java.lang.String getPath()
public UploadLocalFile withPath(java.lang.String path)
public UploadLocalFile makeCopy()
public static UploadLocalFile 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 UploadLocalFile 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.