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.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.google.gdata.model.Metadata
Metadata.VirtualValue
 
Method Summary
 AttributeMetadata<D> bind(MetadataContext context)
          Binds this attribute metadata to the given context.
 AttributeKey<D> getKey()
          Returns the attribute key for this attribute metadata.
 
Methods inherited from interface com.google.gdata.model.Metadata
generateValue, getContext, getName, getParent, getSchema, isRequired, isVisible, parseValue
 

Method Detail

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.