SigPath

org.sigpath.bioimport.reaction2
Class NamedChemicalRef

java.lang.Object
  extended by org.sigpath.bioimport.reaction2.NamedChemicalRef
All Implemented Interfaces:
Serializable

public class NamedChemicalRef
extends Object
implements Serializable

The reference value of a named chemical.

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

Constructor Summary
NamedChemicalRef()
           
 
Method Summary
 String getAc()
          Returns the value of field 'ac'.
 Object getIdref()
          Returns the value of field 'idref'.
 String getOrganism()
          Returns the value of field 'organism'.
 String getRole()
          Returns the value of field 'role'.
 String getSpid()
          Returns the value of field 'spid'.
 boolean isValid()
          Method isValid
 void marshal(ContentHandler handler)
          Method marshal
 void marshal(Writer out)
          Method marshal
 void setAc(String ac)
          Sets the value of field 'ac'.
 void setIdref(Object idref)
          Sets the value of field 'idref'.
 void setOrganism(String organism)
          Sets the value of field 'organism'.
 void setRole(String role)
          Sets the value of field 'role'.
 void setSpid(String spid)
          Sets the value of field 'spid'.
static NamedChemicalRef 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

NamedChemicalRef

public NamedChemicalRef()
Method Detail

getAc

public String getAc()
Returns the value of field 'ac'.

Returns:
String

getIdref

public Object getIdref()
Returns the value of field 'idref'.

Returns:
Object

getOrganism

public String getOrganism()
Returns the value of field 'organism'.

Returns:
String

getRole

public String getRole()
Returns the value of field 'role'. The field 'role' has the following description: Annotates the role of the named-chemical in an interaction, e.g. binding partner, substrate.

Returns:
String

getSpid

public String getSpid()
Returns the value of field 'spid'.

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

setAc

public void setAc(String ac)
Sets the value of field 'ac'.

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

setIdref

public void setIdref(Object idref)
Sets the value of field 'idref'.

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

setOrganism

public void setOrganism(String organism)
Sets the value of field 'organism'.

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

setRole

public void setRole(String role)
Sets the value of field 'role'. The field 'role' has the following description: Annotates the role of the named-chemical in an interaction, e.g. binding partner, substrate.

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

setSpid

public void setSpid(String spid)
Sets the value of field 'spid'.

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

unmarshal

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

Parameters:
reader -
Returns:
NamedChemicalRef
Throws:
MarshalException
ValidationException

validate

public void validate()
              throws ValidationException
Method validate

Throws:
ValidationException

SigPath

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