Module io.github.mmm.property
Class BigDecimalProperty
- java.lang.Object
-
- io.github.mmm.event.AbstractEventSource<ObservableEvent<V>,ObservableEventListener<? super V>>
-
- io.github.mmm.value.observable.AbstractObservableValue<V>
-
- io.github.mmm.value.observable.AbstractWritableObservableValue<V>
-
- io.github.mmm.property.Property<V>
-
- io.github.mmm.property.object.SimpleProperty<N>
-
- io.github.mmm.property.number.NumberProperty<BigDecimal>
-
- io.github.mmm.property.number.bigdecimal.BigDecimalProperty
-
- All Implemented Interfaces:
EventSource<ObservableEvent<BigDecimal>,ObservableEventListener<? super BigDecimal>>
,MarshallableObject
,Marshaller<Object>
,Marshalling<Object>
,MarshallingObject
,UnmarshallableObject
,Unmarshaller<Object>
,ReadableBigDecimalProperty
,WritableBigDecimalProperty
,ReadableNumberProperty<BigDecimal>
,WritableNumberProperty<BigDecimal>
,ReadableSimpleProperty<BigDecimal>
,WritableSimpleProperty<BigDecimal>
,ReadableProperty<BigDecimal>
,WritableProperty<BigDecimal>
,Validatable
,ComparableExpression<BigDecimal>
,Expression<BigDecimal>
,BigDecimalExpression
,ObservableBigDecimalValue
,ReadableBigDecimalValue
,WritableBigDecimalValue
,NumberExpression<BigDecimal>
,ObservableNumberValue<BigDecimal>
,ReadableNumberValue<BigDecimal>
,WritableNumberValue<BigDecimal>
,ObservableSimpleValue<BigDecimal>
,ReadableSimpleValue<BigDecimal>
,WritableSimpleValue<BigDecimal>
,ObservableValue<BigDecimal>
,WritableObservableValue<BigDecimal>
,PropertyPath<BigDecimal>
,ReadableTypedValue<BigDecimal>
,ReadableValue<BigDecimal>
,TypedPropertyPath<BigDecimal>
,WritableValue<BigDecimal>
,Cloneable
,Supplier<BigDecimal>
public class BigDecimalProperty extends NumberProperty<BigDecimal> implements WritableBigDecimalProperty
Implementation ofWritableBigDecimalProperty
.- Since:
- 1.0.0
-
-
Field Summary
-
Fields inherited from interface io.github.mmm.property.WritableProperty
NO_PROPERTIES
-
-
Constructor Summary
Constructors Constructor Description BigDecimalProperty(String name)
The constructor.BigDecimalProperty(String name, PropertyMetadata<BigDecimal> metadata)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BigDecimal
doGet()
protected void
doSet(BigDecimal newValue)
-
Methods inherited from class io.github.mmm.property.number.NumberProperty
read, write
-
Methods inherited from class io.github.mmm.property.Property
clearValidationResult, clone, copy, doValidate, doValidate, equals, get, getMetadata, getName, getReadOnly, hashCode, isReadOnly, isValid, isValueMutable, readObject, requireWritable, setWithChange, toString, validate, writeObject
-
Methods inherited from class io.github.mmm.value.observable.AbstractWritableObservableValue
bindInternal, bindOneWay, bindTwoWay, isBoundOneWay, isValueEqual, set, unbindOneWay, unbindTwoWay
-
Methods inherited from class io.github.mmm.value.observable.AbstractObservableValue
addListener, fireChange, fireEvent, fireEvent, fireEventFor, fireEventFor, fireEventWithOldValue, hasChangeAwareListeners, invalidate, removeListener, toString
-
Methods inherited from class io.github.mmm.event.AbstractEventSource
getEventAdapter, hasListeners
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.github.mmm.value.observable.number.bigdecimal.BigDecimalExpression
add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, add, divide, divide, divide, divide, divide, divide, divide, divide, divide, divide, divide, divide, divide, divide, divide, divide, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply, negate, subtract, subtract, subtract, subtract, subtract, subtract, subtract, subtract, subtract, subtract, subtract, subtract, subtract, subtract, subtract, subtract
-
Methods inherited from interface io.github.mmm.value.observable.comparable.ComparableExpression
greaterThan, greaterThan, greaterThanOrEqualTo, greaterThanOrEqualTo, lessThan, lessThan, lessThanOrEqualTo, lessThanOrEqualTo
-
Methods inherited from interface io.github.mmm.event.EventSource
addListener, addListener, addWeakListener, removeListener
-
Methods inherited from interface io.github.mmm.value.observable.Expression
asString, dispose, isEqualTo, isEqualTo, isNotEqualTo, isNotEqualTo, isNotNull, isNull
-
Methods inherited from interface io.github.mmm.marshall.MarshallableObject
write, writeObject
-
Methods inherited from interface io.github.mmm.value.observable.number.NumberExpression
add, add, divide, divide, multiply, multiply, subtract, subtract
-
Methods inherited from interface io.github.mmm.value.observable.ObservableValue
toString
-
Methods inherited from interface io.github.mmm.value.observable.number.bigdecimal.ReadableBigDecimalValue
getSafe, getValueClass
-
Methods inherited from interface io.github.mmm.value.observable.number.ReadableNumberValue
byteValue, doubleValue, floatValue, intValue, longValue, shortValue
-
Methods inherited from interface io.github.mmm.property.ReadableProperty
getMetadata, getName, isReadOnly, isTransient, isValid
-
Methods inherited from interface io.github.mmm.property.object.ReadableSimpleProperty
getValueType
-
Methods inherited from interface io.github.mmm.value.observable.object.ReadableSimpleValue
getAsString
-
Methods inherited from interface io.github.mmm.value.ReadableValue
get
-
Methods inherited from interface io.github.mmm.marshall.UnmarshallableObject
read, readObject
-
Methods inherited from interface io.github.mmm.validation.Validatable
validate
-
Methods inherited from interface io.github.mmm.value.observable.number.bigdecimal.WritableBigDecimalValue
parse, setValueAsNumber
-
Methods inherited from interface io.github.mmm.value.observable.WritableObservableValue
bindOneWay, bindTwoWay, isBoundOneWay, unbindOneWay, unbindTwoWay
-
Methods inherited from interface io.github.mmm.property.WritableProperty
copy, getReadOnly
-
Methods inherited from interface io.github.mmm.value.observable.object.WritableSimpleValue
setAsString
-
Methods inherited from interface io.github.mmm.value.WritableValue
set
-
-
-
-
Constructor Detail
-
BigDecimalProperty
public BigDecimalProperty(String name)
The constructor.- Parameters:
name
- thename
.
-
BigDecimalProperty
public BigDecimalProperty(String name, PropertyMetadata<BigDecimal> metadata)
The constructor.
-
-
Method Detail
-
doGet
protected BigDecimal doGet()
- Specified by:
doGet
in classAbstractWritableObservableValue<BigDecimal>
- Returns:
- the internal
value
.
-
doSet
protected void doSet(BigDecimal newValue)
- Specified by:
doSet
in classAbstractWritableObservableValue<BigDecimal>
- Parameters:
newValue
- the newvalue
to set.- See Also:
AbstractWritableObservableValue.set(Object)
-
-