org.apache.chemistry.opencmis.commons.impl.jaxb
Class CreateRelationship

java.lang.Object
  extended by org.apache.chemistry.opencmis.commons.impl.jaxb.CreateRelationship

public class CreateRelationship
extends java.lang.Object

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="properties" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertiesType"/>
         <element name="policies" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="addACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisAccessControlListType" minOccurs="0"/>
         <element name="removeACEs" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisAccessControlListType" minOccurs="0"/>
         <element name="extension" type="{http://docs.oasis-open.org/ns/cmis/messaging/200908/}cmisExtensionType" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  javax.xml.bind.JAXBElement<CmisAccessControlListType> addACEs
           
protected  javax.xml.bind.JAXBElement<CmisExtensionType> extension
           
protected  java.util.List<java.lang.String> policies
           
protected  CmisPropertiesType properties
           
protected  javax.xml.bind.JAXBElement<CmisAccessControlListType> removeACEs
           
protected  java.lang.String repositoryId
           
 
Constructor Summary
CreateRelationship()
           
 
Method Summary
 javax.xml.bind.JAXBElement<CmisAccessControlListType> getAddACEs()
          Gets the value of the addACEs property.
 javax.xml.bind.JAXBElement<CmisExtensionType> getExtension()
          Gets the value of the extension property.
 java.util.List<java.lang.String> getPolicies()
          Gets the value of the policies property.
 CmisPropertiesType getProperties()
          Gets the value of the properties property.
 javax.xml.bind.JAXBElement<CmisAccessControlListType> getRemoveACEs()
          Gets the value of the removeACEs property.
 java.lang.String getRepositoryId()
          Gets the value of the repositoryId property.
 void setAddACEs(javax.xml.bind.JAXBElement<CmisAccessControlListType> value)
          Sets the value of the addACEs property.
 void setExtension(javax.xml.bind.JAXBElement<CmisExtensionType> value)
          Sets the value of the extension property.
 void setProperties(CmisPropertiesType value)
          Sets the value of the properties property.
 void setRemoveACEs(javax.xml.bind.JAXBElement<CmisAccessControlListType> value)
          Sets the value of the removeACEs property.
 void setRepositoryId(java.lang.String value)
          Sets the value of the repositoryId property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

repositoryId

protected java.lang.String repositoryId

properties

protected CmisPropertiesType properties

policies

protected java.util.List<java.lang.String> policies

addACEs

protected javax.xml.bind.JAXBElement<CmisAccessControlListType> addACEs

removeACEs

protected javax.xml.bind.JAXBElement<CmisAccessControlListType> removeACEs

extension

protected javax.xml.bind.JAXBElement<CmisExtensionType> extension
Constructor Detail

CreateRelationship

public CreateRelationship()
Method Detail

getRepositoryId

public java.lang.String getRepositoryId()
Gets the value of the repositoryId property.

Returns:
possible object is String

setRepositoryId

public void setRepositoryId(java.lang.String value)
Sets the value of the repositoryId property.

Parameters:
value - allowed object is String

getProperties

public CmisPropertiesType getProperties()
Gets the value of the properties property.

Returns:
possible object is CmisPropertiesType

setProperties

public void setProperties(CmisPropertiesType value)
Sets the value of the properties property.

Parameters:
value - allowed object is CmisPropertiesType

getPolicies

public java.util.List<java.lang.String> getPolicies()
Gets the value of the policies 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 policies property.

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

    getPolicies().add(newItem);
 

Objects of the following type(s) are allowed in the list String


getAddACEs

public javax.xml.bind.JAXBElement<CmisAccessControlListType> getAddACEs()
Gets the value of the addACEs property.

Returns:
possible object is JAXBElement<CmisAccessControlListType>

setAddACEs

public void setAddACEs(javax.xml.bind.JAXBElement<CmisAccessControlListType> value)
Sets the value of the addACEs property.

Parameters:
value - allowed object is JAXBElement<CmisAccessControlListType>

getRemoveACEs

public javax.xml.bind.JAXBElement<CmisAccessControlListType> getRemoveACEs()
Gets the value of the removeACEs property.

Returns:
possible object is JAXBElement<CmisAccessControlListType>

setRemoveACEs

public void setRemoveACEs(javax.xml.bind.JAXBElement<CmisAccessControlListType> value)
Sets the value of the removeACEs property.

Parameters:
value - allowed object is JAXBElement<CmisAccessControlListType>

getExtension

public javax.xml.bind.JAXBElement<CmisExtensionType> getExtension()
Gets the value of the extension property.

Returns:
possible object is JAXBElement<CmisExtensionType>

setExtension

public void setExtension(javax.xml.bind.JAXBElement<CmisExtensionType> value)
Sets the value of the extension property.

Parameters:
value - allowed object is JAXBElement<CmisExtensionType>


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.