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 createRelationship element declaration. * *
The following schema fragment specifies the expected content contained within this class. * *
* <element name="createRelationship"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="typeId" type="{http://www.cmis.org/ns/1.0}ID"/> * <element name="propertyCollection" type="{http://www.cmis.org/ns/1.0}relationshipObjectType"/> * <element name="sourceObjectId" type="{http://www.cmis.org/ns/1.0}objectID"/> * <element name="targetObjectId" type="{http://www.cmis.org/ns/1.0}objectID"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> ** * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "typeId", "propertyCollection", "sourceObjectId", "targetObjectId" }) @XmlRootElement(name = "createRelationship") public class CreateRelationship { @XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true) protected String typeId; @XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true) protected RelationshipObjectType propertyCollection; @XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true) protected String sourceObjectId; @XmlElement(namespace = "http://www.cmis.org/ns/1.0", required = true) protected String targetObjectId; /** * Gets the value of the typeId property. * * @return * possible object is * {@link String } * */ public String getTypeId() { return typeId; } /** * Sets the value of the typeId property. * * @param value * allowed object is * {@link String } * */ public void setTypeId(String value) { this.typeId = value; } /** * Gets the value of the propertyCollection property. * * @return * possible object is * {@link RelationshipObjectType } * */ public RelationshipObjectType getPropertyCollection() { return propertyCollection; } /** * Sets the value of the propertyCollection property. * * @param value * allowed object is * {@link RelationshipObjectType } * */ public void setPropertyCollection(RelationshipObjectType value) { this.propertyCollection = value; } /** * Gets the value of the sourceObjectId property. * * @return * possible object is * {@link String } * */ public String getSourceObjectId() { return sourceObjectId; } /** * Sets the value of the sourceObjectId property. * * @param value * allowed object is * {@link String } * */ public void setSourceObjectId(String value) { this.sourceObjectId = value; } /** * Gets the value of the targetObjectId property. * * @return * possible object is * {@link String } * */ public String getTargetObjectId() { return targetObjectId; } /** * Sets the value of the targetObjectId property. * * @param value * allowed object is * {@link String } * */ public void setTargetObjectId(String value) { this.targetObjectId = value; } }