package org.alfresco.repo.cmis.ws; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** *
Java class for checkIn element declaration. * *
The following schema fragment specifies the expected content contained within this class. * *
* <element name="checkIn"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="repositoryId" type="{http://www.cmis.org/ns/1.0}ID"/> * <element name="documentId" type="{http://www.cmis.org/ns/1.0}ID"/> * <element name="major" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * <element name="properties" type="{http://www.cmis.org/ns/1.0}propertiesType" minOccurs="0"/> * <element ref="{http://www.cmis.org/ns/1.0}contentStream" minOccurs="0"/> * <element name="checkinComment" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> ** * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "repositoryId", "documentId", "major", "properties", "contentStream", "checkinComment" }) @XmlRootElement(name = "checkIn") public class CheckIn { @XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true) protected String repositoryId; @XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true) protected String documentId; @XmlElement(namespace = "http://www.cmis.org/ns/1.0") protected Boolean major; @XmlElement(namespace = "http://www.cmis.org/ns/1.0") protected PropertiesType properties; @XmlElement(namespace = "http://www.cmis.org/ns/1.0") protected ContentStreamType contentStream; @XmlElement(namespace = "http://www.cmis.org/ns/1.0") protected String checkinComment; /** * 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 Boolean } * */ public Boolean isMajor() { return major; } /** * Sets the value of the major property. * * @param value * allowed object is * {@link Boolean } * */ public void setMajor(Boolean value) { this.major = value; } /** * Gets the value of the properties property. * * @return * possible object is * {@link PropertiesType } * */ public PropertiesType getProperties() { return properties; } /** * Sets the value of the properties property. * * @param value * allowed object is * {@link PropertiesType } * */ public void setProperties(PropertiesType value) { this.properties = value; } /** * Gets the value of the contentStream property. * * @return * possible object is * {@link ContentStreamType } * */ public ContentStreamType getContentStream() { return contentStream; } /** * Sets the value of the contentStream property. * * @param value * allowed object is * {@link ContentStreamType } * */ public void setContentStream(ContentStreamType value) { this.contentStream = value; } /** * Gets the value of the checkinComment property. * * @return * possible object is * {@link String } * */ public String getCheckinComment() { return checkinComment; } /** * Sets the value of the checkinComment property. * * @param value * allowed object is * {@link String } * */ public void setCheckinComment(String value) { this.checkinComment = value; } }