package org.alfresco.repo.cmis.ws; import java.math.BigDecimal; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAttribute; import javax.xml.bind.annotation.XmlType; /** *

Java class for cmisPropertyDecimal complex type. * *

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

 * <complexType name="cmisPropertyDecimal">
 *   <complexContent>
 *     <extension base="{http://www.cmis.org/2008/05}cmisProperty">
 *       <sequence>
 *         <element name="value" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
 *       </sequence>
 *       <attribute ref="{http://www.cmis.org/2008/05}propertyType default="decimal""/>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "cmisPropertyDecimal", propOrder = { "value" }) public class CmisPropertyDecimal extends CmisProperty { protected BigDecimal value; @XmlAttribute(namespace = "http://www.cmis.org/2008/05") protected EnumPropertyType propertyType; /** * Gets the value of the value property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setValue(BigDecimal 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.DECIMAL; } 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; } }