uk.ac.ebi.microarray.zooma.context
Class AggregatedContext
java.lang.Object
uk.ac.ebi.microarray.zooma.context.AggregatedContext
- All Implemented Interfaces:
- OntologyMappingContext
public class AggregatedContext
- extends java.lang.Object
- implements OntologyMappingContext
An ontology mapping context that is the aggregation of several contexts,
normally asserting an identical mapping. This will return a Source
.AGGREGATED_SOURCE
as the source, but the individual
contexts that were aggregated to produce this context are still accessible
using getOriginalContexts()
.
- Author:
- Tony Burdett
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AggregatedContext
public AggregatedContext(OntologyMappingContext... contexts)
getOriginalContexts
public java.util.Set<OntologyMappingContext> getOriginalContexts()
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.