edu.mssm.crover.webapps.dimlib.parsers.xml
Class Annotations

java.lang.Object
  |
  +--edu.mssm.crover.webapps.dimlib.parsers.xml.Annotations
All Implemented Interfaces:
java.io.Serializable

public class Annotations
extends java.lang.Object
implements java.io.Serializable

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Annotations()
           
 
Method Summary
 void addPhenotype(int index, java.lang.String vPhenotype)
           
 void addPhenotype(java.lang.String vPhenotype)
           
 void clearPhenotype()
           
 java.util.Enumeration enumeratePhenotype()
           
 java.lang.String getDescription()
           
 java.lang.String[] getPhenotype()
           
 java.lang.String getPhenotype(int index)
           
 int getPhenotypeCount()
           
 References getReferences()
           
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
 boolean removePhenotype(java.lang.String vPhenotype)
           
 void setDescription(java.lang.String description)
           
 void setPhenotype(int index, java.lang.String vPhenotype)
           
 void setPhenotype(java.lang.String[] phenotypeArray)
           
 void setReferences(References references)
           
static Annotations unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Annotations

public Annotations()
Method Detail

addPhenotype

public void addPhenotype(java.lang.String vPhenotype)
                  throws java.lang.IndexOutOfBoundsException
Parameters:
vPhenotype -
java.lang.IndexOutOfBoundsException

addPhenotype

public void addPhenotype(int index,
                         java.lang.String vPhenotype)
                  throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vPhenotype -
java.lang.IndexOutOfBoundsException

clearPhenotype

public void clearPhenotype()

enumeratePhenotype

public java.util.Enumeration enumeratePhenotype()

getDescription

public java.lang.String getDescription()

getPhenotype

public java.lang.String getPhenotype(int index)
                              throws java.lang.IndexOutOfBoundsException
Parameters:
index -
java.lang.IndexOutOfBoundsException

getPhenotype

public java.lang.String[] getPhenotype()

getPhenotypeCount

public int getPhenotypeCount()

getReferences

public References getReferences()

isValid

public boolean isValid()

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
out -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

marshal

public void marshal(org.xml.sax.DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Parameters:
handler -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

removePhenotype

public boolean removePhenotype(java.lang.String vPhenotype)
Parameters:
vPhenotype -

setDescription

public void setDescription(java.lang.String description)
Parameters:
description -

setPhenotype

public void setPhenotype(int index,
                         java.lang.String vPhenotype)
                  throws java.lang.IndexOutOfBoundsException
Parameters:
index -
vPhenotype -
java.lang.IndexOutOfBoundsException

setPhenotype

public void setPhenotype(java.lang.String[] phenotypeArray)
Parameters:
phenotypeArray -

setReferences

public void setReferences(References references)
Parameters:
references -

unmarshal

public static Annotations unmarshal(java.io.Reader reader)
                             throws org.exolab.castor.xml.MarshalException,
                                    org.exolab.castor.xml.ValidationException
Parameters:
reader -
org.exolab.castor.xml.MarshalException
org.exolab.castor.xml.ValidationException

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.ValidationException


Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.