|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.primordion.xholon.base.Xholon
org.primordion.xholon.base.XholonWithPorts
org.primordion.cellontro.app.XhCell
An instance of XhCell represents some biological entity, and exists as a node in a composite structure hierarchy tree. Each such Xholon object goes through an initial configure() process, and may subsequently go through a regular act() process at each time step.
At configure() time (Basic Cell Model):
At act() time (Basic Cell Model):
An enzyme active object is a simple abstraction of a biological enzyme that acts on small molecules contained within the same internal space. A bilayer is a simple abstraction of a biological membrane (lipid bilayer) that moves small molecules between its internal space and the space external to it. A transport protein is a simple abstraction that acts much like a bilayer.
TODO Align this application with XhAbstractSbml, and with Xh apps generated from external SBML.
TODO Allow the kinetics to be readily exportable in SBML format.
| Field Summary | |
static int |
P_SM_ACT1
|
static int |
P_SM_COE1
|
static int |
P_SM_COE2
|
static int |
P_SM_EXT1
|
static int |
P_SM_EXT2
|
static int |
P_SM_EXT3
|
static int |
P_SM_EXT4
|
static int |
P_SM_INH1
|
static int |
P_SM_INT1
|
static int |
P_SM_INT2
|
static int |
P_SM_INT3
|
static int |
P_SM_INT4
|
static int |
P_SM_PRD1
|
static int |
P_SM_PRD2
|
static int |
P_SM_SUB1
|
static int |
P_SM_SUB2
|
double |
pheneVal
|
java.lang.String |
roleName
|
java.lang.SecurityException |
securityException
|
int |
state
|
| Fields inherited from class org.primordion.xholon.base.XholonWithPorts |
port |
| Fields inherited from class org.primordion.xholon.base.Xholon |
DEFAULT_LEVEL, interaction, interactionsEnabled |
| Fields inherited from interface org.primordion.xholon.base.IXholon |
DEFAULT_SIZE_MSG_Q, NINCLUDE_PSC, NINCLUDE_PSx, NINCLUDE_PxC, NINCLUDE_Pxx, NINCLUDE_xSC, NINCLUDE_xSx, NINCLUDE_xxC, NINCLUDE_xxx |
| Constructor Summary | |
XhCell()
Constructor. |
|
| Method Summary | |
void |
act()
Do some action during this time step. |
void |
configure()
Perform some action, typically once at start up; MAY be overridden. |
void |
decPheneVal(double decAmount)
Decrement the phene value by incAmount. |
int |
getNumModifiers()
Get maximum number of modifiers (activator, inhibitor) that any xholon instance may have in this model. |
int |
getNumProducts()
Get maximum number of products that any xholon instance may have in this model. |
int |
getNumReactants()
Get maximum number of reactants (substrates) that any xholon instance may have in this model. |
double |
getPheneVal()
Get phene value. |
java.lang.String |
getRoleName()
Get name of the role played by this Xholon within a specific context. |
double |
getVal()
Get the value of a "double" maintained by this xholon instance. |
void |
incPheneVal(double incAmount)
Increment the phene value by incAmount. |
void |
initialize()
Initialize the tree node. |
void |
postAct()
Do any required work after doing the main action during a time step. |
void |
preAct()
Do any setup required before doing the main action during a time step. |
void |
setNumModifiers(int numM)
Set maximum number of modifiers (activator, inhibitor) that any xholon instance may have in this model. |
void |
setNumProducts(int numP)
Set maximum number of products that any xholon instance may have in this model. |
void |
setNumReactants(int numR)
Set maximum number of reactants (substrates) that any xholon instance may have in this model. |
void |
setRoleName(java.lang.String roleName)
Set name of the role played by this Xholon within a specific context. |
java.lang.String |
toString()
Search for instances of Xholon with ports that reference this instance. |
| Methods inherited from class org.primordion.xholon.base.XholonWithPorts |
getMaxPorts, getPort, isActiveObject, isBound, isContainer, isPassiveObject, postConfigure, setMaxPorts, setPorts, terminate |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int P_SM_EXT1
public static final int P_SM_EXT2
public static final int P_SM_EXT3
public static final int P_SM_EXT4
public static final int P_SM_INT1
public static final int P_SM_INT2
public static final int P_SM_INT3
public static final int P_SM_INT4
public static final int P_SM_SUB1
public static final int P_SM_SUB2
public static final int P_SM_COE1
public static final int P_SM_PRD1
public static final int P_SM_PRD2
public static final int P_SM_COE2
public static final int P_SM_ACT1
public static final int P_SM_INH1
public int state
public java.lang.String roleName
public double pheneVal
public java.lang.SecurityException securityException
| Constructor Detail |
public XhCell()
| Method Detail |
public void initialize()
IXholon
initialize in interface IXholoninitialize in class XholonWithPortspublic double getVal()
IXholon
getVal in interface IXholongetVal in class Xholonpublic double getPheneVal()
IBioXholon
getPheneVal in interface IBioXholonpublic void incPheneVal(double incAmount)
IBioXholon
incPheneVal in interface IBioXholonincAmount - The amount by which to increment the phenotype value.public void decPheneVal(double decAmount)
IBioXholon
decPheneVal in interface IBioXholondecAmount - The amount by which to decrement the phenotype value.public int getNumReactants()
IBioXholon
getNumReactants in interface IBioXholonpublic void setNumReactants(int numR)
IBioXholon
setNumReactants in interface IBioXholonnumR - Maximum number of reactants.public int getNumProducts()
IBioXholon
getNumProducts in interface IBioXholonpublic void setNumProducts(int numP)
IBioXholon
setNumProducts in interface IBioXholonnumP - Maximum number of products.public int getNumModifiers()
IBioXholon
getNumModifiers in interface IBioXholonpublic void setNumModifiers(int numM)
IBioXholon
setNumModifiers in interface IBioXholonnumM - Maximum number of modifiers.public void setRoleName(java.lang.String roleName)
IXholon
setRoleName in interface IXholonsetRoleName in class Xholonpublic java.lang.String getRoleName()
IXholon
getRoleName in interface IXholongetRoleName in class Xholonpublic void configure()
IXholon
configure in interface IXholonconfigure in class XholonWithPortspublic void preAct()
IXholon
preAct in interface IXholonpreAct in class Xholonpublic void act()
IXholon
act in interface IXholonact in class Xholonpublic void postAct()
IXholon
postAct in interface IXholonpostAct in class Xholonpublic java.lang.String toString()
toString in class Xholon
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||