mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10722 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
119 lines
2.7 KiB
Java
119 lines
2.7 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.XmlAttribute;
|
|
import javax.xml.bind.annotation.XmlRootElement;
|
|
import javax.xml.bind.annotation.XmlType;
|
|
import javax.xml.bind.annotation.XmlValue;
|
|
|
|
|
|
/**
|
|
* <p>Java class for property element declaration.
|
|
*
|
|
* <p>The following schema fragment specifies the expected content contained within this class.
|
|
*
|
|
* <pre>
|
|
* <element name="property">
|
|
* <complexType>
|
|
* <complexContent>
|
|
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
* <attribute name="index" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
|
|
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
|
|
* </restriction>
|
|
* </complexContent>
|
|
* </complexType>
|
|
* </element>
|
|
* </pre>
|
|
*
|
|
*
|
|
*/
|
|
@XmlAccessorType(XmlAccessType.FIELD)
|
|
@XmlType(name = "", propOrder = {
|
|
"content"
|
|
})
|
|
@XmlRootElement(name = "property")
|
|
public class Property {
|
|
|
|
@XmlValue
|
|
protected String content;
|
|
@XmlAttribute
|
|
protected String index;
|
|
@XmlAttribute(required = true)
|
|
protected String name;
|
|
|
|
/**
|
|
* Gets the value of the content property.
|
|
*
|
|
* @return
|
|
* possible object is
|
|
* {@link String }
|
|
*
|
|
*/
|
|
public String getContent() {
|
|
return content;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the content property.
|
|
*
|
|
* @param value
|
|
* allowed object is
|
|
* {@link String }
|
|
*
|
|
*/
|
|
public void setContent(String value) {
|
|
this.content = value;
|
|
}
|
|
|
|
/**
|
|
* Gets the value of the index property.
|
|
*
|
|
* @return
|
|
* possible object is
|
|
* {@link String }
|
|
*
|
|
*/
|
|
public String getIndex() {
|
|
return index;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the index property.
|
|
*
|
|
* @param value
|
|
* allowed object is
|
|
* {@link String }
|
|
*
|
|
*/
|
|
public void setIndex(String value) {
|
|
this.index = value;
|
|
}
|
|
|
|
/**
|
|
* Gets the value of the name property.
|
|
*
|
|
* @return
|
|
* possible object is
|
|
* {@link String }
|
|
*
|
|
*/
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the name property.
|
|
*
|
|
* @param value
|
|
* allowed object is
|
|
* {@link String }
|
|
*
|
|
*/
|
|
public void setName(String value) {
|
|
this.name = value;
|
|
}
|
|
|
|
}
|