gov.usda.gdpc
Interface PhenotypeOntologyGroup

All Superinterfaces:
java.util.Collection, DBElementGroup, Group, java.util.List
All Known Implementing Classes:
AbstractPhenotypeOntologyGroup

public interface PhenotypeOntologyGroup
extends DBElementGroup

Collection of phenotype ontologys.

Author:
terryc

Method Summary
 PhenotypeOntology getPhenotypeOntology(java.lang.String dataSource, Identifier id)
          This returns the phenotype ontology instance from this group that matches the specified id and source.
 PhenotypeOntologyGroup getPhenotypeOntologyGroup(PhenotypeOntologyFilter filter)
          Get the phenotype ontology group matching the given filter from this phenotype ontology group.
 
Methods inherited from interface gov.usda.gdpc.DBElementGroup
getDBElements, getDefinedProperties, getDistinctProperties, getType, index
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Method Detail

getPhenotypeOntologyGroup

public PhenotypeOntologyGroup getPhenotypeOntologyGroup(PhenotypeOntologyFilter filter)
Get the phenotype ontology group matching the given filter from this phenotype ontology group.

Parameters:
filter - filter
Returns:
phenotype ontology group

getPhenotypeOntology

public PhenotypeOntology getPhenotypeOntology(java.lang.String dataSource,
                                              Identifier id)
This returns the phenotype ontology instance from this group that matches the specified id and source. Null will be returned if its not in this group.

Parameters:
dataSource - data source
id - identifier
Returns:
phenotype ontology or null if not in this group.