gov.usda.gdpc
Class DefaultPhenotypeOntologyGroup

java.lang.Object
  extended bygov.usda.gdpc.AbstractGroup
      extended bygov.usda.gdpc.AbstractDBElementGroup
          extended bygov.usda.gdpc.AbstractPhenotypeOntologyGroup
              extended bygov.usda.gdpc.DefaultPhenotypeOntologyGroup
All Implemented Interfaces:
java.util.Collection, DBElementGroup, Group, java.util.List, PhenotypeOntologyGroup

public final class DefaultPhenotypeOntologyGroup
extends AbstractPhenotypeOntologyGroup

This is the default implementation of a phenotype ontology group. Most of the function comes from the abstract class that is extends.

Author:
terryc

Field Summary
 
Fields inherited from class gov.usda.gdpc.AbstractDBElementGroup
myIndex
 
Constructor Summary
DefaultPhenotypeOntologyGroup()
          DefaultPhenotypeOntologyGroup constructor.
DefaultPhenotypeOntologyGroup(java.util.List list)
          DefaultPhenotypeOntologyGroup constructor.
DefaultPhenotypeOntologyGroup(PhenotypeOntology[] ontology)
          DefaultPhenotypeOntologyGroup constructor.
DefaultPhenotypeOntologyGroup(PhenotypeOntologyGroup[] groups)
          DefaultPhenotypeOntologyGroup constructor.
 
Methods inherited from class gov.usda.gdpc.AbstractPhenotypeOntologyGroup
getPhenotypeOntology, getPhenotypeOntologyGroup, getType
 
Methods inherited from class gov.usda.gdpc.AbstractDBElementGroup
getDBElementGroup, getDBElements, getDefinedProperties, 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, getDefinedProperties, 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

DefaultPhenotypeOntologyGroup

public DefaultPhenotypeOntologyGroup(PhenotypeOntology[] ontology)
DefaultPhenotypeOntologyGroup constructor.

Parameters:
ontology - list of phenotype ontology to be a part of this group.

DefaultPhenotypeOntologyGroup

public DefaultPhenotypeOntologyGroup()
DefaultPhenotypeOntologyGroup constructor. Creates an empty group.


DefaultPhenotypeOntologyGroup

public DefaultPhenotypeOntologyGroup(java.util.List list)
DefaultPhenotypeOntologyGroup constructor.

Parameters:
list - list of objects to be a part of this group. Any null in the list will be discarded.

DefaultPhenotypeOntologyGroup

public DefaultPhenotypeOntologyGroup(PhenotypeOntologyGroup[] groups)
DefaultPhenotypeOntologyGroup constructor.

Parameters:
groups - groups to include in this new group.