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

java.lang.Object
  extended by uk.ac.ebi.microarray.zooma.context.NewTermContext
All Implemented Interfaces:
OntologyMappingContext

public class NewTermContext
extends java.lang.Object
implements OntologyMappingContext

A context representing newly submitted, text based values. In this case, much of the contextual information may be missing or irrelevant,

Author:
Tony Burdett

Field Summary
 
Fields inherited from interface uk.ac.ebi.microarray.zooma.context.OntologyMappingContext
IRRELEVANT_VALUE, UNKNOWN_VALUE, USER_SUBMITTED
 
Constructor Summary
NewTermContext()
           
NewTermContext(Source termSource)
           
 
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

NewTermContext

public NewTermContext()

NewTermContext

public NewTermContext(Source termSource)
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.