public class CellSubsection extends Object implements Observer
Updatable. Each subsection has its own ConcentrationPool
and behaves independently of other subsections in the same CellRegion.| Modifier and Type | Field and Description |
|---|---|
static CellSubsection |
MEMBRANE
A general membrane subsection.
|
static CellSubsection |
SECTION_A
A cellular subsection "A".
|
static CellSubsection |
SECTION_B
A cellular subsection "B".
|
| Constructor and Description |
|---|
CellSubsection(String identifier)
Creates a new cell subsection with the given identifier and dynamic preferred concentration unit.
|
CellSubsection(String identifier,
boolean dynamicConcentration)
Creates a new cell subsection.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getIdentifier()
Returns the identifier.
|
javax.measure.Unit<MolarConcentration> |
getPreferredConcentrationUnit()
Returns the preferred concentration unit for this subsection.
|
int |
hashCode() |
void |
setPreferredConcentrationUnit(javax.measure.Unit<MolarConcentration> preferredConcentrationUnit)
Sets the preferred concentration unit for this subsection.
|
String |
toString() |
void |
update(Observable o,
Object arg) |
public static CellSubsection MEMBRANE
public static CellSubsection SECTION_A
public static CellSubsection SECTION_B
public CellSubsection(String identifier)
identifier - The identifier.public CellSubsection(String identifier, boolean dynamicConcentration)
identifier - The identifier.dynamicConcentration - True if the preferred concentration unit should be updated if subsection volume
changes.public String getIdentifier()
public javax.measure.Unit<MolarConcentration> getPreferredConcentrationUnit()
public void setPreferredConcentrationUnit(javax.measure.Unit<MolarConcentration> preferredConcentrationUnit)
preferredConcentrationUnit - The preferred concentration unit.public void update(Observable o, Object arg)
Copyright © 2018. All rights reserved.