apollo.dataadapter
Class KaryotypeAdapter

java.lang.Object
  extended by apollo.dataadapter.KaryotypeAdapter
All Implemented Interfaces:
KaryotypeAdapterI

public class KaryotypeAdapter
extends java.lang.Object
implements KaryotypeAdapterI

A simple implementation of KaryotypeAdapterI. I am a bucket of information passed forward to the FullEnsjSyntenyPanel.


Constructor Summary
KaryotypeAdapter()
           
 
Method Summary
 void addKaryotype(Karyotype karyotype)
           
 Karyotype getKaryotypeBySpeciesName(java.lang.String name)
           
 java.util.Vector getKaryotypes()
           
 java.lang.String getName()
           
 java.lang.String getType()
           
 java.lang.String setName(java.lang.String name)
           
 void setType(java.lang.String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KaryotypeAdapter

public KaryotypeAdapter()
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface KaryotypeAdapterI

setName

public java.lang.String setName(java.lang.String name)

getType

public java.lang.String getType()
Specified by:
getType in interface KaryotypeAdapterI

setType

public void setType(java.lang.String type)

getKaryotypes

public java.util.Vector getKaryotypes()
Specified by:
getKaryotypes in interface KaryotypeAdapterI

getKaryotypeBySpeciesName

public Karyotype getKaryotypeBySpeciesName(java.lang.String name)
Specified by:
getKaryotypeBySpeciesName in interface KaryotypeAdapterI

addKaryotype

public void addKaryotype(Karyotype karyotype)