package org.alfresco.repo.cmis.ws; import java.util.ArrayList; import java.util.List; import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlElementRef; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** *

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="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="documentId" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="major" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisPropertiesType" minOccurs="0"/>
 *         <element name="contentStream" type="{http://docs.oasis-open.org/ns/cmis/messaging/200901}cmisContentStreamType" minOccurs="0"/>
 *         <element name="checkinComment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="applyPolicies" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="addACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisAccessControlListType" minOccurs="0"/>
 *         <element name="removeACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisAccessControlListType" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "repositoryId", "documentId", "major", "properties", "contentStream", "checkinComment", "applyPolicies", "addACEs", "removeACEs" }) @XmlRootElement(name = "checkIn") public class CheckIn { @XmlElement(required = true) protected String repositoryId; @XmlElement(required = true) protected String documentId; @XmlElementRef(name = "major", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) protected JAXBElement major; @XmlElementRef(name = "properties", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) protected JAXBElement properties; @XmlElementRef(name = "contentStream", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) protected JAXBElement contentStream; @XmlElementRef(name = "checkinComment", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) protected JAXBElement checkinComment; @XmlElement(nillable = true) protected List applyPolicies; @XmlElementRef(name = "addACEs", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) protected JAXBElement addACEs; @XmlElementRef(name = "removeACEs", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200901", type = JAXBElement.class) protected JAXBElement removeACEs; /** * Gets the value of the repositoryId property. * * @return * possible object is * {@link String } * */ public String getRepositoryId() { return repositoryId; } /** * Sets the value of the repositoryId property. * * @param value * allowed object is * {@link String } * */ public void setRepositoryId(String value) { this.repositoryId = value; } /** * Gets the value of the documentId property. * * @return * possible object is * {@link String } * */ public String getDocumentId() { return documentId; } /** * Sets the value of the documentId property. * * @param value * allowed object is * {@link String } * */ public void setDocumentId(String value) { this.documentId = value; } /** * Gets the value of the major property. * * @return * possible object is * {@link JAXBElement }{@code <}{@link Boolean }{@code >} * */ public JAXBElement getMajor() { return major; } /** * Sets the value of the major property. * * @param value * allowed object is * {@link JAXBElement }{@code <}{@link Boolean }{@code >} * */ public void setMajor(JAXBElement value) { this.major = ((JAXBElement ) value); } /** * Gets the value of the properties property. * * @return * possible object is * {@link JAXBElement }{@code <}{@link CmisPropertiesType }{@code >} * */ public JAXBElement getProperties() { return properties; } /** * Sets the value of the properties property. * * @param value * allowed object is * {@link JAXBElement }{@code <}{@link CmisPropertiesType }{@code >} * */ public void setProperties(JAXBElement value) { this.properties = ((JAXBElement ) value); } /** * Gets the value of the contentStream property. * * @return * possible object is * {@link JAXBElement }{@code <}{@link CmisContentStreamType }{@code >} * */ public JAXBElement getContentStream() { return contentStream; } /** * Sets the value of the contentStream property. * * @param value * allowed object is * {@link JAXBElement }{@code <}{@link CmisContentStreamType }{@code >} * */ public void setContentStream(JAXBElement value) { this.contentStream = ((JAXBElement ) value); } /** * Gets the value of the checkinComment property. * * @return * possible object is * {@link JAXBElement }{@code <}{@link String }{@code >} * */ public JAXBElement getCheckinComment() { return checkinComment; } /** * Sets the value of the checkinComment property. * * @param value * allowed object is * {@link JAXBElement }{@code <}{@link String }{@code >} * */ public void setCheckinComment(JAXBElement value) { this.checkinComment = ((JAXBElement ) value); } /** * Gets the value of the applyPolicies 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 applyPolicies property. * *

* For example, to add a new item, do as follows: *

     *    getApplyPolicies().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getApplyPolicies() { if (applyPolicies == null) { applyPolicies = new ArrayList(); } return this.applyPolicies; } /** * Gets the value of the addACEs property. * * @return * possible object is * {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >} * */ public JAXBElement getAddACEs() { return addACEs; } /** * Sets the value of the addACEs property. * * @param value * allowed object is * {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >} * */ public void setAddACEs(JAXBElement value) { this.addACEs = ((JAXBElement ) value); } /** * Gets the value of the removeACEs property. * * @return * possible object is * {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >} * */ public JAXBElement getRemoveACEs() { return removeACEs; } /** * Sets the value of the removeACEs property. * * @param value * allowed object is * {@link JAXBElement }{@code <}{@link CmisAccessControlListType }{@code >} * */ public void setRemoveACEs(JAXBElement value) { this.removeACEs = ((JAXBElement ) value); } }