gov.lbl.genome.common
Class ChromInfo

java.lang.Object
  extended by gov.lbl.genome.common.ChromInfo

public class ChromInfo
extends java.lang.Object

Title: ChromInfo

Description:

ChromInfo is information about the data available for a chromosome, such as name, minimum data coordinate on disk, and maximum data coordinate on disk. This information is sent from the VISTA Servlet to the VISTA Browser.

COPYRIGHT 2002, 2003 by THE REGENTS OF THE UNIVERSITY OF CALIFORNIA


Constructor Summary
ChromInfo(java.lang.String name, long size, int type)
          ChromInfo
 
Method Summary
 java.lang.String getName()
          get Name
 long getSize()
          return the minimum data coordinate available on disk
 int getType()
          get chromosome Type
 java.lang.String toString()
          return XML formatted summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChromInfo

public ChromInfo(java.lang.String name,
                 long size,
                 int type)
ChromInfo

Parameters:
name - String
size - long
type - int
Method Detail

getSize

public long getSize()
return the minimum data coordinate available on disk


getName

public java.lang.String getName()
get Name

Returns:
String

getType

public int getType()
get chromosome Type

Returns:
int

toString

public java.lang.String toString()
return XML formatted summary

Overrides:
toString in class java.lang.Object
Returns:
String