mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10831 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
98 lines
2.5 KiB
Java
Executable File
98 lines
2.5 KiB
Java
Executable File
|
|
package org.alfresco.repo.cmis.ws;
|
|
|
|
import javax.xml.bind.annotation.XmlAccessType;
|
|
import javax.xml.bind.annotation.XmlAccessorType;
|
|
import javax.xml.bind.annotation.XmlAttribute;
|
|
import javax.xml.bind.annotation.XmlSchemaType;
|
|
import javax.xml.bind.annotation.XmlType;
|
|
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://www.cmis.org/2008/05}cmisProperty">
|
|
* <sequence>
|
|
* <element name="value" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
|
|
* </sequence>
|
|
* <attribute ref="{http://www.cmis.org/2008/05}propertyType default="datetime""/>
|
|
* </extension>
|
|
* </complexContent>
|
|
* </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;
|
|
}
|
|
|
|
}
|