Interface AttributeKey<A>

Type Parameters:
A - generic immutable type of attribute value

public interface AttributeKey<A>

Defines a key for a format attribute as type-safe accessor.

Attributes are constrained to types which are immutable and serializable. If there are predefined attributes then the associated keys are to be used via the corresponding constants in the class Attributes instead of creating new ones.

Author:
Meno Hochschild
See Also:
AttributeQuery
  • Method Summary

    Modifier and Type
    Method
    Description
    Name of associated format attribute.
    Type of associated format attribute.
  • Method Details

    • name

      String name()

      Name of associated format attribute.

      Returns:
      String
    • type

      Class<A> type()

      Type of associated format attribute.

      Returns:
      Class