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; /** *

Java class for cmisPropertyHtml complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="cmisPropertyHtml">
 *   <complexContent>
 *     <extension base="{http://www.cmis.org/2008/05}cmisProperty">
 *       <sequence>
 *         <any/>
 *       </sequence>
 *       <attribute ref="{http://www.cmis.org/2008/05}propertyType default="html""/>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "cmisPropertyHtml", propOrder = { "any" }) public class CmisPropertyHtml extends CmisProperty { @XmlAnyElement(lax = true) protected List any; @XmlAttribute(namespace = "http://www.cmis.org/2008/05") protected EnumPropertyType propertyType; /** * Gets the value of the any 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 any property. * *

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

     *    getAny().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Element } * {@link Object } * * */ public List getAny() { if (any == null) { any = new ArrayList(); } 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; } }