Module io.github.mmm.bean
Package io.github.mmm.bean.property
Class BeanProperty<V extends WritableBean>
java.lang.Object
io.github.mmm.event.AbstractEventSource<io.github.mmm.value.observable.ObservableEvent<V>,io.github.mmm.value.observable.ObservableEventListener<? super V>>
io.github.mmm.event.AbstractEventSender<io.github.mmm.value.observable.ObservableEvent<V>,io.github.mmm.value.observable.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.bean.property.BeanProperty<V>
- Type Parameters:
V
- type of thebean
value
.
- All Implemented Interfaces:
ReadableBeanProperty<V>
,WritableBeanProperty<V>
,io.github.mmm.event.EventSource<io.github.mmm.value.observable.ObservableEvent<V>,
,io.github.mmm.value.observable.ObservableEventListener<? super V>> io.github.mmm.marshall.MarshallableObject
,io.github.mmm.marshall.Marshaller<Object>
,io.github.mmm.marshall.Marshalling<Object>
,io.github.mmm.marshall.MarshallingObject
,io.github.mmm.marshall.UnmarshallableObject
,io.github.mmm.marshall.Unmarshaller<Object>
,AttributeReadOnly
,ReadableObjectProperty<V>
,ReadableSimpleProperty<V>
,ReadableProperty<V>
,WritableProperty<V>
,io.github.mmm.validation.Validatable
,io.github.mmm.value.CriteriaObject<V>
,io.github.mmm.value.observable.Expression<V>
,io.github.mmm.value.observable.object.ObservableObjectValue<V>
,io.github.mmm.value.observable.object.ObservableSimpleValue<V>
,io.github.mmm.value.observable.object.ReadableObjectValue<V>
,io.github.mmm.value.observable.object.ReadableSimpleValue<V>
,io.github.mmm.value.observable.object.WritableObjectValue<V>
,io.github.mmm.value.observable.ObservableValue<V>
,io.github.mmm.value.observable.WritableObservableValue<V>
,io.github.mmm.value.PropertyPath<V>
,io.github.mmm.value.ReadablePath
,io.github.mmm.value.ReadableTypedValue<V>
,io.github.mmm.value.ReadableValue<V>
,io.github.mmm.value.TypedPropertyPath<V>
,io.github.mmm.value.WritableValue<V>
,Cloneable
,Comparable<ReadableProperty<?>>
,Supplier<V>
public class BeanProperty<V extends WritableBean>
extends Property<V>
implements WritableBeanProperty<V>
Implementation of
WritableBeanProperty
.- Since:
- 1.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.github.mmm.value.ReadablePath
io.github.mmm.value.ReadablePath.PathBuilder
-
Field Summary
Fields inherited from interface io.github.mmm.property.WritableProperty
NO_PROPERTIES
-
Constructor Summary
ConstructorsConstructorDescriptionBeanProperty
(String name, Class<V> valueClass) The constructor.BeanProperty
(String name, Class<V> valueClass, PropertyMetadata<V> metadata) The constructor.BeanProperty
(String name, V value) The constructor.BeanProperty
(String name, V value, PropertyMetadata<V> metadata) The constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected V
doGet()
protected void
io.github.mmm.value.converter.TypeMapper
<V, ?> boolean
isEqual
(ReadableProperty<?> obj) boolean
Methods inherited from class io.github.mmm.property.Property
clearValidationResult, clone, compareTo, copy, doValidate, doValidate, equals, get, getMetadata, getName, getReadOnly, hashCode, isReadOnly, isSensitive, isValid, read, readObject, readValue, requireWritable, setWithChange, toString, validate, write, 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
doAddListener, fireChange, fireEvent, fireEvent, fireEventFor, fireEventFor, fireEventWithOldValue, hasChangeAwareListeners, invalidate, removeListener, toString
Methods inherited from class io.github.mmm.event.AbstractEventSender
getEventAdapter, hasListeners
Methods inherited from class io.github.mmm.event.AbstractEventSource
addListener
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.github.mmm.property.AttributeReadOnly
isReadOnly
Methods inherited from interface java.lang.Comparable
compareTo
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.ObservableValue
toString
Methods inherited from interface io.github.mmm.value.PropertyPath
pathSegment
Methods inherited from interface io.github.mmm.value.observable.object.ReadableObjectValue
getSafe, getValue
Methods inherited from interface io.github.mmm.value.ReadablePath
path, path, path
Methods inherited from interface io.github.mmm.property.ReadableProperty
count, eq, eq, getMetadata, getName, getQualifiedName, getQualifiedName, isMandatory, isTransient, isValid, neq, neq, parentPath
Methods inherited from interface io.github.mmm.property.object.ReadableSimpleProperty
in, in, notIn, notIn
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, validateOrThrow
Methods inherited from interface io.github.mmm.value.observable.object.WritableObjectValue
setValue
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.WritableValue
set
-
Constructor Details
-
BeanProperty
The constructor.- Parameters:
name
- thename
.valueClass
- thevalue class
.
-
BeanProperty
The constructor.- Parameters:
name
- thename
.valueClass
- thevalue class
.metadata
- themetadata
.
-
BeanProperty
The constructor. -
BeanProperty
The constructor.
-
-
Method Details
-
isValueMutable
public boolean isValueMutable()- Overrides:
isValueMutable
in classProperty<V extends WritableBean>
-
doGet
- Specified by:
doGet
in classio.github.mmm.value.observable.AbstractWritableObservableValue<V extends WritableBean>
-
doSet
- Specified by:
doSet
in classio.github.mmm.value.observable.AbstractWritableObservableValue<V extends WritableBean>
-
copyValue
- Specified by:
copyValue
in interfaceWritableProperty<V extends WritableBean>
-
getValueClass
- Specified by:
getValueClass
in interfaceio.github.mmm.value.ReadableTypedValue<V extends WritableBean>
-
getTypeMapper
- Specified by:
getTypeMapper
in interfaceReadableProperty<V extends WritableBean>
-
isEqual
- Specified by:
isEqual
in interfaceReadableProperty<V extends WritableBean>
-