com.google.gdata.model
Interface AttributeMetadata<D>
- All Superinterfaces:
- Metadata<D>
public interface AttributeMetadata<D>
- extends Metadata<D>
Metadata describing an attribute. Attribute metadata includes the id, name,
and datatype of an attribute, as well whether that metadata is required,
declared, or visible. New attribute instances can only be created as part
of an element, see ElementCreator.addAttribute(AttributeKey)
.
See the Metadata
interface for the properties shared between
attribute metadata and ElementMetadata
.
getKey
AttributeKey<D> getKey()
- Returns the attribute key for this attribute metadata.
- Specified by:
getKey
in interface Metadata<D>
bind
AttributeMetadata<D> bind(MetadataContext context)
- Binds this attribute metadata to the given context.