gov.usda.gdpc
Interface LocusGroup

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

public interface LocusGroup
extends DBElementGroup

Group of loci.

Author:
terryc

Method Summary
 Locus getLocus(java.lang.String dataSource, Identifier id)
          This returns the locus instance from this group that matches the specified id and source.
 LocusGroup getLocusGroup(LocusFilter filter)
          Get the locus group matching the given filter from this locus group.
 
Methods inherited from interface gov.usda.gdpc.DBElementGroup
getDBElements, 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

getLocusGroup

public LocusGroup getLocusGroup(LocusFilter filter)
Get the locus group matching the given filter from this locus group.

Parameters:
filter - filter
Returns:
locus group

getLocus

public Locus getLocus(java.lang.String dataSource,
                      Identifier id)
This returns the locus 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:
locus or null if not in this group.