Interface DerivedAttributeDefinition<T>

Type Parameters:
T - the underlying type
All Superinterfaces:
AttributeDefinition<T>

public interface DerivedAttributeDefinition<T> extends AttributeDefinition<T>
A definition for attributes which value is derived from the values of one or more attribute.
  • Method Details

    • sourceAttributes

      List<Attribute<?>> sourceAttributes()
      Returns:
      the attributes this attribute derives from.
    • valueProvider

      DerivedAttribute.Provider<T> valueProvider()
      Returns:
      the value provider, providing the derived value