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

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

public class CmisPropertyDecimalDefinitionType
extends CmisPropertyDefinitionType

Java class for cmisPropertyDecimalDefinitionType complex type.

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

 <complexType name="cmisPropertyDecimalDefinitionType">
   <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/}cmisPropertyDecimal" minOccurs="0"/>
         <element name="maxValue" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
         <element name="minValue" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
         <element name="precision" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}enumDecimalPrecision" minOccurs="0"/>
         <element name="choice" type="{http://docs.oasis-open.org/ns/cmis/core/200908/}cmisChoiceDecimal" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <anyAttribute processContents='lax' namespace='##other'/>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<CmisChoiceDecimal> choice
           
protected  CmisPropertyDecimal defaultValue
           
protected  java.math.BigDecimal maxValue
           
protected  java.math.BigDecimal minValue
           
protected  java.math.BigInteger precision
           
 
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
CmisPropertyDecimalDefinitionType()
           
 
Method Summary
 java.util.List<CmisChoiceDecimal> getChoice()
          Gets the value of the choice property.
 CmisPropertyDecimal getDefaultValue()
          Gets the value of the defaultValue property.
 java.math.BigDecimal getMaxValue()
          Gets the value of the maxValue property.
 java.math.BigDecimal getMinValue()
          Gets the value of the minValue property.
 java.math.BigInteger getPrecision()
          Gets the value of the precision property.
 void setDefaultValue(CmisPropertyDecimal value)
          Sets the value of the defaultValue property.
 void setMaxValue(java.math.BigDecimal value)
          Sets the value of the maxValue property.
 void setMinValue(java.math.BigDecimal value)
          Sets the value of the minValue property.
 void setPrecision(java.math.BigInteger value)
          Sets the value of the precision 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 CmisPropertyDecimal defaultValue

maxValue

protected java.math.BigDecimal maxValue

minValue

protected java.math.BigDecimal minValue

precision

protected java.math.BigInteger precision

choice

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

CmisPropertyDecimalDefinitionType

public CmisPropertyDecimalDefinitionType()
Method Detail

getDefaultValue

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

Returns:
possible object is CmisPropertyDecimal

setDefaultValue

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

Parameters:
value - allowed object is CmisPropertyDecimal

getMaxValue

public java.math.BigDecimal getMaxValue()
Gets the value of the maxValue property.

Returns:
possible object is BigDecimal

setMaxValue

public void setMaxValue(java.math.BigDecimal value)
Sets the value of the maxValue property.

Parameters:
value - allowed object is BigDecimal

getMinValue

public java.math.BigDecimal getMinValue()
Gets the value of the minValue property.

Returns:
possible object is BigDecimal

setMinValue

public void setMinValue(java.math.BigDecimal value)
Sets the value of the minValue property.

Parameters:
value - allowed object is BigDecimal

getPrecision

public java.math.BigInteger getPrecision()
Gets the value of the precision property.

Returns:
possible object is BigInteger

setPrecision

public void setPrecision(java.math.BigInteger value)
Sets the value of the precision property.

Parameters:
value - allowed object is BigInteger

getChoice

public java.util.List<CmisChoiceDecimal> 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 CmisChoiceDecimal



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