public class MembraneStatusResult extends MembranePropertyResult implements Condition
| Constructor and Description |
|---|
MembraneStatusResult(java.lang.String value) |
| Modifier and Type | Method and Description |
|---|---|
MembraneStatusResult |
deepClone()
Deep clone a result
|
int |
fetch(Membrane membrane,
int times)
fetch objects from membrane
|
int |
satisfy(Membrane membrane)
check if condition satisfy the situation in membrane.
|
java.lang.String |
toString() |
void |
withdrawFetch(Membrane membrane,
int times)
If some conditions in one rule cannot fetch the objects then the conditions
which have fetched the objects they need withdraw the objects they have
fetched.
|
getProperty, getValue, selectTunnel, setProperty, setResult, setValuepublic MembraneStatusResult deepClone()
Resultpublic int satisfy(Membrane membrane)
Conditionsatisfy in interface Conditionsatisfy in class MembranePropertyResultmembrane - the membrane where to check the condition0 if not satisfied.public int fetch(Membrane membrane, int times)
Conditionfetch in interface Conditionfetch in class MembranePropertyResultmembrane - the membrane where to fetch objectstimes - how many times going to fetchpublic void withdrawFetch(Membrane membrane, int times)
ConditionwithdrawFetch in interface ConditionwithdrawFetch in class MembranePropertyResultmembrane - the membrane current condition withdraw objects totimes - withdraw fetch timespublic java.lang.String toString()
toString in class MembranePropertyResult