Module is.codion.framework.domain
Interface DerivedProperty<T>
-
- Type Parameters:
T
- the underlying type
- All Superinterfaces:
Property<T>
,TransientProperty<T>
public interface DerivedProperty<T> extends TransientProperty<T>
A property which value is derived from the values of one or more properties.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
DerivedProperty.Provider<T>
Responsible for providing values derived from other valuesstatic interface
DerivedProperty.SourceValues
Provides the source values from which to derive the property value.-
Nested classes/interfaces inherited from interface is.codion.framework.domain.property.Property
Property.ValueSupplier<T>
-
Nested classes/interfaces inherited from interface is.codion.framework.domain.property.TransientProperty
TransientProperty.Builder<T,B extends TransientProperty.Builder<T,B>>
-
-
Field Summary
-
Fields inherited from interface is.codion.framework.domain.property.Property
DATE_FORMAT, DATE_TIME_FORMAT, DECIMAL_ROUNDING_MODE, DECIMAL_SEPARATOR, DEFAULT_FOREIGN_KEY_FETCH_DEPTH, DEFAULT_MAXIMUM_FRACTION_DIGITS, FOREIGN_KEY_FETCH_DEPTH, GROUPING_SEPARATOR, MAXIMUM_FRACTION_DIGITS, NUMBER_FORMAT_GROUPING, TIME_FORMAT, USE_LEXICAL_STRING_COMPARATOR
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Attribute<?>>
sourceAttributes()
DerivedProperty.Provider<T>
valueProvider()
-
Methods inherited from interface is.codion.framework.domain.property.Property
attribute, beanProperty, caption, comparator, dateTimeFormatter, dateTimePattern, decimalRoundingMode, defaultValue, description, entityType, format, hasDefaultValue, isHidden, isNullable, maximumFractionDigits, maximumLength, maximumValue, minimumValue, mnemonic, preferredColumnWidth, prepareValue, toString
-
Methods inherited from interface is.codion.framework.domain.property.TransientProperty
modifiesEntity
-
-
-
-
Method Detail
-
sourceAttributes
List<Attribute<?>> sourceAttributes()
- Returns:
- the attributes this property derives from.
-
valueProvider
DerivedProperty.Provider<T> valueProvider()
- Returns:
- the value provider, providing the derived value
-
-