mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
14095 CMIS 0.61 Web Services Including Tests & JavaClient 14123 Several Minor Fixes git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14177 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
73 lines
2.1 KiB
Java
Executable File
73 lines
2.1 KiB
Java
Executable File
|
|
package org.alfresco.repo.cmis.ws;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
import javax.xml.bind.annotation.XmlAccessType;
|
|
import javax.xml.bind.annotation.XmlAccessorType;
|
|
import javax.xml.bind.annotation.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>
|
|
* <complexType name="cmisPropertyDateTime">
|
|
* <complexContent>
|
|
* <extension base="{http://docs.oasis-open.org/ns/cmis/core/200901}cmisProperty">
|
|
* <sequence>
|
|
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}dateTime" maxOccurs="unbounded" minOccurs="0"/>
|
|
* </sequence>
|
|
* </extension>
|
|
* </complexContent>
|
|
* </complexType>
|
|
* </pre>
|
|
*
|
|
*
|
|
*/
|
|
@XmlAccessorType(XmlAccessType.FIELD)
|
|
@XmlType(name = "cmisPropertyDateTime", namespace = "http://docs.oasis-open.org/ns/cmis/core/200901", propOrder = {
|
|
"value"
|
|
})
|
|
public class CmisPropertyDateTime
|
|
extends CmisProperty
|
|
{
|
|
|
|
@XmlSchemaType(name = "dateTime")
|
|
protected List<XMLGregorianCalendar> value;
|
|
|
|
/**
|
|
* Gets the value of the value 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 value property.
|
|
*
|
|
* <p>
|
|
* For example, to add a new item, do as follows:
|
|
* <pre>
|
|
* getValue().add(newItem);
|
|
* </pre>
|
|
*
|
|
*
|
|
* <p>
|
|
* Objects of the following type(s) are allowed in the list
|
|
* {@link XMLGregorianCalendar }
|
|
*
|
|
*
|
|
*/
|
|
public List<XMLGregorianCalendar> getValue() {
|
|
if (value == null) {
|
|
value = new ArrayList<XMLGregorianCalendar>();
|
|
}
|
|
return this.value;
|
|
}
|
|
|
|
}
|