jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject svn commit: r728722 [2/8] - in /jackrabbit/sandbox/jcr-cmis/server/ws: ./ src/ src/main/ src/main/java/ src/main/java/org/ src/main/java/org/apache/ src/main/java/org/apache/jackrabbit/ src/main/java/org/apache/jackrabbit/cmis/ src/main/java/org/apache...
Date Mon, 22 Dec 2008 16:37:38 GMT
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceDateTimeType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceDateTimeType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceDateTimeType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceDateTimeType.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,65 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.datatype.XMLGregorianCalendar;
+
+
+/**
+ * <p>Java class for cmisChoiceDateTimeType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="cmisChoiceDateTimeType">
+ *   &lt;complexContent>
+ *     &lt;extension base="{http://www.cmis.org/2008/05}cmisChoiceType">
+ *       &lt;sequence>
+ *         &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
+ *       &lt;/sequence>
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisChoiceDateTimeType", propOrder = {
+    "value"
+})
+public class CmisChoiceDateTimeType
+    extends CmisChoiceType
+{
+
+    @XmlSchemaType(name = "dateTime")
+    protected XMLGregorianCalendar value;
+
+    /**
+     * Gets the value of the value property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link XMLGregorianCalendar }
+     *     
+     */
+    public XMLGregorianCalendar getValue() {
+        return value;
+    }
+
+    /**
+     * Sets the value of the value property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link XMLGregorianCalendar }
+     *     
+     */
+    public void setValue(XMLGregorianCalendar value) {
+        this.value = value;
+    }
+
+}

Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceDecimalType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceDecimalType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceDecimalType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceDecimalType.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,63 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import java.math.BigDecimal;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for cmisChoiceDecimalType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="cmisChoiceDecimalType">
+ *   &lt;complexContent>
+ *     &lt;extension base="{http://www.cmis.org/2008/05}cmisChoiceType">
+ *       &lt;sequence>
+ *         &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
+ *       &lt;/sequence>
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisChoiceDecimalType", propOrder = {
+    "value"
+})
+public class CmisChoiceDecimalType
+    extends CmisChoiceType
+{
+
+    protected BigDecimal value;
+
+    /**
+     * Gets the value of the value property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link BigDecimal }
+     *     
+     */
+    public BigDecimal getValue() {
+        return value;
+    }
+
+    /**
+     * Sets the value of the value property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link BigDecimal }
+     *     
+     */
+    public void setValue(BigDecimal value) {
+        this.value = value;
+    }
+
+}

Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceHtmlType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceHtmlType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceHtmlType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceHtmlType.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,73 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+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.XmlType;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for cmisChoiceHtmlType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="cmisChoiceHtmlType">
+ *   &lt;complexContent>
+ *     &lt;extension base="{http://www.cmis.org/2008/05}cmisChoiceType">
+ *       &lt;sequence>
+ *         &lt;any/>
+ *       &lt;/sequence>
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisChoiceHtmlType", propOrder = {
+    "any"
+})
+public class CmisChoiceHtmlType
+    extends CmisChoiceType
+{
+
+    @XmlAnyElement(lax = true)
+    protected List<Object> any;
+
+    /**
+     * 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;
+    }
+
+}

Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceIdType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceIdType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceIdType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceIdType.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,62 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for cmisChoiceIdType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="cmisChoiceIdType">
+ *   &lt;complexContent>
+ *     &lt;extension base="{http://www.cmis.org/2008/05}cmisChoiceType">
+ *       &lt;sequence>
+ *         &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       &lt;/sequence>
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisChoiceIdType", propOrder = {
+    "value"
+})
+public class CmisChoiceIdType
+    extends CmisChoiceType
+{
+
+    protected String value;
+
+    /**
+     * 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;
+    }
+
+}

Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceIntegerType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceIntegerType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceIntegerType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceIntegerType.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,63 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import java.math.BigInteger;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for cmisChoiceIntegerType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="cmisChoiceIntegerType">
+ *   &lt;complexContent>
+ *     &lt;extension base="{http://www.cmis.org/2008/05}cmisChoiceType">
+ *       &lt;sequence>
+ *         &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
+ *       &lt;/sequence>
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisChoiceIntegerType", propOrder = {
+    "value"
+})
+public class CmisChoiceIntegerType
+    extends CmisChoiceType
+{
+
+    protected BigInteger value;
+
+    /**
+     * Gets the value of the value property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link BigInteger }
+     *     
+     */
+    public BigInteger getValue() {
+        return value;
+    }
+
+    /**
+     * Sets the value of the value property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link BigInteger }
+     *     
+     */
+    public void setValue(BigInteger value) {
+        this.value = value;
+    }
+
+}

Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceStringType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceStringType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceStringType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceStringType.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,62 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for cmisChoiceStringType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="cmisChoiceStringType">
+ *   &lt;complexContent>
+ *     &lt;extension base="{http://www.cmis.org/2008/05}cmisChoiceType">
+ *       &lt;sequence>
+ *         &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *       &lt;/sequence>
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisChoiceStringType", propOrder = {
+    "value"
+})
+public class CmisChoiceStringType
+    extends CmisChoiceType
+{
+
+    protected String value;
+
+    /**
+     * 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;
+    }
+
+}

Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceType.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,172 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import java.math.BigInteger;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElementRef;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for cmisChoiceType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="cmisChoiceType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element ref="{http://www.cmis.org/2008/05}choice" maxOccurs="unbounded" minOccurs="0"/>
+ *       &lt;/sequence>
+ *       &lt;attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
+ *       &lt;attribute ref="{http://www.cmis.org/2008/05}index"/>
+ *       &lt;attribute ref="{http://www.cmis.org/2008/05}key"/>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisChoiceType", propOrder = {
+    "choice"
+})
+@XmlSeeAlso({
+    CmisChoiceDecimalType.class,
+    CmisChoiceXmlType.class,
+    CmisChoiceDateTimeType.class,
+    CmisChoiceStringType.class,
+    CmisChoiceUriType.class,
+    CmisChoiceIntegerType.class,
+    CmisChoiceHtmlType.class,
+    CmisChoiceIdType.class,
+    CmisChoiceBooleanType.class
+})
+public abstract class CmisChoiceType {
+
+    @XmlElementRef(name = "choice", namespace = "http://www.cmis.org/2008/05", type = JAXBElement.class)
+    protected List<JAXBElement<? extends CmisChoiceType>> choice;
+    @XmlAttribute(namespace = "http://www.cmis.org/2008/05")
+    protected BigInteger index;
+    @XmlAttribute(namespace = "http://www.cmis.org/2008/05")
+    protected String key;
+    @XmlAnyAttribute
+    private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+    /**
+     * Gets the value of the choice 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 choice property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getChoice().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link JAXBElement }{@code <}{@link CmisChoiceIdType }{@code >}
+     * {@link JAXBElement }{@code <}{@link CmisChoiceHtmlType }{@code >}
+     * {@link JAXBElement }{@code <}{@link CmisChoiceDateTimeType }{@code >}
+     * {@link JAXBElement }{@code <}{@link CmisChoiceUriType }{@code >}
+     * {@link JAXBElement }{@code <}{@link CmisChoiceDecimalType }{@code >}
+     * {@link JAXBElement }{@code <}{@link CmisChoiceType }{@code >}
+     * {@link JAXBElement }{@code <}{@link CmisChoiceStringType }{@code >}
+     * {@link JAXBElement }{@code <}{@link CmisChoiceXmlType }{@code >}
+     * {@link JAXBElement }{@code <}{@link CmisChoiceIntegerType }{@code >}
+     * {@link JAXBElement }{@code <}{@link CmisChoiceBooleanType }{@code >}
+     * 
+     * 
+     */
+    public List<JAXBElement<? extends CmisChoiceType>> getChoice() {
+        if (choice == null) {
+            choice = new ArrayList<JAXBElement<? extends CmisChoiceType>>();
+        }
+        return this.choice;
+    }
+
+    /**
+     * Gets the value of the index property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link BigInteger }
+     *     
+     */
+    public BigInteger getIndex() {
+        return index;
+    }
+
+    /**
+     * Sets the value of the index property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link BigInteger }
+     *     
+     */
+    public void setIndex(BigInteger value) {
+        this.index = value;
+    }
+
+    /**
+     * Gets the value of the key property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getKey() {
+        return key;
+    }
+
+    /**
+     * Sets the value of the key property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setKey(String value) {
+        this.key = value;
+    }
+
+    /**
+     * Gets a map that contains attributes that aren't bound to any typed property on this class.
+     * 
+     * <p>
+     * the map is keyed by the name of the attribute and 
+     * the value is the string value of the attribute.
+     * 
+     * the map returned by this method is live, and you can add new attribute
+     * by updating the map directly. Because of this design, there's no setter.
+     * 
+     * 
+     * @return
+     *     always non-null
+     */
+    public Map<QName, String> getOtherAttributes() {
+        return otherAttributes;
+    }
+
+}

Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceUriType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceUriType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceUriType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceUriType.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,64 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for cmisChoiceUriType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="cmisChoiceUriType">
+ *   &lt;complexContent>
+ *     &lt;extension base="{http://www.cmis.org/2008/05}cmisChoiceType">
+ *       &lt;sequence>
+ *         &lt;element name="value" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
+ *       &lt;/sequence>
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisChoiceUriType", propOrder = {
+    "value"
+})
+public class CmisChoiceUriType
+    extends CmisChoiceType
+{
+
+    @XmlSchemaType(name = "anyURI")
+    protected String value;
+
+    /**
+     * 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;
+    }
+
+}

Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceXmlType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceXmlType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceXmlType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisChoiceXmlType.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,73 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+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.XmlType;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for cmisChoiceXmlType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="cmisChoiceXmlType">
+ *   &lt;complexContent>
+ *     &lt;extension base="{http://www.cmis.org/2008/05}cmisChoiceType">
+ *       &lt;sequence>
+ *         &lt;any/>
+ *       &lt;/sequence>
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisChoiceXmlType", propOrder = {
+    "any"
+})
+public class CmisChoiceXmlType
+    extends CmisChoiceType
+{
+
+    @XmlAnyElement(lax = true)
+    protected List<Object> any;
+
+    /**
+     * 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;
+    }
+
+}

Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisContentStreamType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisContentStreamType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisContentStreamType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisContentStreamType.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,240 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import java.math.BigInteger;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.activation.DataHandler;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlMimeType;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for cmisContentStreamType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="cmisContentStreamType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="length" type="{http://www.w3.org/2001/XMLSchema}integer"/>
+ *         &lt;element name="mimeType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         &lt;element name="filename" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         &lt;element name="uri" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
+ *         &lt;element name="stream" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
+ *         &lt;any/>
+ *       &lt;/sequence>
+ *       &lt;attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisContentStreamType", propOrder = {
+    "length",
+    "mimeType",
+    "filename",
+    "uri",
+    "stream",
+    "any"
+})
+public class CmisContentStreamType {
+
+    @XmlElement(required = true)
+    protected BigInteger length;
+    protected String mimeType;
+    protected String filename;
+    @XmlSchemaType(name = "anyURI")
+    protected String uri;
+    @XmlElement(required = true)
+    @XmlMimeType("application/octet-stream")
+    protected DataHandler stream;
+    @XmlAnyElement(lax = true)
+    protected List<Object> any;
+    @XmlAnyAttribute
+    private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+    /**
+     * Gets the value of the length property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link BigInteger }
+     *     
+     */
+    public BigInteger getLength() {
+        return length;
+    }
+
+    /**
+     * Sets the value of the length property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link BigInteger }
+     *     
+     */
+    public void setLength(BigInteger value) {
+        this.length = value;
+    }
+
+    /**
+     * Gets the value of the mimeType property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getMimeType() {
+        return mimeType;
+    }
+
+    /**
+     * Sets the value of the mimeType property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setMimeType(String value) {
+        this.mimeType = value;
+    }
+
+    /**
+     * Gets the value of the filename property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getFilename() {
+        return filename;
+    }
+
+    /**
+     * Sets the value of the filename property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setFilename(String value) {
+        this.filename = value;
+    }
+
+    /**
+     * Gets the value of the uri property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getUri() {
+        return uri;
+    }
+
+    /**
+     * Sets the value of the uri property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setUri(String value) {
+        this.uri = value;
+    }
+
+    /**
+     * Gets the value of the stream property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link DataHandler }
+     *     
+     */
+    public DataHandler getStream() {
+        return stream;
+    }
+
+    /**
+     * Sets the value of the stream property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link DataHandler }
+     *     
+     */
+    public void setStream(DataHandler value) {
+        this.stream = value;
+    }
+
+    /**
+     * 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 a map that contains attributes that aren't bound to any typed property on this class.
+     * 
+     * <p>
+     * the map is keyed by the name of the attribute and 
+     * the value is the string value of the attribute.
+     * 
+     * the map returned by this method is live, and you can add new attribute
+     * by updating the map directly. Because of this design, there's no setter.
+     * 
+     * 
+     * @return
+     *     always non-null
+     */
+    public Map<QName, String> getOtherAttributes() {
+        return otherAttributes;
+    }
+
+}

Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisFaultType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisFaultType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisFaultType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisFaultType.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,110 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import java.math.BigInteger;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for cmisFaultType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="cmisFaultType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="errorCode" type="{http://www.w3.org/2001/XMLSchema}integer"/>
+ *         &lt;element name="errorMessage" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *       &lt;/sequence>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisFaultType", propOrder = {
+    "errorCode",
+    "errorMessage"
+})
+@XmlSeeAlso({
+    OperationNotSupportedExceptionType.class,
+    PermissionDeniedExceptionType.class,
+    NotInFolderExceptionType.class,
+    StorageExceptionType.class,
+    OffsetExceptionType.class,
+    ConstraintViolationExceptionType.class,
+    VersioningExceptionType.class,
+    InvalidArgumentExceptionType.class,
+    FilterNotValidExceptionType.class,
+    TypeNotFoundExceptionType.class,
+    UpdateConflictExceptionType.class,
+    FolderNotValidExceptionType.class,
+    ObjectNotFoundExceptionType.class,
+    StreamNotSupportedExceptionType.class,
+    RuntimeExceptionType.class,
+    ContentAlreadyExistsExceptionType.class
+})
+public class CmisFaultType {
+
+    @XmlElement(required = true)
+    protected BigInteger errorCode;
+    @XmlElement(required = true)
+    protected String errorMessage;
+
+    /**
+     * Gets the value of the errorCode property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link BigInteger }
+     *     
+     */
+    public BigInteger getErrorCode() {
+        return errorCode;
+    }
+
+    /**
+     * Sets the value of the errorCode property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link BigInteger }
+     *     
+     */
+    public void setErrorCode(BigInteger value) {
+        this.errorCode = value;
+    }
+
+    /**
+     * Gets the value of the errorMessage property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getErrorMessage() {
+        return errorMessage;
+    }
+
+    /**
+     * Sets the value of the errorMessage property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setErrorMessage(String value) {
+        this.errorMessage = value;
+    }
+
+}

Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisObjectType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisObjectType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisObjectType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisObjectType.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,214 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for cmisObjectType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="cmisObjectType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="properties" type="{http://www.cmis.org/2008/05}cmisPropertiesType" minOccurs="0"/>
+ *         &lt;element ref="{http://www.cmis.org/2008/05}allowableActions" minOccurs="0"/>
+ *         &lt;element name="relationship" type="{http://www.cmis.org/2008/05}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/>
+ *         &lt;element name="child" type="{http://www.cmis.org/2008/05}cmisObjectType" maxOccurs="unbounded" minOccurs="0"/>
+ *         &lt;any/>
+ *       &lt;/sequence>
+ *       &lt;attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisObjectType", propOrder = {
+    "properties",
+    "allowableActions",
+    "relationship",
+    "child",
+    "any"
+})
+public class CmisObjectType {
+
+    protected CmisPropertiesType properties;
+    protected CmisAllowableActionsType allowableActions;
+    protected List<CmisObjectType> relationship;
+    protected List<CmisObjectType> child;
+    @XmlAnyElement(lax = true)
+    protected List<Object> any;
+    @XmlAnyAttribute
+    private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+    /**
+     * Gets the value of the properties property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link CmisPropertiesType }
+     *     
+     */
+    public CmisPropertiesType getProperties() {
+        return properties;
+    }
+
+    /**
+     * Sets the value of the properties property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link CmisPropertiesType }
+     *     
+     */
+    public void setProperties(CmisPropertiesType value) {
+        this.properties = value;
+    }
+
+    /**
+     * Gets the value of the allowableActions property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link CmisAllowableActionsType }
+     *     
+     */
+    public CmisAllowableActionsType getAllowableActions() {
+        return allowableActions;
+    }
+
+    /**
+     * Sets the value of the allowableActions property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link CmisAllowableActionsType }
+     *     
+     */
+    public void setAllowableActions(CmisAllowableActionsType value) {
+        this.allowableActions = value;
+    }
+
+    /**
+     * Gets the value of the relationship 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 relationship property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getRelationship().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link CmisObjectType }
+     * 
+     * 
+     */
+    public List<CmisObjectType> getRelationship() {
+        if (relationship == null) {
+            relationship = new ArrayList<CmisObjectType>();
+        }
+        return this.relationship;
+    }
+
+    /**
+     * Gets the value of the child 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 child property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getChild().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link CmisObjectType }
+     * 
+     * 
+     */
+    public List<CmisObjectType> getChild() {
+        if (child == null) {
+            child = new ArrayList<CmisObjectType>();
+        }
+        return this.child;
+    }
+
+    /**
+     * 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 a map that contains attributes that aren't bound to any typed property on this class.
+     * 
+     * <p>
+     * the map is keyed by the name of the attribute and 
+     * the value is the string value of the attribute.
+     * 
+     * the map returned by this method is live, and you can add new attribute
+     * by updating the map directly. Because of this design, there's no setter.
+     * 
+     * 
+     * @return
+     *     always non-null
+     */
+    public Map<QName, String> getOtherAttributes() {
+        return otherAttributes;
+    }
+
+}

Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertiesType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertiesType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertiesType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertiesType.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,159 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlElements;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for cmisPropertiesType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="cmisPropertiesType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element ref="{http://www.cmis.org/2008/05}propertyBoolean"/>
+ *           &lt;element ref="{http://www.cmis.org/2008/05}propertyId"/>
+ *           &lt;element ref="{http://www.cmis.org/2008/05}propertyInteger"/>
+ *           &lt;element ref="{http://www.cmis.org/2008/05}propertyDateTime"/>
+ *           &lt;element ref="{http://www.cmis.org/2008/05}propertyDecimal"/>
+ *           &lt;element ref="{http://www.cmis.org/2008/05}propertyHtml"/>
+ *           &lt;element ref="{http://www.cmis.org/2008/05}propertyString"/>
+ *           &lt;element ref="{http://www.cmis.org/2008/05}propertyUri"/>
+ *           &lt;element ref="{http://www.cmis.org/2008/05}propertyXml"/>
+ *         &lt;/choice>
+ *         &lt;any/>
+ *       &lt;/sequence>
+ *       &lt;attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisPropertiesType", propOrder = {
+    "property",
+    "any"
+})
+public class CmisPropertiesType {
+
+    @XmlElements({
+        @XmlElement(name = "propertyHtml", type = CmisPropertyHtml.class, nillable = true),
+        @XmlElement(name = "propertyUri", type = CmisPropertyUri.class, nillable = true),
+        @XmlElement(name = "propertyString", type = CmisPropertyString.class, nillable = true),
+        @XmlElement(name = "propertyInteger", type = CmisPropertyInteger.class, nillable = true),
+        @XmlElement(name = "propertyId", type = CmisPropertyId.class, nillable = true),
+        @XmlElement(name = "propertyDecimal", type = CmisPropertyDecimal.class, nillable = true),
+        @XmlElement(name = "propertyDateTime", type = CmisPropertyDateTime.class, nillable = true),
+        @XmlElement(name = "propertyBoolean", type = CmisPropertyBoolean.class, nillable = true),
+        @XmlElement(name = "propertyXml", type = CmisPropertyXml.class, nillable = true)
+    })
+    protected List<CmisProperty> property;
+    @XmlAnyElement(lax = true)
+    protected List<Object> any;
+    @XmlAnyAttribute
+    private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+    /**
+     * Gets the value of the property 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 property property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getProperty().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link CmisPropertyHtml }
+     * {@link CmisPropertyUri }
+     * {@link CmisPropertyString }
+     * {@link CmisPropertyInteger }
+     * {@link CmisPropertyId }
+     * {@link CmisPropertyDecimal }
+     * {@link CmisPropertyDateTime }
+     * {@link CmisPropertyBoolean }
+     * {@link CmisPropertyXml }
+     * 
+     * 
+     */
+    public List<CmisProperty> getProperty() {
+        if (property == null) {
+            property = new ArrayList<CmisProperty>();
+        }
+        return this.property;
+    }
+
+    /**
+     * 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 a map that contains attributes that aren't bound to any typed property on this class.
+     * 
+     * <p>
+     * the map is keyed by the name of the attribute and 
+     * the value is the string value of the attribute.
+     * 
+     * the map returned by this method is live, and you can add new attribute
+     * by updating the map directly. Because of this design, there's no setter.
+     * 
+     * 
+     * @return
+     *     always non-null
+     */
+    public Map<QName, String> getOtherAttributes() {
+        return otherAttributes;
+    }
+
+}

Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisProperty.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisProperty.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisProperty.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisProperty.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,123 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import java.math.BigInteger;
+import java.util.HashMap;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+
+
+/**
+ * <p>Java class for cmisProperty complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="cmisProperty">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
+ *       &lt;attribute ref="{http://www.cmis.org/2008/05}name use="required""/>
+ *       &lt;attribute ref="{http://www.cmis.org/2008/05}index"/>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisProperty")
+@XmlSeeAlso({
+    CmisPropertyId.class,
+    CmisPropertyUri.class,
+    CmisPropertyDecimal.class,
+    CmisPropertyXml.class,
+    CmisPropertyString.class,
+    CmisPropertyDateTime.class,
+    CmisPropertyHtml.class,
+    CmisPropertyInteger.class,
+    CmisPropertyBoolean.class
+})
+public class CmisProperty {
+
+    @XmlAttribute(namespace = "http://www.cmis.org/2008/05", required = true)
+    protected String name;
+    @XmlAttribute(namespace = "http://www.cmis.org/2008/05")
+    protected BigInteger index;
+    @XmlAnyAttribute
+    private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+    /**
+     * 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;
+    }
+
+    /**
+     * Gets the value of the index property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link BigInteger }
+     *     
+     */
+    public BigInteger getIndex() {
+        return index;
+    }
+
+    /**
+     * Sets the value of the index property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link BigInteger }
+     *     
+     */
+    public void setIndex(BigInteger value) {
+        this.index = value;
+    }
+
+    /**
+     * Gets a map that contains attributes that aren't bound to any typed property on this class.
+     * 
+     * <p>
+     * the map is keyed by the name of the attribute and 
+     * the value is the string value of the attribute.
+     * 
+     * the map returned by this method is live, and you can add new attribute
+     * by updating the map directly. Because of this design, there's no setter.
+     * 
+     * 
+     * @return
+     *     always non-null
+     */
+    public Map<QName, String> getOtherAttributes() {
+        return otherAttributes;
+    }
+
+}

Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyBoolean.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyBoolean.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyBoolean.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyBoolean.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,94 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for cmisPropertyBoolean complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="cmisPropertyBoolean">
+ *   &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}boolean" minOccurs="0"/>
+ *       &lt;/sequence>
+ *       &lt;attribute ref="{http://www.cmis.org/2008/05}propertyType default="boolean""/>
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisPropertyBoolean", propOrder = {
+    "value"
+})
+public class CmisPropertyBoolean
+    extends CmisProperty
+{
+
+    protected Boolean value;
+    @XmlAttribute(namespace = "http://www.cmis.org/2008/05")
+    protected EnumPropertyType propertyType;
+
+    /**
+     * Gets the value of the value property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link Boolean }
+     *     
+     */
+    public Boolean isValue() {
+        return value;
+    }
+
+    /**
+     * Sets the value of the value property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link Boolean }
+     *     
+     */
+    public void setValue(Boolean 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.BOOLEAN;
+        } 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;
+    }
+
+}

Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyBooleanDefinitionType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyBooleanDefinitionType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyBooleanDefinitionType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyBooleanDefinitionType.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,69 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+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.XmlType;
+
+
+/**
+ * <p>Java class for cmisPropertyBooleanDefinitionType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="cmisPropertyBooleanDefinitionType">
+ *   &lt;complexContent>
+ *     &lt;extension base="{http://www.cmis.org/2008/05}cmisPropertyDefinitionType">
+ *       &lt;sequence>
+ *         &lt;element name="defaultValue" type="{http://www.cmis.org/2008/05}cmisChoiceBooleanType" maxOccurs="unbounded" minOccurs="0"/>
+ *       &lt;/sequence>
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisPropertyBooleanDefinitionType", propOrder = {
+    "defaultValue"
+})
+public class CmisPropertyBooleanDefinitionType
+    extends CmisPropertyDefinitionType
+{
+
+    protected List<CmisChoiceBooleanType> defaultValue;
+
+    /**
+     * Gets the value of the defaultValue 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 defaultValue property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getDefaultValue().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link CmisChoiceBooleanType }
+     * 
+     * 
+     */
+    public List<CmisChoiceBooleanType> getDefaultValue() {
+        if (defaultValue == null) {
+            defaultValue = new ArrayList<CmisChoiceBooleanType>();
+        }
+        return this.defaultValue;
+    }
+
+}

Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyDateTime.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyDateTime.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyDateTime.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyDateTime.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,97 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+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;
+import javax.xml.datatype.XMLGregorianCalendar;
+
+
+/**
+ * <p>Java class for cmisPropertyDateTime complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="cmisPropertyDateTime">
+ *   &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}dateTime" minOccurs="0"/>
+ *       &lt;/sequence>
+ *       &lt;attribute ref="{http://www.cmis.org/2008/05}propertyType default="datetime""/>
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisPropertyDateTime", propOrder = {
+    "value"
+})
+public class CmisPropertyDateTime
+    extends CmisProperty
+{
+
+    @XmlSchemaType(name = "dateTime")
+    protected XMLGregorianCalendar value;
+    @XmlAttribute(namespace = "http://www.cmis.org/2008/05")
+    protected EnumPropertyType propertyType;
+
+    /**
+     * Gets the value of the value property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link XMLGregorianCalendar }
+     *     
+     */
+    public XMLGregorianCalendar getValue() {
+        return value;
+    }
+
+    /**
+     * Sets the value of the value property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link XMLGregorianCalendar }
+     *     
+     */
+    public void setValue(XMLGregorianCalendar 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.DATETIME;
+        } 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;
+    }
+
+}

Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyDateTimeDefinitionType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyDateTimeDefinitionType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyDateTimeDefinitionType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyDateTimeDefinitionType.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,69 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+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.XmlType;
+
+
+/**
+ * <p>Java class for cmisPropertyDateTimeDefinitionType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="cmisPropertyDateTimeDefinitionType">
+ *   &lt;complexContent>
+ *     &lt;extension base="{http://www.cmis.org/2008/05}cmisPropertyDefinitionType">
+ *       &lt;sequence>
+ *         &lt;element name="defaultValue" type="{http://www.cmis.org/2008/05}cmisChoiceDateTimeType" maxOccurs="unbounded" minOccurs="0"/>
+ *       &lt;/sequence>
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisPropertyDateTimeDefinitionType", propOrder = {
+    "defaultValue"
+})
+public class CmisPropertyDateTimeDefinitionType
+    extends CmisPropertyDefinitionType
+{
+
+    protected List<CmisChoiceDateTimeType> defaultValue;
+
+    /**
+     * Gets the value of the defaultValue 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 defaultValue property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getDefaultValue().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link CmisChoiceDateTimeType }
+     * 
+     * 
+     */
+    public List<CmisChoiceDateTimeType> getDefaultValue() {
+        if (defaultValue == null) {
+            defaultValue = new ArrayList<CmisChoiceDateTimeType>();
+        }
+        return this.defaultValue;
+    }
+
+}

Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyDecimal.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyDecimal.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyDecimal.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyDecimal.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,95 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import java.math.BigDecimal;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for cmisPropertyDecimal complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="cmisPropertyDecimal">
+ *   &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}decimal" minOccurs="0"/>
+ *       &lt;/sequence>
+ *       &lt;attribute ref="{http://www.cmis.org/2008/05}propertyType default="decimal""/>
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisPropertyDecimal", propOrder = {
+    "value"
+})
+public class CmisPropertyDecimal
+    extends CmisProperty
+{
+
+    protected BigDecimal value;
+    @XmlAttribute(namespace = "http://www.cmis.org/2008/05")
+    protected EnumPropertyType propertyType;
+
+    /**
+     * Gets the value of the value property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link BigDecimal }
+     *     
+     */
+    public BigDecimal getValue() {
+        return value;
+    }
+
+    /**
+     * Sets the value of the value property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link BigDecimal }
+     *     
+     */
+    public void setValue(BigDecimal 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.DECIMAL;
+        } 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;
+    }
+
+}

Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyDecimalDefinitionType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyDecimalDefinitionType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyDecimalDefinitionType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyDecimalDefinitionType.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,97 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import java.math.BigInteger;
+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.XmlType;
+
+
+/**
+ * <p>Java class for cmisPropertyDecimalDefinitionType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="cmisPropertyDecimalDefinitionType">
+ *   &lt;complexContent>
+ *     &lt;extension base="{http://www.cmis.org/2008/05}cmisPropertyDefinitionType">
+ *       &lt;sequence>
+ *         &lt;element name="defaultValue" type="{http://www.cmis.org/2008/05}cmisChoiceDecimalType" maxOccurs="unbounded" minOccurs="0"/>
+ *         &lt;element name="precision" type="{http://www.cmis.org/2008/05}enumDecimalPrecision" minOccurs="0"/>
+ *       &lt;/sequence>
+ *     &lt;/extension>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisPropertyDecimalDefinitionType", propOrder = {
+    "defaultValue",
+    "precision"
+})
+public class CmisPropertyDecimalDefinitionType
+    extends CmisPropertyDefinitionType
+{
+
+    protected List<CmisChoiceDecimalType> defaultValue;
+    protected BigInteger precision;
+
+    /**
+     * Gets the value of the defaultValue 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 defaultValue property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getDefaultValue().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link CmisChoiceDecimalType }
+     * 
+     * 
+     */
+    public List<CmisChoiceDecimalType> getDefaultValue() {
+        if (defaultValue == null) {
+            defaultValue = new ArrayList<CmisChoiceDecimalType>();
+        }
+        return this.defaultValue;
+    }
+
+    /**
+     * Gets the value of the precision property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link BigInteger }
+     *     
+     */
+    public BigInteger getPrecision() {
+        return precision;
+    }
+
+    /**
+     * Sets the value of the precision property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link BigInteger }
+     *     
+     */
+    public void setPrecision(BigInteger value) {
+        this.precision = value;
+    }
+
+}

Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyDefinitionType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyDefinitionType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyDefinitionType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyDefinitionType.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,477 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAnyAttribute;
+import javax.xml.bind.annotation.XmlAnyElement;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlElements;
+import javax.xml.bind.annotation.XmlSeeAlso;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for cmisPropertyDefinitionType complex type.
+ * 
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * 
+ * <pre>
+ * &lt;complexType name="cmisPropertyDefinitionType">
+ *   &lt;complexContent>
+ *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       &lt;sequence>
+ *         &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element name="displayName" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ *         &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ *         &lt;element name="propertyType" type="{http://www.cmis.org/2008/05}enumPropertyType"/>
+ *         &lt;element name="cardinality" type="{http://www.cmis.org/2008/05}enumCardinality"/>
+ *         &lt;element name="updateability" type="{http://www.cmis.org/2008/05}enumUpdateability"/>
+ *         &lt;element name="inherited" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ *         &lt;element name="required" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ *         &lt;element name="queryable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ *         &lt;element name="orderable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ *         &lt;choice maxOccurs="unbounded" minOccurs="0">
+ *           &lt;element ref="{http://www.cmis.org/2008/05}choiceBoolean"/>
+ *           &lt;element ref="{http://www.cmis.org/2008/05}choiceDateTime"/>
+ *           &lt;element ref="{http://www.cmis.org/2008/05}choiceDecimal"/>
+ *           &lt;element ref="{http://www.cmis.org/2008/05}choiceHtml"/>
+ *           &lt;element ref="{http://www.cmis.org/2008/05}choiceId"/>
+ *           &lt;element ref="{http://www.cmis.org/2008/05}choiceInteger"/>
+ *           &lt;element ref="{http://www.cmis.org/2008/05}choiceString"/>
+ *           &lt;element ref="{http://www.cmis.org/2008/05}choiceUri"/>
+ *           &lt;element ref="{http://www.cmis.org/2008/05}choiceXml"/>
+ *         &lt;/choice>
+ *         &lt;element name="openChoice" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ *         &lt;any/>
+ *       &lt;/sequence>
+ *       &lt;attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
+ *     &lt;/restriction>
+ *   &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ * 
+ * 
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisPropertyDefinitionType", propOrder = {
+    "name",
+    "id",
+    "displayName",
+    "description",
+    "propertyType",
+    "cardinality",
+    "updateability",
+    "inherited",
+    "required",
+    "queryable",
+    "orderable",
+    "choice",
+    "openChoice",
+    "any"
+})
+@XmlSeeAlso({
+    CmisPropertyHtmlDefinitionType.class,
+    CmisPropertyIntegerDefinitionType.class,
+    CmisPropertyBooleanDefinitionType.class,
+    CmisPropertyIdDefinitionType.class,
+    CmisPropertyStringDefinitionType.class,
+    CmisPropertyDecimalDefinitionType.class,
+    CmisPropertyDateTimeDefinitionType.class,
+    CmisPropertyUriDefinitionType.class,
+    CmisPropertyXmlDefinitionType.class
+})
+public class CmisPropertyDefinitionType {
+
+    @XmlElement(required = true)
+    protected String name;
+    @XmlElement(required = true)
+    protected String id;
+    @XmlElement(required = true)
+    protected String displayName;
+    protected String description;
+    @XmlElement(required = true)
+    protected EnumPropertyType propertyType;
+    @XmlElement(required = true)
+    protected EnumCardinality cardinality;
+    @XmlElement(required = true)
+    protected EnumUpdateability updateability;
+    protected Boolean inherited;
+    protected boolean required;
+    protected boolean queryable;
+    protected boolean orderable;
+    @XmlElements({
+        @XmlElement(name = "choiceDateTime", type = CmisChoiceDateTimeType.class),
+        @XmlElement(name = "choiceString", type = CmisChoiceStringType.class),
+        @XmlElement(name = "choiceId", type = CmisChoiceIdType.class),
+        @XmlElement(name = "choiceBoolean", type = CmisChoiceBooleanType.class),
+        @XmlElement(name = "choiceInteger", type = CmisChoiceIntegerType.class),
+        @XmlElement(name = "choiceDecimal", type = CmisChoiceDecimalType.class),
+        @XmlElement(name = "choiceXml", type = CmisChoiceXmlType.class),
+        @XmlElement(name = "choiceHtml", type = CmisChoiceHtmlType.class),
+        @XmlElement(name = "choiceUri", type = CmisChoiceUriType.class)
+    })
+    protected List<CmisChoiceType> choice;
+    protected Boolean openChoice;
+    @XmlAnyElement(lax = true)
+    protected List<Object> any;
+    @XmlAnyAttribute
+    private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+    /**
+     * 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;
+    }
+
+    /**
+     * Gets the value of the id property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getId() {
+        return id;
+    }
+
+    /**
+     * Sets the value of the id property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setId(String value) {
+        this.id = value;
+    }
+
+    /**
+     * Gets the value of the displayName property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getDisplayName() {
+        return displayName;
+    }
+
+    /**
+     * Sets the value of the displayName property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setDisplayName(String value) {
+        this.displayName = value;
+    }
+
+    /**
+     * Gets the value of the description property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link String }
+     *     
+     */
+    public String getDescription() {
+        return description;
+    }
+
+    /**
+     * Sets the value of the description property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link String }
+     *     
+     */
+    public void setDescription(String value) {
+        this.description = value;
+    }
+
+    /**
+     * Gets the value of the propertyType property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link EnumPropertyType }
+     *     
+     */
+    public EnumPropertyType getPropertyType() {
+        return propertyType;
+    }
+
+    /**
+     * Sets the value of the propertyType property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link EnumPropertyType }
+     *     
+     */
+    public void setPropertyType(EnumPropertyType value) {
+        this.propertyType = value;
+    }
+
+    /**
+     * Gets the value of the cardinality property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link EnumCardinality }
+     *     
+     */
+    public EnumCardinality getCardinality() {
+        return cardinality;
+    }
+
+    /**
+     * Sets the value of the cardinality property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link EnumCardinality }
+     *     
+     */
+    public void setCardinality(EnumCardinality value) {
+        this.cardinality = value;
+    }
+
+    /**
+     * Gets the value of the updateability property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link EnumUpdateability }
+     *     
+     */
+    public EnumUpdateability getUpdateability() {
+        return updateability;
+    }
+
+    /**
+     * Sets the value of the updateability property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link EnumUpdateability }
+     *     
+     */
+    public void setUpdateability(EnumUpdateability value) {
+        this.updateability = value;
+    }
+
+    /**
+     * Gets the value of the inherited property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link Boolean }
+     *     
+     */
+    public Boolean isInherited() {
+        return inherited;
+    }
+
+    /**
+     * Sets the value of the inherited property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link Boolean }
+     *     
+     */
+    public void setInherited(Boolean value) {
+        this.inherited = value;
+    }
+
+    /**
+     * Gets the value of the required property.
+     * 
+     */
+    public boolean isRequired() {
+        return required;
+    }
+
+    /**
+     * Sets the value of the required property.
+     * 
+     */
+    public void setRequired(boolean value) {
+        this.required = value;
+    }
+
+    /**
+     * Gets the value of the queryable property.
+     * 
+     */
+    public boolean isQueryable() {
+        return queryable;
+    }
+
+    /**
+     * Sets the value of the queryable property.
+     * 
+     */
+    public void setQueryable(boolean value) {
+        this.queryable = value;
+    }
+
+    /**
+     * Gets the value of the orderable property.
+     * 
+     */
+    public boolean isOrderable() {
+        return orderable;
+    }
+
+    /**
+     * Sets the value of the orderable property.
+     * 
+     */
+    public void setOrderable(boolean value) {
+        this.orderable = value;
+    }
+
+    /**
+     * Gets the value of the choice 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 choice property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getChoice().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link CmisChoiceDateTimeType }
+     * {@link CmisChoiceStringType }
+     * {@link CmisChoiceIdType }
+     * {@link CmisChoiceBooleanType }
+     * {@link CmisChoiceIntegerType }
+     * {@link CmisChoiceDecimalType }
+     * {@link CmisChoiceXmlType }
+     * {@link CmisChoiceHtmlType }
+     * {@link CmisChoiceUriType }
+     * 
+     * 
+     */
+    public List<CmisChoiceType> getChoice() {
+        if (choice == null) {
+            choice = new ArrayList<CmisChoiceType>();
+        }
+        return this.choice;
+    }
+
+    /**
+     * Gets the value of the openChoice property.
+     * 
+     * @return
+     *     possible object is
+     *     {@link Boolean }
+     *     
+     */
+    public Boolean isOpenChoice() {
+        return openChoice;
+    }
+
+    /**
+     * Sets the value of the openChoice property.
+     * 
+     * @param value
+     *     allowed object is
+     *     {@link Boolean }
+     *     
+     */
+    public void setOpenChoice(Boolean value) {
+        this.openChoice = value;
+    }
+
+    /**
+     * 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 a map that contains attributes that aren't bound to any typed property on this class.
+     * 
+     * <p>
+     * the map is keyed by the name of the attribute and 
+     * the value is the string value of the attribute.
+     * 
+     * the map returned by this method is live, and you can add new attribute
+     * by updating the map directly. Because of this design, there's no setter.
+     * 
+     * 
+     * @return
+     *     always non-null
+     */
+    public Map<QName, String> getOtherAttributes() {
+        return otherAttributes;
+    }
+
+}

Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyHtml.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyHtml.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyHtml.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyHtml.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,105 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+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;
+    }
+
+}



Mime
View raw message