org.apache.chemistry.opencmis.commons.impl.jaxb
Class CmisPropertyDateTimeDefinitionType

java.lang.Object
  extended by org.apache.chemistry.opencmis.commons.impl.jaxb.CmisPropertyDefinitionType
      extended by org.apache.chemistry.opencmis.commons.impl.jaxb.CmisPropertyDateTimeDefinitionType

public class CmisPropertyDateTimeDefinitionType
extends CmisPropertyDefinitionType

Java class for cmisPropertyDateTimeDefinitionType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="cmisPropertyDateTimeDefinitionType">
   <complexContent>
     <extension base="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyDefinitionType">
       <sequence>
         <element name="defaultValue" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisPropertyDateTime" minOccurs="0"/>
         <element name="resolution" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumDateTimeResolution" minOccurs="0"/>
         <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoiceDateTime" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <anyAttribute processContents='lax' namespace='##other'/>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<CmisChoiceDateTime> choice
           
protected  CmisPropertyDateTime defaultValue
           
protected  EnumDateTimeResolution resolution
           
 
Fields inherited from class org.apache.chemistry.opencmis.commons.impl.jaxb.CmisPropertyDefinitionType
any, cardinality, description, displayName, id, inherited, localName, localNamespace, openChoice, orderable, propertyType, queryable, queryName, required, updatability
 
Constructor Summary
CmisPropertyDateTimeDefinitionType()
           
 
Method Summary
 java.util.List<CmisChoiceDateTime> getChoice()
          Gets the value of the choice property.
 CmisPropertyDateTime getDefaultValue()
          Gets the value of the defaultValue property.
 EnumDateTimeResolution getResolution()
          Gets the value of the resolution property.
 void setDefaultValue(CmisPropertyDateTime value)
          Sets the value of the defaultValue property.
 void setResolution(EnumDateTimeResolution value)
          Sets the value of the resolution property.
 
Methods inherited from class org.apache.chemistry.opencmis.commons.impl.jaxb.CmisPropertyDefinitionType
getAny, getCardinality, getDescription, getDisplayName, getId, getLocalName, getLocalNamespace, getOtherAttributes, getPropertyType, getQueryName, getUpdatability, isInherited, isOpenChoice, isOrderable, isQueryable, isRequired, setCardinality, setDescription, setDisplayName, setId, setInherited, setLocalName, setLocalNamespace, setOpenChoice, setOrderable, setPropertyType, setQueryable, setQueryName, setRequired, setUpdatability
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultValue

protected CmisPropertyDateTime defaultValue

resolution

protected EnumDateTimeResolution resolution

choice

protected java.util.List<CmisChoiceDateTime> choice
Constructor Detail

CmisPropertyDateTimeDefinitionType

public CmisPropertyDateTimeDefinitionType()
Method Detail

getDefaultValue

public CmisPropertyDateTime getDefaultValue()
Gets the value of the defaultValue property.

Returns:
possible object is CmisPropertyDateTime

setDefaultValue

public void setDefaultValue(CmisPropertyDateTime value)
Sets the value of the defaultValue property.

Parameters:
value - allowed object is CmisPropertyDateTime

getResolution

public EnumDateTimeResolution getResolution()
Gets the value of the resolution property.

Returns:
possible object is EnumDateTimeResolution

setResolution

public void setResolution(EnumDateTimeResolution value)
Sets the value of the resolution property.

Parameters:
value - allowed object is EnumDateTimeResolution

getChoice

public java.util.List<CmisChoiceDateTime> getChoice()
Gets the value of the choice property.

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 set method for the choice property.

For example, to add a new item, do as follows:

    getChoice().add(newItem);
 

Objects of the following type(s) are allowed in the list CmisChoiceDateTime



Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.