org.inria.ns.reflex.processor.catalog
Class CatalogKey

java.lang.Object
  extended by org.inria.ns.reflex.util.Key
      extended by org.inria.ns.reflex.processor.catalog.CatalogKey
Direct Known Subclasses:
ExternalIdentifierKey, ResourceKey, URIKey

public abstract class CatalogKey
extends Key

A catalog key is able to produce a set of properties that represent it on behalf of a target data set.

Author:
Philippe Poulard

Field Summary
 
Fields inherited from class org.inria.ns.reflex.util.Key
hash, name, type
 
Constructor Summary
CatalogKey(QName type, QName name)
           
CatalogKey(QName type, String name)
           
 
Method Summary
abstract  void exportTo(DataSet dataSet)
          Create a set of properties in a target data set.
abstract  QName getSelector()
          Return the selector of this key.
 
Methods inherited from class org.inria.ns.reflex.util.Key
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CatalogKey

public CatalogKey(QName type,
                  QName name)
Parameters:
type -
name -

CatalogKey

public CatalogKey(QName type,
                  String name)
Parameters:
type -
name -
Method Detail

exportTo

public abstract void exportTo(DataSet dataSet)
Create a set of properties in a target data set.

Parameters:
dataSet - The target data set.

getSelector

public abstract QName getSelector()
Return the selector of this key.

Returns:
The selector.