Class SaveAttributesRequest
- java.lang.Object
-
- com.iknowbase.api.contentservices.v1.model.SaveAttributesRequest
-
- All Implemented Interfaces:
Serializable
public class SaveAttributesRequest 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="documentReference" type="{http://www.iknowbase.com/ws/iknowbase-1}documentReferenceType"/> <element name="attribute" type="{http://www.iknowbase.com/ws/iknowbase-1}attributeType" maxOccurs="unbounded"/> <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="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 List<AttributeType>
attribute
protected DocumentReferenceType
documentReference
protected String
eventMode
protected boolean
external
protected String
user
protected String
versionComment
protected String
versionType
-
Constructor Summary
Constructors Constructor Description SaveAttributesRequest()
Default no-arg constructorSaveAttributesRequest(DocumentReferenceType documentReference, List<AttributeType> attribute, String versionType, String versionComment, boolean external, String eventMode, String user)
Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AttributeType>
getAttribute()
Gets the value of the attribute property.DocumentReferenceType
getDocumentReference()
Gets the value of the documentReference property.String
getEventMode()
Gets the value of the eventMode 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
setDocumentReference(DocumentReferenceType value)
Sets the value of the documentReference property.void
setEventMode(String value)
Sets the value of the eventMode property.void
setExternal(boolean value)
Sets the value of the external 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.SaveAttributesRequest
withAttribute(AttributeType... values)
SaveAttributesRequest
withAttribute(Collection<AttributeType> values)
SaveAttributesRequest
withDocumentReference(DocumentReferenceType value)
SaveAttributesRequest
withEventMode(String value)
SaveAttributesRequest
withExternal(boolean value)
SaveAttributesRequest
withUser(String value)
SaveAttributesRequest
withVersionComment(String value)
SaveAttributesRequest
withVersionType(String value)
-
-
-
Field Detail
-
documentReference
protected DocumentReferenceType documentReference
-
attribute
protected List<AttributeType> attribute
-
versionType
protected String versionType
-
versionComment
protected String versionComment
-
external
protected boolean external
-
eventMode
protected String eventMode
-
user
protected String user
-
-
Constructor Detail
-
SaveAttributesRequest
public SaveAttributesRequest()
Default no-arg constructor
-
SaveAttributesRequest
public SaveAttributesRequest(DocumentReferenceType documentReference, List<AttributeType> attribute, String versionType, String versionComment, boolean external, String eventMode, String user)
Fully-initialising value constructor
-
-
Method Detail
-
getDocumentReference
public DocumentReferenceType getDocumentReference()
Gets the value of the documentReference property.- Returns:
- possible object is
DocumentReferenceType
-
setDocumentReference
public void setDocumentReference(DocumentReferenceType value)
Sets the value of the documentReference property.- Parameters:
value
- allowed object isDocumentReferenceType
-
getAttribute
public List<AttributeType> getAttribute()
Gets the value of the attribute 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 attribute property.For example, to add a new item, do as follows:
getAttribute().add(newItem);
Objects of the following type(s) are allowed in the list
AttributeType
-
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.
-
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
-
withDocumentReference
public SaveAttributesRequest withDocumentReference(DocumentReferenceType value)
-
withAttribute
public SaveAttributesRequest withAttribute(AttributeType... values)
-
withAttribute
public SaveAttributesRequest withAttribute(Collection<AttributeType> values)
-
withVersionType
public SaveAttributesRequest withVersionType(String value)
-
withVersionComment
public SaveAttributesRequest withVersionComment(String value)
-
withExternal
public SaveAttributesRequest withExternal(boolean value)
-
withEventMode
public SaveAttributesRequest withEventMode(String value)
-
withUser
public SaveAttributesRequest withUser(String value)
-
-