SigPath

org.sigpath.bioimport.geneways
Class SubstanceType

java.lang.Object
  extended by org.sigpath.bioimport.geneways.SubstanceType
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Substance

public class SubstanceType
extends Object
implements Serializable

Class SubstanceType.

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

Constructor Summary
SubstanceType()
           
 
Method Summary
 String getId()
          Returns the value of field 'id'.
 String getName()
          Returns the value of field 'name'.
 boolean isValid()
          Method isValid
 void marshal(ContentHandler handler)
          Method marshal
 void marshal(Writer out)
          Method marshal
 void setId(String id)
          Sets the value of field 'id'.
 void setName(String name)
          Sets the value of field 'name'.
static SubstanceType unmarshal(Reader reader)
          Method unmarshal
 void validate()
          Method validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubstanceType

public SubstanceType()
Method Detail

getId

public String getId()
Returns the value of field 'id'.

Returns:
String

getName

public String getName()
Returns the value of field 'name'.

Returns:
String

isValid

public boolean isValid()
Method isValid

Returns:
boolean

marshal

public void marshal(Writer out)
             throws MarshalException,
                    ValidationException
Method marshal

Parameters:
out -
Throws:
MarshalException
ValidationException

marshal

public void marshal(ContentHandler handler)
             throws IOException,
                    MarshalException,
                    ValidationException
Method marshal

Parameters:
handler -
Throws:
IOException
MarshalException
ValidationException

setId

public void setId(String id)
Sets the value of field 'id'.

Parameters:
id - the value of field 'id'.

setName

public void setName(String name)
Sets the value of field 'name'.

Parameters:
name - the value of field 'name'.

unmarshal

public static SubstanceType unmarshal(Reader reader)
                               throws MarshalException,
                                      ValidationException
Method unmarshal

Parameters:
reader -
Returns:
SubstanceType
Throws:
MarshalException
ValidationException

validate

public void validate()
              throws ValidationException
Method validate

Throws:
ValidationException

SigPath

Copyright © 2002-2005 Institute for Computational Biomedicine, All Rights Reserved.