Package eoxserver :: Package resources :: Package coverages :: Module interfaces :: Class GenericMetadataInterface
[hide private]
[frames] | no frames]

Class GenericMetadataInterface

source code


This is an interface for objects containing metadata of any kind. They can be retrieved using a key-value-pair schema. .. method:: getMetadataFormat This method shall return the metadata format, i.e. an object implementing :class:`MetadataFormatInterface`. .. method:: getMetadataKeys This method shall return a list of metadata keys that are understood by the metadata interface. .. method:: getMetadataValues(keys) This method shall return a dictionary of metadata keys and values. The dictionary keys shall correspond to the keys conveyed with the request, the dictionary values shall be the respective metadata values, or ``None`` if the key is not known or no metadata value is defined for the specific metadata instance.
Nested Classes [hide private]

Inherited from core.registry.RegisteredInterface: __metaclass__

Instance Methods [hide private]

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Methods [hide private]

Inherited from core.registry.RegisteredInterface: getBindingMethod, getInterfaceId, getRegistryKeys

Inherited from core.interfaces.Interface: implement

Class Variables [hide private]
  REGISTRY_CONF = {'binding_method': 'direct', 'intf_id': 'resou...
  getMetadataFormat = Method(returns= ObjectArg("@return"))
  getMetadataKeys = Method(returns= ListArg("@return"))
  getMetadataValues = Method(ListArg("keys"), returns= DictArg("...
  getRawMetadata = Method(returns= StringArg("@return"))
  __rconf__ = {'binding_method': 'direct', 'intf_id': 'resources...

Inherited from core.interfaces.Interface: __iconf__

Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

REGISTRY_CONF

Value:
{'binding_method': 'direct',
 'intf_id': 'resources.coverages.interfaces.Metadata',
 'name': 'Metadata Interface'}

getMetadataValues

Value:
Method(ListArg("keys"), returns= DictArg("@return"))

__rconf__

Value:
{'binding_method': 'direct',
 'intf_id': 'resources.coverages.interfaces.Metadata',
 'name': 'Metadata Interface'}