public class PropertyDecimalDefinitionImpl extends AbstractPropertyDefinition<BigDecimal> implements PropertyDecimalDefinition
| 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, toStringgetExtensions, setExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCardinality, getChoices, getDefaultValue, getDescription, getDisplayName, getId, getLocalName, getLocalNamespace, getPropertyType, getQueryName, getUpdatability, isInherited, isOpenChoice, isOrderable, isQueryable, isRequiredgetExtensions, setExtensionspublic BigDecimal getMinValue()
PropertyDecimalDefinitiongetMinValue in interface PropertyDecimalDefinitionnull if no limit is specifiedpublic void setMinValue(BigDecimal minValue)
public BigDecimal getMaxValue()
PropertyDecimalDefinitiongetMaxValue in interface PropertyDecimalDefinitionnull if no limit is specifiedpublic void setMaxValue(BigDecimal maxValue)
public DecimalPrecision getPrecision()
PropertyDecimalDefinitiongetPrecision in interface PropertyDecimalDefinitionnull if the decimal supports any
valueDecimalPrecisionpublic void setPrecision(DecimalPrecision precision)
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.