Class SaveDocumentRequest
- java.lang.Object
-
- com.iknowbase.api.contentservices.v1.model.SaveDocumentRequest
-
- All Implemented Interfaces:
Serializable
public class SaveDocumentRequest extends Object implements Serializable
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="document" type="{http://www.iknowbase.com/ws/iknowbase-1}documentType"/> <element name="externalEntity" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="versionType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="versionComment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="external" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="saveMode" type="{http://www.iknowbase.com/ws/iknowbase-1}saveModes"/> <element name="eventMode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="user" type="{http://www.w3.org/2001/XMLSchema}string"/> </sequence> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected DocumentType
document
protected String
eventMode
protected boolean
external
protected String
externalEntity
protected SaveModes
saveMode
protected String
user
protected String
versionComment
protected String
versionType
-
Constructor Summary
Constructors Constructor Description SaveDocumentRequest()
Default no-arg constructorSaveDocumentRequest(DocumentType document, String externalEntity, String versionType, String versionComment, boolean external, SaveModes saveMode, String eventMode, String user)
Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentType
getDocument()
Gets the value of the document property.String
getEventMode()
Gets the value of the eventMode property.String
getExternalEntity()
Gets the value of the externalEntity property.SaveModes
getSaveMode()
Gets the value of the saveMode property.String
getUser()
Gets the value of the user property.String
getVersionComment()
Gets the value of the versionComment property.String
getVersionType()
Gets the value of the versionType property.boolean
isExternal()
Gets the value of the external property.void
setDocument(DocumentType value)
Sets the value of the document property.void
setEventMode(String value)
Sets the value of the eventMode property.void
setExternal(boolean value)
Sets the value of the external property.void
setExternalEntity(String value)
Sets the value of the externalEntity property.void
setSaveMode(SaveModes value)
Sets the value of the saveMode property.void
setUser(String value)
Sets the value of the user property.void
setVersionComment(String value)
Sets the value of the versionComment property.void
setVersionType(String value)
Sets the value of the versionType property.SaveDocumentRequest
withDocument(DocumentType value)
SaveDocumentRequest
withEventMode(String value)
SaveDocumentRequest
withExternal(boolean value)
SaveDocumentRequest
withExternalEntity(String value)
SaveDocumentRequest
withSaveMode(SaveModes value)
SaveDocumentRequest
withUser(String value)
SaveDocumentRequest
withVersionComment(String value)
SaveDocumentRequest
withVersionType(String value)
-
-
-
Field Detail
-
document
protected DocumentType document
-
externalEntity
protected String externalEntity
-
versionType
protected String versionType
-
versionComment
protected String versionComment
-
external
protected boolean external
-
saveMode
protected SaveModes saveMode
-
eventMode
protected String eventMode
-
user
protected String user
-
-
Method Detail
-
getDocument
public DocumentType getDocument()
Gets the value of the document property.- Returns:
- possible object is
DocumentType
-
setDocument
public void setDocument(DocumentType value)
Sets the value of the document property.- Parameters:
value
- allowed object isDocumentType
-
getExternalEntity
public String getExternalEntity()
Gets the value of the externalEntity property.- Returns:
- possible object is
String
-
setExternalEntity
public void setExternalEntity(String value)
Sets the value of the externalEntity property.- Parameters:
value
- allowed object isString
-
getVersionType
public String getVersionType()
Gets the value of the versionType property.- Returns:
- possible object is
String
-
setVersionType
public void setVersionType(String value)
Sets the value of the versionType property.- Parameters:
value
- allowed object isString
-
getVersionComment
public String getVersionComment()
Gets the value of the versionComment property.- Returns:
- possible object is
String
-
setVersionComment
public void setVersionComment(String value)
Sets the value of the versionComment property.- Parameters:
value
- allowed object isString
-
isExternal
public boolean isExternal()
Gets the value of the external property.
-
setExternal
public void setExternal(boolean value)
Sets the value of the external property.
-
getSaveMode
public SaveModes getSaveMode()
Gets the value of the saveMode property.- Returns:
- possible object is
SaveModes
-
setSaveMode
public void setSaveMode(SaveModes value)
Sets the value of the saveMode property.- Parameters:
value
- allowed object isSaveModes
-
getEventMode
public String getEventMode()
Gets the value of the eventMode property.- Returns:
- possible object is
String
-
setEventMode
public void setEventMode(String value)
Sets the value of the eventMode property.- Parameters:
value
- allowed object isString
-
getUser
public String getUser()
Gets the value of the user property.- Returns:
- possible object is
String
-
setUser
public void setUser(String value)
Sets the value of the user property.- Parameters:
value
- allowed object isString
-
withDocument
public SaveDocumentRequest withDocument(DocumentType value)
-
withExternalEntity
public SaveDocumentRequest withExternalEntity(String value)
-
withVersionType
public SaveDocumentRequest withVersionType(String value)
-
withVersionComment
public SaveDocumentRequest withVersionComment(String value)
-
withExternal
public SaveDocumentRequest withExternal(boolean value)
-
withSaveMode
public SaveDocumentRequest withSaveMode(SaveModes value)
-
withEventMode
public SaveDocumentRequest withEventMode(String value)
-
withUser
public SaveDocumentRequest withUser(String value)
-
-