Module is.codion.framework.domain
Interface DerivedAttribute.SourceValues
- Enclosing interface:
- DerivedAttribute<T>
public static interface DerivedAttribute.SourceValues
Provides the source values from which to derive the value.
-
Method Summary
-
Method Details
-
get
Returns the source value associated with the given attribute.- Type Parameters:
T
- the value type- Parameters:
attribute
- the attribute which value to retrieve- Returns:
- the value associated with attribute
-
optional
Returns the source value associated with the given attribute.- Type Parameters:
T
- the value type- Parameters:
attribute
- the attribute which value to retrieve- Returns:
- the value associated with attribute, an empty Optional in case of null
-