uk.ac.ebi.microarray.zooma.context
Class DefaultMappingContext

java.lang.Object
  extended by uk.ac.ebi.microarray.zooma.context.DefaultMappingContext
All Implemented Interfaces:
OntologyMappingContext
Direct Known Subclasses:
OWLContext

public class DefaultMappingContext
extends java.lang.Object
implements OntologyMappingContext

A basic implementation of a mapping context that contains only core information. This implementation can be used when generating new context information manually rather than retrieving information from an external source.

Author:
Tony Burdett

Field Summary
 
Fields inherited from interface uk.ac.ebi.microarray.zooma.context.OntologyMappingContext
IRRELEVANT_VALUE, UNKNOWN_VALUE, USER_SUBMITTED
 
Constructor Summary
DefaultMappingContext(Source source)
           
 
Method Summary
 Source getSource()
          The "source" in which a mapping is asserted.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultMappingContext

public DefaultMappingContext(Source source)
Method Detail

getSource

public Source getSource()
Description copied from interface: OntologyMappingContext
The "source" in which a mapping is asserted. This will usually describe the name of the datasource in which a mapping is stated, or possibly the ontology in which a value exactly matches a class name.

Specified by:
getSource in interface OntologyMappingContext
Returns:
the source of a mapping assertion

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2010. All Rights Reserved.