edu.mssm.crover.tools.tissue.xml
Class Tokey
java.lang.Object
|
+--edu.mssm.crover.tools.tissue.xml.Tokey
- All Implemented Interfaces:
- java.io.Serializable
- public class Tokey
- extends java.lang.Object
- implements java.io.Serializable
- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
|
Constructor Summary |
Tokey()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Tokey
public Tokey()
getId
public int getId()
getOrganism
public java.lang.String getOrganism()
getRawTissue
public java.lang.String getRawTissue()
hasId
public boolean hasId()
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
setId
public void setId(int id)
- Parameters:
id -
setOrganism
public void setOrganism(java.lang.String organism)
- Parameters:
organism -
setRawTissue
public void setRawTissue(java.lang.String rawTissue)
- Parameters:
rawTissue -
unmarshal
public static Tokey 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.