Files
alfresco-community-repo/source/generated/org/alfresco/repo/cmis/ws/CreateRelationship.java
David Caruana f51be032bc Merge from SEAMIST3
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10722 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-09-04 10:44:42 +00:00

151 lines
4.0 KiB
Java

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;
/**
* <p>Java class for createRelationship element declaration.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;element name="createRelationship">
* &lt;complexType>
* &lt;complexContent>
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;sequence>
* &lt;element name="typeId" type="{http://www.cmis.org/ns/1.0}ID"/>
* &lt;element name="propertyCollection" type="{http://www.cmis.org/ns/1.0}relationshipObjectType"/>
* &lt;element name="sourceObjectId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;element name="targetObjectId" type="{http://www.cmis.org/ns/1.0}objectID"/>
* &lt;/sequence>
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
* &lt;/element>
* </pre>
*
*
*/
@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;
}
}