public class PropertyDecimalDefinitionImpl extends AbstractPropertyDefinition<BigDecimal> implements MutablePropertyDecimalDefinition
Constructor and Description |
---|
PropertyDecimalDefinitionImpl() |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
getMaxValue()
Returns the max value of this decimal.
|
BigDecimal |
getMinValue()
Returns the min value of this decimal.
|
DecimalPrecision |
getPrecision()
Returns the precision this decimal.
|
void |
setMaxValue(BigDecimal maxValue) |
void |
setMinValue(BigDecimal minValue) |
void |
setPrecision(DecimalPrecision precision) |
getCardinality, getChoices, getDefaultValue, getDescription, getDisplayName, getId, getLocalName, getLocalNamespace, getPropertyType, getQueryName, getUpdatability, isInherited, isOpenChoice, isOrderable, isQueryable, isRequired, setCardinality, setChoices, setDefaultValue, setDescription, setDisplayName, setId, setIsInherited, setIsOpenChoice, setIsOrderable, setIsQueryable, setIsRequired, setLocalName, setLocalNamespace, setPropertyType, setQueryName, setUpdatability, toString
getExtensions, setExtensions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setCardinality, setChoices, setDefaultValue, setDescription, setDisplayName, setId, setIsInherited, setIsOpenChoice, setIsOrderable, setIsQueryable, setIsRequired, setLocalName, setLocalNamespace, setPropertyType, setQueryName, setUpdatability
getCardinality, getChoices, getDefaultValue, getDescription, getDisplayName, getId, getLocalName, getLocalNamespace, getPropertyType, getQueryName, getUpdatability, isInherited, isOpenChoice, isOrderable, isQueryable, isRequired
getExtensions, setExtensions
public BigDecimal getMinValue()
PropertyDecimalDefinition
getMinValue
in interface PropertyDecimalDefinition
null
if no limit is specifiedpublic void setMinValue(BigDecimal minValue)
setMinValue
in interface MutablePropertyDecimalDefinition
public BigDecimal getMaxValue()
PropertyDecimalDefinition
getMaxValue
in interface PropertyDecimalDefinition
null
if no limit is specifiedpublic void setMaxValue(BigDecimal maxValue)
setMaxValue
in interface MutablePropertyDecimalDefinition
public DecimalPrecision getPrecision()
PropertyDecimalDefinition
getPrecision
in interface PropertyDecimalDefinition
null
if the decimal supports any
valueDecimalPrecision
public void setPrecision(DecimalPrecision precision)
setPrecision
in interface MutablePropertyDecimalDefinition
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.