All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.chemistry.opencmis.commons.impl.jaxb.CreateRelationship Maven / Gradle / Ivy

There is a newer version: 1.2.3
Show newest version

package org.apache.chemistry.opencmis.commons.impl.jaxb;

import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.JAXBElement;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlElementRef;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.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="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>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "repositoryId", "properties", "policies", "addACEs", "removeACEs", "extension" }) @XmlRootElement(name = "createRelationship") public class CreateRelationship { @XmlElement(required = true) protected String repositoryId; @XmlElement(required = true) protected CmisPropertiesType properties; @XmlElement(nillable = true) protected List policies; @XmlElementRef(name = "addACEs", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class, required = false) protected JAXBElement addACEs; @XmlElementRef(name = "removeACEs", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class, required = false) protected JAXBElement removeACEs; @XmlElementRef(name = "extension", namespace = "http://docs.oasis-open.org/ns/cmis/messaging/200908/", type = JAXBElement.class, required = false) protected JAXBElement extension; /** * 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 properties property. * * @return * possible object is * {@link CmisPropertiesType } * */ public CmisPropertiesType getProperties() { return properties; } /** * Sets the value of the properties property. * * @param value * allowed object is * {@link CmisPropertiesType } * */ public void setProperties(CmisPropertiesType value) { this.properties = value; } /** * 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 Jakarta XML Binding 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 * {@link String } * * */ public List getPolicies() { if (policies == null) { policies = new ArrayList(); } return this.policies; } /** * 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 = 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 = value; } /** * Gets the value of the extension property. * * @return * possible object is * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} * */ public JAXBElement getExtension() { return extension; } /** * Sets the value of the extension property. * * @param value * allowed object is * {@link JAXBElement }{@code <}{@link CmisExtensionType }{@code >} * */ public void setExtension(JAXBElement value) { this.extension = value; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy