package org.alfresco.repo.cmis.ws; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAnyElement; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** *
Java class for cmisPermissionMapping complex type. * *
The following schema fragment specifies the expected content contained within this class. * *
* <complexType name="cmisPermissionMapping">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="key" type="{http://docs.oasis-open.org/ns/cmis/core/200901}enumAllowableActionsKey"/>
* <element name="permission" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <any/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "cmisPermissionMapping", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
"key",
"permission",
"any"
})
public class CmisPermissionMapping {
@XmlElement(required = true)
protected EnumAllowableActionsKey key;
@XmlElement(required = true)
protected String permission;
@XmlAnyElement(lax = true)
protected Object any;
/**
* Gets the value of the key property.
*
* @return
* possible object is
* {@link EnumAllowableActionsKey }
*
*/
public EnumAllowableActionsKey getKey() {
return key;
}
/**
* Sets the value of the key property.
*
* @param value
* allowed object is
* {@link EnumAllowableActionsKey }
*
*/
public void setKey(EnumAllowableActionsKey value) {
this.key = value;
}
/**
* Gets the value of the permission property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPermission() {
return permission;
}
/**
* Sets the value of the permission property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPermission(String value) {
this.permission = value;
}
/**
* Gets the value of the any property.
*
* @return
* possible object is
* {@link Object }
*
*/
public Object getAny() {
return any;
}
/**
* Sets the value of the any property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
public void setAny(Object value) {
this.any = value;
}
}