|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectgov.usda.gdpc.AbstractGroup
gov.usda.gdpc.AbstractDBElementGroup
gov.usda.gdpc.AbstractLocusGroup
This class provides a skeletal implementation of the LocusGroup interface to minimize the effort required to implement this interface.
| Field Summary |
| Fields inherited from class gov.usda.gdpc.AbstractDBElementGroup |
myIndex |
| Constructor Summary | |
AbstractLocusGroup()
AbstractLocusGroup constructor. |
|
AbstractLocusGroup(java.util.List list)
AbstractLocusGroup constructor. |
|
AbstractLocusGroup(Locus[] loci)
AbstractLocusGroup constructor. |
|
AbstractLocusGroup(LocusGroup[] groups)
AbstractLocusGroup constructor. |
|
| 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. |
java.lang.String |
getType()
Get type of this group. |
| Methods inherited from class gov.usda.gdpc.AbstractDBElementGroup |
getDBElementGroup, getDBElements, getDistinctProperties, index, toString |
| Methods inherited from class gov.usda.gdpc.AbstractGroup |
add, add, addAll, addAll, clear, contains, containsAll, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface gov.usda.gdpc.DBElementGroup |
getDBElements, getDistinctProperties, 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 |
| Constructor Detail |
public AbstractLocusGroup(Locus[] loci)
loci - list of loci to be a part of this group.public AbstractLocusGroup()
public AbstractLocusGroup(java.util.List list)
list - list of objects to be a part of this group. Any
null in the list will be discarded.public AbstractLocusGroup(LocusGroup[] groups)
groups - groups to include in this new group.| Method Detail |
public LocusGroup getLocusGroup(LocusFilter filter)
getLocusGroup in interface LocusGroupfilter - filter
public Locus getLocus(java.lang.String dataSource,
Identifier id)
getLocus in interface LocusGroupdataSource - data sourceid - identifier
public java.lang.String getType()
getType in interface DBElementGroup
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||