Module io.github.mmm.property
Interface WritableListProperty<E>
-
- Type Parameters:
E- type of thecontained elements.
- All Superinterfaces:
EventSource<ObservableEvent<List<E>>,ObservableEventListener<? super List<E>>>,MarshallableObject,Marshaller<Object>,Marshalling<Object>,MarshallingObject,ObservableValue<List<E>>,PropertyPath<List<E>>,io.github.mmm.property.container.collection.ReadableCollectionProperty<List<E>,E>,ReadableCollectionValue<List<E>,E>,ReadableContainerProperty<List<E>,E>,ReadableContainerValue<List<E>,E>,ReadableListProperty<E>,ReadableListValue<E>,ReadableObjectValue<List<E>>,ReadableProperty<List<E>>,ReadableTypedObjectValue<List<E>>,ReadableTypedValue<List<E>>,ReadableValue<List<E>>,Supplier<List<E>>,TypedPropertyPath<List<E>>,UnmarshallableObject,Unmarshaller<Object>,Validatable,io.github.mmm.property.container.collection.WritableCollectionProperty<List<E>,E>,WritableCollectionValue<List<E>,E>,WritableContainerProperty<List<E>,E>,WritableContainerValue<List<E>,E>,WritableListValue<E>,WritableObjectValue<List<E>>,WritableObservableValue<List<E>>,WritableProperty<List<E>>,WritableValue<List<E>>
- All Known Implementing Classes:
ListProperty
public interface WritableListProperty<E> extends ReadableListProperty<E>, io.github.mmm.property.container.collection.WritableCollectionProperty<List<E>,E>, WritableListValue<E>
- Since:
- 1.0.0
-
-
Field Summary
-
Fields inherited from interface io.github.mmm.property.container.ReadableContainerProperty
METADATA_KEY_COMPONENT_PROPERTY
-
Fields inherited from interface io.github.mmm.property.WritableProperty
NO_PROPERTIES
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ChangeAwareList<E>getChangeAwareValue()-
Methods inherited from interface io.github.mmm.event.EventSource
addListener, addListener, addWeakListener, removeListener
-
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.observable.container.collection.ReadableCollectionValue
size
-
Methods inherited from interface io.github.mmm.property.container.ReadableContainerProperty
emptyProperty, sizeProperty
-
Methods inherited from interface io.github.mmm.value.observable.container.ReadableContainerValue
isEmpty
-
Methods inherited from interface io.github.mmm.value.observable.container.list.ReadableListValue
getSafe, getValueClass
-
Methods inherited from interface io.github.mmm.value.observable.object.ReadableObjectValue
getValue
-
Methods inherited from interface io.github.mmm.property.ReadableProperty
getMetadata, getName, isReadOnly, isTransient, isValid
-
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.property.container.WritableContainerProperty
getValueProperty, isChangeAware
-
Methods inherited from interface io.github.mmm.value.observable.container.list.WritableListValue
getOrCreate
-
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
-
-
-
-
Method Detail
-
getChangeAwareValue
ChangeAwareList<E> getChangeAwareValue()
- Specified by:
getChangeAwareValuein interfaceio.github.mmm.property.container.collection.WritableCollectionProperty<List<E>,E>- Specified by:
getChangeAwareValuein interfaceWritableContainerProperty<List<E>,E>- Returns:
- the
valueasChangeAwareContainer. Will be initialized on the first call of this method. Unlessinitialized, a container property is lightweight just as other regular properties. Once this method was called, theChangeAwareContaineris initialized and triggers change events for modifications of the container instance itself. Calls toWritableValue.set(Object)will implicitly change thisChangeAwareContainersuch that in only contains what the provided new value contains. The instance of theChangeAwareContainerreturned by this method always remains the same.
-
-