Package net.time4j.engine
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
-
Method Details
-
name
String name()Name of associated format attribute.
- Returns:
- String
-
type
Type of associated format attribute.
- Returns:
- Class
-