You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by pa...@apache.org on 2008/12/22 17:37:38 UTC
svn commit: r728722 [3/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...
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyHtmlDefinitionType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyHtmlDefinitionType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyHtmlDefinitionType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyHtmlDefinitionType.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 cmisPropertyHtmlDefinitionType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="cmisPropertyHtmlDefinitionType">
+ * <complexContent>
+ * <extension base="{http://www.cmis.org/2008/05}cmisPropertyDefinitionType">
+ * <sequence>
+ * <element name="defaultValue" type="{http://www.cmis.org/2008/05}cmisChoiceHtmlType" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisPropertyHtmlDefinitionType", propOrder = {
+ "defaultValue"
+})
+public class CmisPropertyHtmlDefinitionType
+ extends CmisPropertyDefinitionType
+{
+
+ protected List<CmisChoiceHtmlType> 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 CmisChoiceHtmlType }
+ *
+ *
+ */
+ public List<CmisChoiceHtmlType> getDefaultValue() {
+ if (defaultValue == null) {
+ defaultValue = new ArrayList<CmisChoiceHtmlType>();
+ }
+ return this.defaultValue;
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyId.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyId.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyId.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyId.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,123 @@
+
+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;
+
+
+/**
+ * <p>Java class for cmisPropertyId complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="cmisPropertyId">
+ * <complexContent>
+ * <extension base="{http://www.cmis.org/2008/05}cmisProperty">
+ * <sequence>
+ * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * <attribute ref="{http://www.cmis.org/2008/05}propertyType default="id""/>
+ * <attribute ref="{http://www.cmis.org/2008/05}href"/>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisPropertyId", propOrder = {
+ "value"
+})
+public class CmisPropertyId
+ extends CmisProperty
+{
+
+ protected String value;
+ @XmlAttribute(namespace = "http://www.cmis.org/2008/05")
+ protected EnumPropertyType propertyType;
+ @XmlAttribute(namespace = "http://www.cmis.org/2008/05")
+ @XmlSchemaType(name = "anyURI")
+ protected String href;
+
+ /**
+ * 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.ID;
+ } 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;
+ }
+
+ /**
+ * Gets the value of the href property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getHref() {
+ return href;
+ }
+
+ /**
+ * Sets the value of the href property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setHref(String value) {
+ this.href = value;
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyIdDefinitionType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyIdDefinitionType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyIdDefinitionType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyIdDefinitionType.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 cmisPropertyIdDefinitionType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="cmisPropertyIdDefinitionType">
+ * <complexContent>
+ * <extension base="{http://www.cmis.org/2008/05}cmisPropertyDefinitionType">
+ * <sequence>
+ * <element name="defaultValue" type="{http://www.cmis.org/2008/05}cmisChoiceIdType" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisPropertyIdDefinitionType", propOrder = {
+ "defaultValue"
+})
+public class CmisPropertyIdDefinitionType
+ extends CmisPropertyDefinitionType
+{
+
+ protected List<CmisChoiceIdType> 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 CmisChoiceIdType }
+ *
+ *
+ */
+ public List<CmisChoiceIdType> getDefaultValue() {
+ if (defaultValue == null) {
+ defaultValue = new ArrayList<CmisChoiceIdType>();
+ }
+ return this.defaultValue;
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyInteger.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyInteger.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyInteger.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyInteger.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,95 @@
+
+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.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for cmisPropertyInteger complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="cmisPropertyInteger">
+ * <complexContent>
+ * <extension base="{http://www.cmis.org/2008/05}cmisProperty">
+ * <sequence>
+ * <element name="value" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
+ * </sequence>
+ * <attribute ref="{http://www.cmis.org/2008/05}propertyType default="integer""/>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisPropertyInteger", propOrder = {
+ "value"
+})
+public class CmisPropertyInteger
+ extends CmisProperty
+{
+
+ protected BigInteger value;
+ @XmlAttribute(namespace = "http://www.cmis.org/2008/05")
+ protected EnumPropertyType propertyType;
+
+ /**
+ * 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;
+ }
+
+ /**
+ * Gets the value of the propertyType property.
+ *
+ * @return
+ * possible object is
+ * {@link EnumPropertyType }
+ *
+ */
+ public EnumPropertyType getPropertyType() {
+ if (propertyType == null) {
+ return EnumPropertyType.INTEGER;
+ } 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/CmisPropertyIntegerDefinitionType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyIntegerDefinitionType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyIntegerDefinitionType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyIntegerDefinitionType.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,124 @@
+
+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 cmisPropertyIntegerDefinitionType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="cmisPropertyIntegerDefinitionType">
+ * <complexContent>
+ * <extension base="{http://www.cmis.org/2008/05}cmisPropertyDefinitionType">
+ * <sequence>
+ * <element name="defaultValue" type="{http://www.cmis.org/2008/05}cmisChoiceIntegerType" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="maxValue" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
+ * <element name="minValue" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisPropertyIntegerDefinitionType", propOrder = {
+ "defaultValue",
+ "maxValue",
+ "minValue"
+})
+public class CmisPropertyIntegerDefinitionType
+ extends CmisPropertyDefinitionType
+{
+
+ protected List<CmisChoiceIntegerType> defaultValue;
+ protected BigInteger maxValue;
+ protected BigInteger minValue;
+
+ /**
+ * 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 CmisChoiceIntegerType }
+ *
+ *
+ */
+ public List<CmisChoiceIntegerType> getDefaultValue() {
+ if (defaultValue == null) {
+ defaultValue = new ArrayList<CmisChoiceIntegerType>();
+ }
+ return this.defaultValue;
+ }
+
+ /**
+ * Gets the value of the maxValue property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ public BigInteger getMaxValue() {
+ return maxValue;
+ }
+
+ /**
+ * Sets the value of the maxValue property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setMaxValue(BigInteger value) {
+ this.maxValue = value;
+ }
+
+ /**
+ * Gets the value of the minValue property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ public BigInteger getMinValue() {
+ return minValue;
+ }
+
+ /**
+ * Sets the value of the minValue property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setMinValue(BigInteger value) {
+ this.minValue = value;
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyString.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyString.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyString.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyString.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 cmisPropertyString complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="cmisPropertyString">
+ * <complexContent>
+ * <extension base="{http://www.cmis.org/2008/05}cmisProperty">
+ * <sequence>
+ * <element name="value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * <attribute ref="{http://www.cmis.org/2008/05}propertyType default="string""/>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisPropertyString", propOrder = {
+ "value"
+})
+public class CmisPropertyString
+ extends CmisProperty
+{
+
+ 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.STRING;
+ } 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/CmisPropertyStringDefinitionType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyStringDefinitionType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyStringDefinitionType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyStringDefinitionType.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 cmisPropertyStringDefinitionType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="cmisPropertyStringDefinitionType">
+ * <complexContent>
+ * <extension base="{http://www.cmis.org/2008/05}cmisPropertyDefinitionType">
+ * <sequence>
+ * <element name="defaultValue" type="{http://www.cmis.org/2008/05}cmisChoiceStringType" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="maxLength" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisPropertyStringDefinitionType", propOrder = {
+ "defaultValue",
+ "maxLength"
+})
+public class CmisPropertyStringDefinitionType
+ extends CmisPropertyDefinitionType
+{
+
+ protected List<CmisChoiceStringType> defaultValue;
+ protected BigInteger maxLength;
+
+ /**
+ * 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 CmisChoiceStringType }
+ *
+ *
+ */
+ public List<CmisChoiceStringType> getDefaultValue() {
+ if (defaultValue == null) {
+ defaultValue = new ArrayList<CmisChoiceStringType>();
+ }
+ return this.defaultValue;
+ }
+
+ /**
+ * Gets the value of the maxLength property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ public BigInteger getMaxLength() {
+ return maxLength;
+ }
+
+ /**
+ * Sets the value of the maxLength property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setMaxLength(BigInteger value) {
+ this.maxLength = value;
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyUri.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyUri.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyUri.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyUri.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,96 @@
+
+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;
+
+
+/**
+ * <p>Java class for cmisPropertyUri complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="cmisPropertyUri">
+ * <complexContent>
+ * <extension base="{http://www.cmis.org/2008/05}cmisProperty">
+ * <sequence>
+ * <element name="value" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
+ * </sequence>
+ * <attribute ref="{http://www.cmis.org/2008/05}propertyType default="uri""/>
+ * </extension>
+ * </complexContent>
+ * </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;
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyUriDefinitionType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyUriDefinitionType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyUriDefinitionType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyUriDefinitionType.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 cmisPropertyUriDefinitionType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="cmisPropertyUriDefinitionType">
+ * <complexContent>
+ * <extension base="{http://www.cmis.org/2008/05}cmisPropertyDefinitionType">
+ * <sequence>
+ * <element name="defaultValue" type="{http://www.cmis.org/2008/05}cmisChoiceUriType" maxOccurs="unbounded" minOccurs="0"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisPropertyUriDefinitionType", propOrder = {
+ "defaultValue"
+})
+public class CmisPropertyUriDefinitionType
+ extends CmisPropertyDefinitionType
+{
+
+ protected List<CmisChoiceUriType> 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 CmisChoiceUriType }
+ *
+ *
+ */
+ public List<CmisChoiceUriType> getDefaultValue() {
+ if (defaultValue == null) {
+ defaultValue = new ArrayList<CmisChoiceUriType>();
+ }
+ return this.defaultValue;
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyXml.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyXml.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyXml.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyXml.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 cmisPropertyXml complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="cmisPropertyXml">
+ * <complexContent>
+ * <extension base="{http://www.cmis.org/2008/05}cmisProperty">
+ * <sequence>
+ * <any/>
+ * </sequence>
+ * <attribute ref="{http://www.cmis.org/2008/05}propertyType default="xml""/>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisPropertyXml", propOrder = {
+ "any"
+})
+public class CmisPropertyXml
+ 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.XML;
+ } 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/CmisPropertyXmlDefinitionType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyXmlDefinitionType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyXmlDefinitionType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisPropertyXmlDefinitionType.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,125 @@
+
+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.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for cmisPropertyXmlDefinitionType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="cmisPropertyXmlDefinitionType">
+ * <complexContent>
+ * <extension base="{http://www.cmis.org/2008/05}cmisPropertyDefinitionType">
+ * <sequence>
+ * <element name="defaultValue" type="{http://www.cmis.org/2008/05}cmisChoiceXmlType" maxOccurs="unbounded" minOccurs="0"/>
+ * <element name="schemaURI" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
+ * <element name="encoding" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisPropertyXmlDefinitionType", propOrder = {
+ "defaultValue",
+ "schemaURI",
+ "encoding"
+})
+public class CmisPropertyXmlDefinitionType
+ extends CmisPropertyDefinitionType
+{
+
+ protected List<CmisChoiceXmlType> defaultValue;
+ @XmlSchemaType(name = "anyURI")
+ protected String schemaURI;
+ protected String encoding;
+
+ /**
+ * 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 CmisChoiceXmlType }
+ *
+ *
+ */
+ public List<CmisChoiceXmlType> getDefaultValue() {
+ if (defaultValue == null) {
+ defaultValue = new ArrayList<CmisChoiceXmlType>();
+ }
+ return this.defaultValue;
+ }
+
+ /**
+ * Gets the value of the schemaURI property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getSchemaURI() {
+ return schemaURI;
+ }
+
+ /**
+ * Sets the value of the schemaURI property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setSchemaURI(String value) {
+ this.schemaURI = value;
+ }
+
+ /**
+ * Gets the value of the encoding property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getEncoding() {
+ return encoding;
+ }
+
+ /**
+ * Sets the value of the encoding property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setEncoding(String value) {
+ this.encoding = value;
+ }
+
+}
Added: jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisQueryType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisQueryType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisQueryType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisQueryType.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,261 @@
+
+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.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.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for cmisQueryType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="cmisQueryType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="statement" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="searchAllVersions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <element name="pageSize" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
+ * <element name="skipCount" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
+ * <element name="returnAllowableActions" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisQueryType", propOrder = {
+ "repositoryId",
+ "statement",
+ "searchAllVersions",
+ "pageSize",
+ "skipCount",
+ "returnAllowableActions",
+ "any"
+})
+public class CmisQueryType {
+
+ protected String repositoryId;
+ @XmlElement(required = true)
+ protected String statement;
+ protected Boolean searchAllVersions;
+ protected BigInteger pageSize;
+ protected BigInteger skipCount;
+ protected Boolean returnAllowableActions;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the repositoryId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRepositoryId() {
+ return repositoryId;
+ }
+
+ /**
+ * Sets the value of the repositoryId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRepositoryId(String value) {
+ this.repositoryId = value;
+ }
+
+ /**
+ * Gets the value of the statement property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getStatement() {
+ return statement;
+ }
+
+ /**
+ * Sets the value of the statement property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setStatement(String value) {
+ this.statement = value;
+ }
+
+ /**
+ * Gets the value of the searchAllVersions property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isSearchAllVersions() {
+ return searchAllVersions;
+ }
+
+ /**
+ * Sets the value of the searchAllVersions property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setSearchAllVersions(Boolean value) {
+ this.searchAllVersions = value;
+ }
+
+ /**
+ * Gets the value of the pageSize property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ public BigInteger getPageSize() {
+ return pageSize;
+ }
+
+ /**
+ * Sets the value of the pageSize property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setPageSize(BigInteger value) {
+ this.pageSize = value;
+ }
+
+ /**
+ * Gets the value of the skipCount property.
+ *
+ * @return
+ * possible object is
+ * {@link BigInteger }
+ *
+ */
+ public BigInteger getSkipCount() {
+ return skipCount;
+ }
+
+ /**
+ * Sets the value of the skipCount property.
+ *
+ * @param value
+ * allowed object is
+ * {@link BigInteger }
+ *
+ */
+ public void setSkipCount(BigInteger value) {
+ this.skipCount = value;
+ }
+
+ /**
+ * Gets the value of the returnAllowableActions property.
+ *
+ * @return
+ * possible object is
+ * {@link Boolean }
+ *
+ */
+ public Boolean isReturnAllowableActions() {
+ return returnAllowableActions;
+ }
+
+ /**
+ * Sets the value of the returnAllowableActions property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Boolean }
+ *
+ */
+ public void setReturnAllowableActions(Boolean value) {
+ this.returnAllowableActions = 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/CmisRepositoryCapabilitiesType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisRepositoryCapabilitiesType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisRepositoryCapabilitiesType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisRepositoryCapabilitiesType.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,294 @@
+
+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.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for cmisRepositoryCapabilitiesType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="cmisRepositoryCapabilitiesType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="capabilityMultifiling" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="capabilityUnfiling" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="capabilityVersionSpecificFiling" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="capabilityPWCUpdateable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="capabilityPWCSearchable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="capabilityAllVersionsSearchable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="capabilityQuery" type="{http://www.cmis.org/2008/05}enumCapabilityQuery"/>
+ * <element name="capabilityJoin" type="{http://www.cmis.org/2008/05}enumCapabilityJoin"/>
+ * <element name="capabilityFullText" type="{http://www.cmis.org/2008/05}enumCapabilityFullText"/>
+ * <any/>
+ * </sequence>
+ * <attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisRepositoryCapabilitiesType", propOrder = {
+ "capabilityMultifiling",
+ "capabilityUnfiling",
+ "capabilityVersionSpecificFiling",
+ "capabilityPWCUpdateable",
+ "capabilityPWCSearchable",
+ "capabilityAllVersionsSearchable",
+ "capabilityQuery",
+ "capabilityJoin",
+ "capabilityFullText",
+ "any"
+})
+public class CmisRepositoryCapabilitiesType {
+
+ protected boolean capabilityMultifiling;
+ protected boolean capabilityUnfiling;
+ protected boolean capabilityVersionSpecificFiling;
+ protected boolean capabilityPWCUpdateable;
+ protected boolean capabilityPWCSearchable;
+ protected boolean capabilityAllVersionsSearchable;
+ @XmlElement(required = true)
+ protected EnumCapabilityQuery capabilityQuery;
+ @XmlElement(required = true)
+ protected EnumCapabilityJoin capabilityJoin;
+ @XmlElement(required = true)
+ protected EnumCapabilityFullText capabilityFullText;
+ @XmlAnyElement
+ protected List<Element> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the capabilityMultifiling property.
+ *
+ */
+ public boolean isCapabilityMultifiling() {
+ return capabilityMultifiling;
+ }
+
+ /**
+ * Sets the value of the capabilityMultifiling property.
+ *
+ */
+ public void setCapabilityMultifiling(boolean value) {
+ this.capabilityMultifiling = value;
+ }
+
+ /**
+ * Gets the value of the capabilityUnfiling property.
+ *
+ */
+ public boolean isCapabilityUnfiling() {
+ return capabilityUnfiling;
+ }
+
+ /**
+ * Sets the value of the capabilityUnfiling property.
+ *
+ */
+ public void setCapabilityUnfiling(boolean value) {
+ this.capabilityUnfiling = value;
+ }
+
+ /**
+ * Gets the value of the capabilityVersionSpecificFiling property.
+ *
+ */
+ public boolean isCapabilityVersionSpecificFiling() {
+ return capabilityVersionSpecificFiling;
+ }
+
+ /**
+ * Sets the value of the capabilityVersionSpecificFiling property.
+ *
+ */
+ public void setCapabilityVersionSpecificFiling(boolean value) {
+ this.capabilityVersionSpecificFiling = value;
+ }
+
+ /**
+ * Gets the value of the capabilityPWCUpdateable property.
+ *
+ */
+ public boolean isCapabilityPWCUpdateable() {
+ return capabilityPWCUpdateable;
+ }
+
+ /**
+ * Sets the value of the capabilityPWCUpdateable property.
+ *
+ */
+ public void setCapabilityPWCUpdateable(boolean value) {
+ this.capabilityPWCUpdateable = value;
+ }
+
+ /**
+ * Gets the value of the capabilityPWCSearchable property.
+ *
+ */
+ public boolean isCapabilityPWCSearchable() {
+ return capabilityPWCSearchable;
+ }
+
+ /**
+ * Sets the value of the capabilityPWCSearchable property.
+ *
+ */
+ public void setCapabilityPWCSearchable(boolean value) {
+ this.capabilityPWCSearchable = value;
+ }
+
+ /**
+ * Gets the value of the capabilityAllVersionsSearchable property.
+ *
+ */
+ public boolean isCapabilityAllVersionsSearchable() {
+ return capabilityAllVersionsSearchable;
+ }
+
+ /**
+ * Sets the value of the capabilityAllVersionsSearchable property.
+ *
+ */
+ public void setCapabilityAllVersionsSearchable(boolean value) {
+ this.capabilityAllVersionsSearchable = value;
+ }
+
+ /**
+ * Gets the value of the capabilityQuery property.
+ *
+ * @return
+ * possible object is
+ * {@link EnumCapabilityQuery }
+ *
+ */
+ public EnumCapabilityQuery getCapabilityQuery() {
+ return capabilityQuery;
+ }
+
+ /**
+ * Sets the value of the capabilityQuery property.
+ *
+ * @param value
+ * allowed object is
+ * {@link EnumCapabilityQuery }
+ *
+ */
+ public void setCapabilityQuery(EnumCapabilityQuery value) {
+ this.capabilityQuery = value;
+ }
+
+ /**
+ * Gets the value of the capabilityJoin property.
+ *
+ * @return
+ * possible object is
+ * {@link EnumCapabilityJoin }
+ *
+ */
+ public EnumCapabilityJoin getCapabilityJoin() {
+ return capabilityJoin;
+ }
+
+ /**
+ * Sets the value of the capabilityJoin property.
+ *
+ * @param value
+ * allowed object is
+ * {@link EnumCapabilityJoin }
+ *
+ */
+ public void setCapabilityJoin(EnumCapabilityJoin value) {
+ this.capabilityJoin = value;
+ }
+
+ /**
+ * Gets the value of the capabilityFullText property.
+ *
+ * @return
+ * possible object is
+ * {@link EnumCapabilityFullText }
+ *
+ */
+ public EnumCapabilityFullText getCapabilityFullText() {
+ return capabilityFullText;
+ }
+
+ /**
+ * Sets the value of the capabilityFullText property.
+ *
+ * @param value
+ * allowed object is
+ * {@link EnumCapabilityFullText }
+ *
+ */
+ public void setCapabilityFullText(EnumCapabilityFullText value) {
+ this.capabilityFullText = 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 }
+ *
+ *
+ */
+ public List<Element> getAny() {
+ if (any == null) {
+ any = new ArrayList<Element>();
+ }
+ 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/CmisRepositoryEntryType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisRepositoryEntryType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisRepositoryEntryType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisRepositoryEntryType.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,183 @@
+
+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.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for cmisRepositoryEntryType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="cmisRepositoryEntryType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="repositoryID" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="repositoryName" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="repositoryURI" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
+ * <any/>
+ * </sequence>
+ * <attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisRepositoryEntryType", propOrder = {
+ "repositoryID",
+ "repositoryName",
+ "repositoryURI",
+ "any"
+})
+public class CmisRepositoryEntryType {
+
+ @XmlElement(required = true)
+ protected String repositoryID;
+ @XmlElement(required = true)
+ protected String repositoryName;
+ @XmlElement(required = true)
+ @XmlSchemaType(name = "anyURI")
+ protected String repositoryURI;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the repositoryID property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRepositoryID() {
+ return repositoryID;
+ }
+
+ /**
+ * Sets the value of the repositoryID property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRepositoryID(String value) {
+ this.repositoryID = value;
+ }
+
+ /**
+ * Gets the value of the repositoryName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRepositoryName() {
+ return repositoryName;
+ }
+
+ /**
+ * Sets the value of the repositoryName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRepositoryName(String value) {
+ this.repositoryName = value;
+ }
+
+ /**
+ * Gets the value of the repositoryURI property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRepositoryURI() {
+ return repositoryURI;
+ }
+
+ /**
+ * Sets the value of the repositoryURI property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRepositoryURI(String value) {
+ this.repositoryURI = 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/CmisRepositoryInfoType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisRepositoryInfoType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisRepositoryInfoType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisRepositoryInfoType.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,404 @@
+
+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.XmlType;
+import javax.xml.namespace.QName;
+import org.w3c.dom.Element;
+
+
+/**
+ * <p>Java class for cmisRepositoryInfoType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="cmisRepositoryInfoType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="repositoryId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="repositoryName" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="repositoryRelationship" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="repositoryDescription" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="vendorName" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="productName" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="productVersion" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="rootFolderId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="capabilities" type="{http://www.cmis.org/2008/05}cmisRepositoryCapabilitiesType"/>
+ * <element name="cmisVersionsSupported" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="repositorySpecificInformation" type="{http://www.cmis.org/2008/05}cmisAnyXml" minOccurs="0"/>
+ * <any/>
+ * </sequence>
+ * <attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisRepositoryInfoType", propOrder = {
+ "repositoryId",
+ "repositoryName",
+ "repositoryRelationship",
+ "repositoryDescription",
+ "vendorName",
+ "productName",
+ "productVersion",
+ "rootFolderId",
+ "capabilities",
+ "cmisVersionsSupported",
+ "repositorySpecificInformation",
+ "any"
+})
+public class CmisRepositoryInfoType {
+
+ @XmlElement(required = true)
+ protected String repositoryId;
+ @XmlElement(required = true)
+ protected String repositoryName;
+ @XmlElement(required = true)
+ protected String repositoryRelationship;
+ @XmlElement(required = true)
+ protected String repositoryDescription;
+ @XmlElement(required = true)
+ protected String vendorName;
+ @XmlElement(required = true)
+ protected String productName;
+ @XmlElement(required = true)
+ protected String productVersion;
+ @XmlElement(required = true)
+ protected String rootFolderId;
+ @XmlElement(required = true)
+ protected CmisRepositoryCapabilitiesType capabilities;
+ @XmlElement(required = true)
+ protected String cmisVersionsSupported;
+ protected CmisAnyXml repositorySpecificInformation;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the repositoryId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRepositoryId() {
+ return repositoryId;
+ }
+
+ /**
+ * Sets the value of the repositoryId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRepositoryId(String value) {
+ this.repositoryId = value;
+ }
+
+ /**
+ * Gets the value of the repositoryName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRepositoryName() {
+ return repositoryName;
+ }
+
+ /**
+ * Sets the value of the repositoryName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRepositoryName(String value) {
+ this.repositoryName = value;
+ }
+
+ /**
+ * Gets the value of the repositoryRelationship property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRepositoryRelationship() {
+ return repositoryRelationship;
+ }
+
+ /**
+ * Sets the value of the repositoryRelationship property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRepositoryRelationship(String value) {
+ this.repositoryRelationship = value;
+ }
+
+ /**
+ * Gets the value of the repositoryDescription property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRepositoryDescription() {
+ return repositoryDescription;
+ }
+
+ /**
+ * Sets the value of the repositoryDescription property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRepositoryDescription(String value) {
+ this.repositoryDescription = value;
+ }
+
+ /**
+ * Gets the value of the vendorName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getVendorName() {
+ return vendorName;
+ }
+
+ /**
+ * Sets the value of the vendorName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setVendorName(String value) {
+ this.vendorName = value;
+ }
+
+ /**
+ * Gets the value of the productName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getProductName() {
+ return productName;
+ }
+
+ /**
+ * Sets the value of the productName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setProductName(String value) {
+ this.productName = value;
+ }
+
+ /**
+ * Gets the value of the productVersion property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getProductVersion() {
+ return productVersion;
+ }
+
+ /**
+ * Sets the value of the productVersion property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setProductVersion(String value) {
+ this.productVersion = value;
+ }
+
+ /**
+ * Gets the value of the rootFolderId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getRootFolderId() {
+ return rootFolderId;
+ }
+
+ /**
+ * Sets the value of the rootFolderId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setRootFolderId(String value) {
+ this.rootFolderId = value;
+ }
+
+ /**
+ * Gets the value of the capabilities property.
+ *
+ * @return
+ * possible object is
+ * {@link CmisRepositoryCapabilitiesType }
+ *
+ */
+ public CmisRepositoryCapabilitiesType getCapabilities() {
+ return capabilities;
+ }
+
+ /**
+ * Sets the value of the capabilities property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CmisRepositoryCapabilitiesType }
+ *
+ */
+ public void setCapabilities(CmisRepositoryCapabilitiesType value) {
+ this.capabilities = value;
+ }
+
+ /**
+ * Gets the value of the cmisVersionsSupported property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getCmisVersionsSupported() {
+ return cmisVersionsSupported;
+ }
+
+ /**
+ * Sets the value of the cmisVersionsSupported property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setCmisVersionsSupported(String value) {
+ this.cmisVersionsSupported = value;
+ }
+
+ /**
+ * Gets the value of the repositorySpecificInformation property.
+ *
+ * @return
+ * possible object is
+ * {@link CmisAnyXml }
+ *
+ */
+ public CmisAnyXml getRepositorySpecificInformation() {
+ return repositorySpecificInformation;
+ }
+
+ /**
+ * Sets the value of the repositorySpecificInformation property.
+ *
+ * @param value
+ * allowed object is
+ * {@link CmisAnyXml }
+ *
+ */
+ public void setRepositorySpecificInformation(CmisAnyXml value) {
+ this.repositorySpecificInformation = 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/CmisTypeDefinitionType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisTypeDefinitionType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisTypeDefinitionType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisTypeDefinitionType.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,456 @@
+
+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 cmisTypeDefinitionType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="cmisTypeDefinitionType">
+ * <complexContent>
+ * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * <sequence>
+ * <element name="typeId" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="queryName" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="displayName" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="baseType" type="{http://www.cmis.org/2008/05}enumObjectType"/>
+ * <element name="baseTypeQueryName" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * <element name="parentId" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
+ * <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * <element name="creatable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="fileable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="queryable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="controllable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="includedInSupertypeQuery" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <choice maxOccurs="unbounded" minOccurs="0">
+ * <element ref="{http://www.cmis.org/2008/05}propertyBooleanDefinition"/>
+ * <element ref="{http://www.cmis.org/2008/05}propertyDateTimeDefinition"/>
+ * <element ref="{http://www.cmis.org/2008/05}propertyDecimalDefinition"/>
+ * <element ref="{http://www.cmis.org/2008/05}propertyHtmlDefinition"/>
+ * <element ref="{http://www.cmis.org/2008/05}propertyIdDefinition"/>
+ * <element ref="{http://www.cmis.org/2008/05}propertyIntegerDefinition"/>
+ * <element ref="{http://www.cmis.org/2008/05}propertyStringDefinition"/>
+ * <element ref="{http://www.cmis.org/2008/05}propertyUriDefinition"/>
+ * <element ref="{http://www.cmis.org/2008/05}propertyXmlDefinition"/>
+ * </choice>
+ * <any/>
+ * </sequence>
+ * <attGroup ref="{http://www.cmis.org/2008/05}cmisUndefinedAttribute"/>
+ * </restriction>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisTypeDefinitionType", propOrder = {
+ "typeId",
+ "queryName",
+ "displayName",
+ "baseType",
+ "baseTypeQueryName",
+ "parentId",
+ "description",
+ "creatable",
+ "fileable",
+ "queryable",
+ "controllable",
+ "includedInSupertypeQuery",
+ "propertyDefinition",
+ "any"
+})
+@XmlSeeAlso({
+ CmisTypeFolderDefinitionType.class,
+ CmisTypeRelationshipDefinitionType.class,
+ CmisTypeDocumentDefinitionType.class,
+ CmisTypePolicyDefinitionType.class
+})
+public class CmisTypeDefinitionType {
+
+ @XmlElement(required = true)
+ protected String typeId;
+ @XmlElement(required = true)
+ protected String queryName;
+ @XmlElement(required = true)
+ protected String displayName;
+ @XmlElement(required = true)
+ protected EnumObjectType baseType;
+ @XmlElement(required = true)
+ protected String baseTypeQueryName;
+ protected Object parentId;
+ protected String description;
+ protected boolean creatable;
+ protected boolean fileable;
+ protected boolean queryable;
+ protected boolean controllable;
+ @XmlElement(defaultValue = "true")
+ protected boolean includedInSupertypeQuery;
+ @XmlElements({
+ @XmlElement(name = "propertyUriDefinition", type = CmisPropertyUriDefinitionType.class),
+ @XmlElement(name = "propertyDecimalDefinition", type = CmisPropertyDecimalDefinitionType.class),
+ @XmlElement(name = "propertyIntegerDefinition", type = CmisPropertyIntegerDefinitionType.class),
+ @XmlElement(name = "propertyXmlDefinition", type = CmisPropertyXmlDefinitionType.class),
+ @XmlElement(name = "propertyStringDefinition", type = CmisPropertyStringDefinitionType.class),
+ @XmlElement(name = "propertyHtmlDefinition", type = CmisPropertyHtmlDefinitionType.class),
+ @XmlElement(name = "propertyIdDefinition", type = CmisPropertyIdDefinitionType.class),
+ @XmlElement(name = "propertyDateTimeDefinition", type = CmisPropertyDateTimeDefinitionType.class),
+ @XmlElement(name = "propertyBooleanDefinition", type = CmisPropertyBooleanDefinitionType.class)
+ })
+ protected List<CmisPropertyDefinitionType> propertyDefinition;
+ @XmlAnyElement(lax = true)
+ protected List<Object> any;
+ @XmlAnyAttribute
+ private Map<QName, String> otherAttributes = new HashMap<QName, String>();
+
+ /**
+ * Gets the value of the typeId property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getTypeId() {
+ return typeId;
+ }
+
+ /**
+ * Sets the value of the typeId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setTypeId(String value) {
+ this.typeId = value;
+ }
+
+ /**
+ * Gets the value of the queryName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getQueryName() {
+ return queryName;
+ }
+
+ /**
+ * Sets the value of the queryName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setQueryName(String value) {
+ this.queryName = 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 baseType property.
+ *
+ * @return
+ * possible object is
+ * {@link EnumObjectType }
+ *
+ */
+ public EnumObjectType getBaseType() {
+ return baseType;
+ }
+
+ /**
+ * Sets the value of the baseType property.
+ *
+ * @param value
+ * allowed object is
+ * {@link EnumObjectType }
+ *
+ */
+ public void setBaseType(EnumObjectType value) {
+ this.baseType = value;
+ }
+
+ /**
+ * Gets the value of the baseTypeQueryName property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getBaseTypeQueryName() {
+ return baseTypeQueryName;
+ }
+
+ /**
+ * Sets the value of the baseTypeQueryName property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setBaseTypeQueryName(String value) {
+ this.baseTypeQueryName = value;
+ }
+
+ /**
+ * Gets the value of the parentId property.
+ *
+ * @return
+ * possible object is
+ * {@link Object }
+ *
+ */
+ public Object getParentId() {
+ return parentId;
+ }
+
+ /**
+ * Sets the value of the parentId property.
+ *
+ * @param value
+ * allowed object is
+ * {@link Object }
+ *
+ */
+ public void setParentId(Object value) {
+ this.parentId = 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 creatable property.
+ *
+ */
+ public boolean isCreatable() {
+ return creatable;
+ }
+
+ /**
+ * Sets the value of the creatable property.
+ *
+ */
+ public void setCreatable(boolean value) {
+ this.creatable = value;
+ }
+
+ /**
+ * Gets the value of the fileable property.
+ *
+ */
+ public boolean isFileable() {
+ return fileable;
+ }
+
+ /**
+ * Sets the value of the fileable property.
+ *
+ */
+ public void setFileable(boolean value) {
+ this.fileable = 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 controllable property.
+ *
+ */
+ public boolean isControllable() {
+ return controllable;
+ }
+
+ /**
+ * Sets the value of the controllable property.
+ *
+ */
+ public void setControllable(boolean value) {
+ this.controllable = value;
+ }
+
+ /**
+ * Gets the value of the includedInSupertypeQuery property.
+ *
+ */
+ public boolean isIncludedInSupertypeQuery() {
+ return includedInSupertypeQuery;
+ }
+
+ /**
+ * Sets the value of the includedInSupertypeQuery property.
+ *
+ */
+ public void setIncludedInSupertypeQuery(boolean value) {
+ this.includedInSupertypeQuery = value;
+ }
+
+ /**
+ * Gets the value of the propertyDefinition 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 propertyDefinition property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getPropertyDefinition().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link CmisPropertyUriDefinitionType }
+ * {@link CmisPropertyDecimalDefinitionType }
+ * {@link CmisPropertyIntegerDefinitionType }
+ * {@link CmisPropertyXmlDefinitionType }
+ * {@link CmisPropertyStringDefinitionType }
+ * {@link CmisPropertyHtmlDefinitionType }
+ * {@link CmisPropertyIdDefinitionType }
+ * {@link CmisPropertyDateTimeDefinitionType }
+ * {@link CmisPropertyBooleanDefinitionType }
+ *
+ *
+ */
+ public List<CmisPropertyDefinitionType> getPropertyDefinition() {
+ if (propertyDefinition == null) {
+ propertyDefinition = new ArrayList<CmisPropertyDefinitionType>();
+ }
+ return this.propertyDefinition;
+ }
+
+ /**
+ * 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/CmisTypeDocumentDefinitionType.java
URL: http://svn.apache.org/viewvc/jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisTypeDocumentDefinitionType.java?rev=728722&view=auto
==============================================================================
--- jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisTypeDocumentDefinitionType.java (added)
+++ jackrabbit/sandbox/jcr-cmis/server/ws/src/main/java/org/apache/jackrabbit/cmis/ws/repository/CmisTypeDocumentDefinitionType.java Mon Dec 22 08:37:33 2008
@@ -0,0 +1,83 @@
+
+package org.apache.jackrabbit.cmis.ws.repository;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for cmisTypeDocumentDefinitionType complex type.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ *
+ * <pre>
+ * <complexType name="cmisTypeDocumentDefinitionType">
+ * <complexContent>
+ * <extension base="{http://www.cmis.org/2008/05}cmisTypeDefinitionType">
+ * <sequence>
+ * <element name="versionable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * <element name="contentStreamAllowed" type="{http://www.cmis.org/2008/05}enumContentStreamAllowed"/>
+ * </sequence>
+ * </extension>
+ * </complexContent>
+ * </complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cmisTypeDocumentDefinitionType", propOrder = {
+ "versionable",
+ "contentStreamAllowed"
+})
+public class CmisTypeDocumentDefinitionType
+ extends CmisTypeDefinitionType
+{
+
+ protected boolean versionable;
+ @XmlElement(required = true)
+ protected EnumContentStreamAllowed contentStreamAllowed;
+
+ /**
+ * Gets the value of the versionable property.
+ *
+ */
+ public boolean isVersionable() {
+ return versionable;
+ }
+
+ /**
+ * Sets the value of the versionable property.
+ *
+ */
+ public void setVersionable(boolean value) {
+ this.versionable = value;
+ }
+
+ /**
+ * Gets the value of the contentStreamAllowed property.
+ *
+ * @return
+ * possible object is
+ * {@link EnumContentStreamAllowed }
+ *
+ */
+ public EnumContentStreamAllowed getContentStreamAllowed() {
+ return contentStreamAllowed;
+ }
+
+ /**
+ * Sets the value of the contentStreamAllowed property.
+ *
+ * @param value
+ * allowed object is
+ * {@link EnumContentStreamAllowed }
+ *
+ */
+ public void setContentStreamAllowed(EnumContentStreamAllowed value) {
+ this.contentStreamAllowed = value;
+ }
+
+}