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

97 lines
2.4 KiB
Java
Executable File

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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for cmisPropertyUri complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* &lt;complexType name="cmisPropertyUri">
* &lt;complexContent>
* &lt;extension base="{http://www.cmis.org/2008/05}cmisProperty">
* &lt;sequence>
* &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
* &lt;/sequence>
* &lt;attribute ref="{http://www.cmis.org/2008/05}propertyType default="uri""/>
* &lt;/extension>
* &lt;/complexContent>
* &lt;/complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "cmisPropertyUri", propOrder = {
"value"
})
public class CmisPropertyUri
extends CmisProperty
{
@XmlSchemaType(name = "anyURI")
protected String value;
@XmlAttribute(namespace = "http://www.cmis.org/2008/05")
protected EnumPropertyType propertyType;
/**
* Gets the value of the value property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getValue() {
return value;
}
/**
* Sets the value of the value property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setValue(String value) {
this.value = value;
}
/**
* Gets the value of the propertyType property.
*
* @return
* possible object is
* {@link EnumPropertyType }
*
*/
public EnumPropertyType getPropertyType() {
if (propertyType == null) {
return EnumPropertyType.URI;
} 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;
}
}