SigPath

org.sigpath.datamodel.kinetic
Class BindingChemicalImpl

java.lang.Object
  extended by org.sigpath.datamodel.kinetic.SymbolBinding
      extended by org.sigpath.datamodel.kinetic.BindingDefinition
          extended by org.sigpath.datamodel.kinetic.BindingChemicalImpl

public class BindingChemicalImpl
extends BindingDefinition

Binds Chemicals to symbol in kinetic formula.


Field Summary
 
Fields inherited from class org.sigpath.datamodel.kinetic.SymbolBinding
description, name
 
Constructor Summary
BindingChemicalImpl()
           
BindingChemicalImpl(String name, Chemical chemical)
          Constructs a binding betwen name and Chemical.
 
Method Summary
 Chemical getChemical()
          Returns the chemical bound to the named symbol.
 Object getValue()
          Returns the chemical bound to the named symbol.
 void setChemical(Chemical chemical)
          Sets the chemical bound to the name symbol.
 
Methods inherited from class org.sigpath.datamodel.kinetic.SymbolBinding
equals, getDescription, getName, hashCode, setDescription, setName
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BindingChemicalImpl

public BindingChemicalImpl()

BindingChemicalImpl

public BindingChemicalImpl(String name,
                           Chemical chemical)
Constructs a binding betwen name and Chemical.

Parameters:
name -
chemical -
Method Detail

getChemical

public Chemical getChemical()
Returns the chemical bound to the named symbol.

Returns:
Chemical instance bound to the name.

setChemical

public void setChemical(Chemical chemical)
Sets the chemical bound to the name symbol.

Parameters:
chemical - Chemical to bind to the name.

getValue

public Object getValue()
Returns the chemical bound to the named symbol.

Specified by:
getValue in class BindingDefinition
Returns:
Chemical instance bound to the name.

SigPath

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