Package com.flower.docs.ws.api.document
Class AddFilesRequest
- java.lang.Object
-
- com.flower.docs.ws.api.document.AddFilesRequest
-
public class AddFilesRequest extends java.lang.Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="documentId" type="{http://flower.com/docs/domain/common}Id"/> <element name="files" type="{http://flower.com/docs/domain/file}DocumentFile" maxOccurs="unbounded"/> <element name="replace" type="{http://www.w3.org/2001/XMLSchema}boolean"/> </sequence> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected com.flower.docs.domain.common.Id
documentId
protected java.util.List<com.flower.docs.domain.file.DocumentFile>
files
protected boolean
replace
-
Constructor Summary
Constructors Constructor Description AddFilesRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.flower.docs.domain.common.Id
getDocumentId()
Gets the value of the documentId property.java.util.List<com.flower.docs.domain.file.DocumentFile>
getFiles()
Gets the value of the files property.boolean
isReplace()
Gets the value of the replace property.void
setDocumentId(com.flower.docs.domain.common.Id value)
Sets the value of the documentId property.void
setReplace(boolean value)
Sets the value of the replace property.
-
-
-
Method Detail
-
getDocumentId
public com.flower.docs.domain.common.Id getDocumentId()
Gets the value of the documentId property.- Returns:
- possible object is
Id
-
setDocumentId
public void setDocumentId(com.flower.docs.domain.common.Id value)
Sets the value of the documentId property.- Parameters:
value
- allowed object isId
-
getFiles
public java.util.List<com.flower.docs.domain.file.DocumentFile> getFiles()
Gets the value of the files property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
set
method for the files property.For example, to add a new item, do as follows:
getFiles().add(newItem);
Objects of the following type(s) are allowed in the list
DocumentFile
-
isReplace
public boolean isReplace()
Gets the value of the replace property.
-
setReplace
public void setReplace(boolean value)
Sets the value of the replace property.
-
-