Module io.github.mmm.property
Package io.github.mmm.property.container
Interface ReadableContainerProperty<V,E>
-
- All Superinterfaces:
EventSource<ObservableEvent<V>,ObservableEventListener<? super V>>,MarshallableObject,Marshaller<Object>,ObservableValue<V>,PropertyPath<V>,ReadableContainerValue<V,E>,ReadableObjectValue<V>,ReadableProperty<V>,ReadableTypedObjectValue<V>,ReadableTypedValue<V>,ReadableValue<V>,Supplier<V>,TypedPropertyPath<V>,Validatable
- All Known Subinterfaces:
io.github.mmm.property.container.collection.ReadableCollectionProperty<V,E>,ReadableListProperty<E>,ReadableMapProperty<K,V>,ReadableSetProperty<E>,io.github.mmm.property.container.collection.WritableCollectionProperty<V,E>,WritableContainerProperty<V,E>,WritableListProperty<E>,WritableMapProperty<K,V>,WritableSetProperty<E>
- All Known Implementing Classes:
io.github.mmm.property.container.collection.CollectionProperty,ContainerProperty,ListProperty,MapProperty,SetProperty
public interface ReadableContainerProperty<V,E> extends ReadableProperty<V>, ReadableContainerValue<V,E>
- Since:
- 1.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static StringMETADATA_KEY_COMPONENT_PROPERTY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReadableBooleanPropertyemptyProperty()ReadableProperty<E>getValueProperty()ReadableIntegerPropertysizeProperty()-
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.ReadableContainerValue
isEmpty, size
-
Methods inherited from interface io.github.mmm.value.observable.object.ReadableObjectValue
getSafe, getValue
-
Methods inherited from interface io.github.mmm.property.ReadableProperty
getMetadata, getName, isReadOnly, isTransient, isValid
-
Methods inherited from interface io.github.mmm.value.ReadableTypedValue
getValueClass
-
Methods inherited from interface io.github.mmm.value.ReadableValue
get
-
Methods inherited from interface io.github.mmm.validation.Validatable
validate
-
-
-
-
Field Detail
-
METADATA_KEY_COMPONENT_PROPERTY
static final String METADATA_KEY_COMPONENT_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getValueProperty
ReadableProperty<E> getValueProperty()
- Returns:
- the
ReadablePropertyrepresenting the type of the values (e.g. map values or collection elements) contained in the property containervalue.
-
sizeProperty
ReadableIntegerProperty sizeProperty()
- Returns:
- an
ReadableIntegerPropertythat represents theCollection.size()property of thecontainer.
-
emptyProperty
ReadableBooleanProperty emptyProperty()
- Returns:
- an
ReadableBooleanPropertythat represents theemptyproperty of thecontainer.
-
-