Files
alfresco-community-repo/source/generated/org/alfresco/repo/cmis/ws/CmisPropertyHtml.java
2008-09-07 13:04:45 +00:00

106 lines
2.7 KiB
Java
Executable File

package org.alfresco.repo.cmis.ws;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;
/**
* <p>Java class for cmisPropertyHtml complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="cmisPropertyHtml">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisProperty">
* &lt;sequence>
* &lt;any/>
* &lt;/sequence>
* &lt;attribute ref="{http://www.cmis.org/2008/05}propertyType default="html""/>
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "cmisPropertyHtml", propOrder = {
"any"
})
public class CmisPropertyHtml
extends CmisProperty
{
@XmlAnyElement(lax = true)
protected List<Object> any;
@XmlAttribute(namespace = "http://www.cmis.org/2008/05")
protected EnumPropertyType propertyType;
/**
* Gets the value of the any property.
*
* <p>
* 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 <CODE>set</CODE> method for the any property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getAny().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Element }
* {@link Object }
*
*
*/
public List<Object> getAny() {
if (any == null) {
any = new ArrayList<Object>();
}
return this.any;
}
/**
* Gets the value of the propertyType property.
*
* @return
* possible object is
* {@link EnumPropertyType }
*
*/
public EnumPropertyType getPropertyType() {
if (propertyType == null) {
return EnumPropertyType.HTML;
} else {
return propertyType;
}
}
/**
* Sets the value of the propertyType property.
*
* @param value
* allowed object is
* {@link EnumPropertyType }
*
*/
public void setPropertyType(EnumPropertyType value) {
this.propertyType = value;
}
}