SigPath

org.sigpath.bioimport.reaction2
Class NamedChemical

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

public class NamedChemical
extends Object
implements Serializable

Annotates a SigPath chemical with a name but no accession code

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

Constructor Summary
NamedChemical()
           
 
Method Summary
 void addExternalReference(ExternalReference vExternalReference)
          Method addExternalReference
 void addExternalReference(int index, ExternalReference vExternalReference)
          Method addExternalReference
 void clearExternalReference()
          Method clearExternalReference
 Enumeration enumerateExternalReference()
          Method enumerateExternalReference
 Change_log getChange_log()
          Returns the value of field 'change_log'.
 String getComments()
          Returns the value of field 'comments'.
 String getDescription()
          Returns the value of field 'description'.
 ExternalReference[] getExternalReference()
          Method getExternalReference
 ExternalReference getExternalReference(int index)
          Method getExternalReference
 int getExternalReferenceCount()
          Method getExternalReferenceCount
 String getId()
          Returns the value of field 'id'.
 String getName()
          Returns the value of field 'name'.
 String getSpid()
          Returns the value of field 'spid'.
 UserComments getUserComments()
          Returns the value of field 'userComments'.
 boolean isValid()
          Method isValid
 void marshal(ContentHandler handler)
          Method marshal
 void marshal(Writer out)
          Method marshal
 boolean removeExternalReference(ExternalReference vExternalReference)
          Method removeExternalReference
 void setChange_log(Change_log change_log)
          Sets the value of field 'change_log'.
 void setComments(String comments)
          Sets the value of field 'comments'.
 void setDescription(String description)
          Sets the value of field 'description'.
 void setExternalReference(ExternalReference[] externalReferenceArray)
          Method setExternalReference
 void setExternalReference(int index, ExternalReference vExternalReference)
          Method setExternalReference
 void setId(String id)
          Sets the value of field 'id'.
 void setName(String name)
          Sets the value of field 'name'.
 void setSpid(String spid)
          Sets the value of field 'spid'.
 void setUserComments(UserComments userComments)
          Sets the value of field 'userComments'.
static NamedChemical 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

NamedChemical

public NamedChemical()
Method Detail

addExternalReference

public void addExternalReference(ExternalReference vExternalReference)
                          throws IndexOutOfBoundsException
Method addExternalReference

Parameters:
vExternalReference -
Throws:
IndexOutOfBoundsException

addExternalReference

public void addExternalReference(int index,
                                 ExternalReference vExternalReference)
                          throws IndexOutOfBoundsException
Method addExternalReference

Parameters:
index -
vExternalReference -
Throws:
IndexOutOfBoundsException

clearExternalReference

public void clearExternalReference()
Method clearExternalReference


enumerateExternalReference

public Enumeration enumerateExternalReference()
Method enumerateExternalReference

Returns:
Enumeration

getChange_log

public Change_log getChange_log()
Returns the value of field 'change_log'. The field 'change_log' has the following description: Used to annotate change log information, including who submitted this record, when the record was submitted, and when the record was last modified.

Returns:
Change_log

getComments

public String getComments()
Returns the value of field 'comments'. The field 'comments' has the following description: Allows you to annotate SigPath submission components with comments

Returns:
String

getDescription

public String getDescription()
Returns the value of field 'description'. The field 'description' has the following description: Allows you to attach a description to a reaction, molecule, compartment, model or review

Returns:
String

getExternalReference

public ExternalReference getExternalReference(int index)
                                       throws IndexOutOfBoundsException
Method getExternalReference

Parameters:
index -
Returns:
ExternalReference
Throws:
IndexOutOfBoundsException

getExternalReference

public ExternalReference[] getExternalReference()
Method getExternalReference

Returns:
ExternalReference

getExternalReferenceCount

public int getExternalReferenceCount()
Method getExternalReferenceCount

Returns:
int

getId

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

Returns:
String

getName

public String getName()
Returns the value of field 'name'. The field 'name' has the following description: Annotates the name of the chemical.

Returns:
String

getSpid

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

Returns:
String

getUserComments

public UserComments getUserComments()
Returns the value of field 'userComments'. The field 'userComments' has the following description: Groups user-comment

Returns:
UserComments

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

removeExternalReference

public boolean removeExternalReference(ExternalReference vExternalReference)
Method removeExternalReference

Parameters:
vExternalReference -
Returns:
boolean

setChange_log

public void setChange_log(Change_log change_log)
Sets the value of field 'change_log'. The field 'change_log' has the following description: Used to annotate change log information, including who submitted this record, when the record was submitted, and when the record was last modified.

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

setComments

public void setComments(String comments)
Sets the value of field 'comments'. The field 'comments' has the following description: Allows you to annotate SigPath submission components with comments

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

setDescription

public void setDescription(String description)
Sets the value of field 'description'. The field 'description' has the following description: Allows you to attach a description to a reaction, molecule, compartment, model or review

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

setExternalReference

public void setExternalReference(int index,
                                 ExternalReference vExternalReference)
                          throws IndexOutOfBoundsException
Method setExternalReference

Parameters:
index -
vExternalReference -
Throws:
IndexOutOfBoundsException

setExternalReference

public void setExternalReference(ExternalReference[] externalReferenceArray)
Method setExternalReference

Parameters:
externalReferenceArray -

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'. The field 'name' has the following description: Annotates the name of the chemical.

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

setSpid

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

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

setUserComments

public void setUserComments(UserComments userComments)
Sets the value of field 'userComments'. The field 'userComments' has the following description: Groups user-comment

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

unmarshal

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

Parameters:
reader -
Returns:
NamedChemical
Throws:
MarshalException
ValidationException

validate

public void validate()
              throws ValidationException
Method validate

Throws:
ValidationException

SigPath

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