Interface ReadableObjectValue<V>
-
- Type Parameters:
V- type of thevalue.
- All Superinterfaces:
ReadableValue<V>,Supplier<V>
- All Known Subinterfaces:
InstantExpression,LocalDateExpression,LocalDateTimeExpression,LocalTimeExpression,ObservableCollectionValue<C,E>,ObservableContainerValue<C,E>,ObservableInstantValue,ObservableListValue<E>,ObservableLocalDateTimeValue,ObservableLocalDateValue,ObservableLocalTimeValue,ObservableMapValue<K,V>,ObservableObjectValue<V>,ObservableOffsetDateTimeValue,ObservableOffsetTimeValue,ObservableSetValue<E>,ObservableTemporalValue<V>,ObservableZonedDateTimeValue,OffsetDateTimeExpression,OffsetTimeExpression,ReadableBeanProperty<V>,io.github.mmm.property.container.collection.ReadableCollectionProperty<V,E>,ReadableCollectionValue<C,E>,ReadableContainerProperty<V,E>,ReadableContainerValue<C,E>,ReadableInstantProperty,ReadableInstantValue,ReadableListProperty<E>,ReadableListValue<E>,ReadableLocalDateProperty,ReadableLocalDateTimeProperty,ReadableLocalDateTimeValue,ReadableLocalDateValue,ReadableLocalTimeProperty,ReadableLocalTimeValue,ReadableMapProperty<K,V>,ReadableMapValue<K,V>,ReadableObjectProperty<V>,ReadableOffsetDateTimeProperty,ReadableOffsetDateTimeValue,ReadableOffsetTimeProperty,ReadableOffsetTimeValue,ReadableSetProperty<E>,ReadableSetValue<E>,ReadableTemporalValue<V>,ReadableTypedObjectValue<V>,ReadableZonedDateTimeProperty,ReadableZonedDateTimeValue,WritableBeanProperty<V>,io.github.mmm.property.container.collection.WritableCollectionProperty<V,E>,WritableCollectionValue<C,E>,WritableContainerProperty<V,E>,WritableContainerValue<C,E>,WritableInstantProperty,WritableInstantValue,WritableListProperty<E>,WritableListValue<E>,WritableLocalDateProperty,WritableLocalDateTimeProperty,WritableLocalDateTimeValue,WritableLocalDateValue,WritableLocalTimeProperty,WritableLocalTimeValue,WritableMapProperty<K,V>,WritableMapValue<K,V>,WritableObjectProperty<V>,WritableObjectValue<V>,WritableOffsetDateTimeProperty,WritableOffsetDateTimeValue,WritableOffsetTimeProperty,WritableOffsetTimeValue,WritableSetProperty<E>,WritableSetValue<E>,WritableTemporalValue<V>,WritableZonedDateTimeProperty,WritableZonedDateTimeValue,ZonedDateTimeExpression
- All Known Implementing Classes:
BeanProperty,io.github.mmm.property.container.collection.CollectionProperty,ContainerProperty,IdProperty,InstantBinding,InstantProperty,LinkProperty,ListProperty,LocalDateBinding,LocalDateProperty,LocalDateTimeBinding,LocalDateTimeProperty,LocalTimeBinding,LocalTimeProperty,MapProperty,ObjectProperty,OffsetDateTimeBinding,OffsetDateTimeBinding,OffsetDateTimeProperty,OffsetTimeProperty,SetProperty,ZonedDateTimeBinding,ZonedDateTimeProperty
public interface ReadableObjectValue<V> extends ReadableValue<V>
- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default VgetSafe()default VgetValue()Same asReadableValue.get().-
Methods inherited from interface io.github.mmm.value.ReadableValue
get
-
-
-
-
Method Detail
-
getValue
default V getValue()
Same asReadableValue.get().- Returns:
- the current
value.
-
getSafe
default V getSafe()
- Specified by:
getSafein interfaceReadableValue<V>- Returns:
- the same as
ReadableValue.get()but trying to avoid returningnullwhere possible. So a neutral element is returned instead ofnullfor each type supporting this (e.g. "" forString,0for any kind ofNumber,Boolean.FALSE, empty collection, etc.).
-
-