|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjasi.sim.user.table.SimValueConditionTree
public class SimValueConditionTree
A condition table, that allows to retrieve values from a set of conditions based on an if-then-else structure. The conditions are represented by key-value-pairs. The condition table provides the ability to enter values for a default key. This value will be retrieved, if another key will not fit.
Nested Class Summary | |
---|---|
static class |
SimValueConditionTree.Line
Line in a condition table. |
Constructor Summary | |
---|---|
SimValueConditionTree()
Table constructor. |
|
SimValueConditionTree(java.lang.String id)
Table constructor. |
Method Summary | |
---|---|
void |
addLine(SimValue values)
Add a condition line to this table. |
void |
addLine(SimValue[] values)
Add a condition line to this table. |
void |
addLine(SimValue[] keys,
SimValue values)
Add a condition line to this table. |
void |
addLine(SimValue[] keys,
SimValue[] values)
Add a condition line to this table. |
void |
addLine(SimValue keys,
SimValue values)
Add a condition line to this table. |
void |
addLine(SimValue keys,
SimValue[] values)
Add a condition line to this table. |
boolean |
equals(java.lang.Object o)
Indicates, whether some other object is "equal to" this one. |
SimValue[] |
find(SimValue[] keys)
Find the value for a key. |
java.lang.String |
getId()
Get this table's ID. |
java.util.List<SimValueConditionTree.Line> |
getLines()
Get the lines of this table. |
int |
hashCode()
Returns the hash code value for this assignable object. |
void |
setId(java.lang.String id)
Set this table's ID. |
void |
setLines(java.util.List<SimValueConditionTree.Line> lines)
Set the lines of this table. |
java.lang.String |
toString()
Returns a string representation of this table. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SimValueConditionTree()
public SimValueConditionTree(java.lang.String id)
id
- The table-ID.Method Detail |
---|
public java.lang.String getId()
public void setId(java.lang.String id)
id
- The ID.public void setLines(java.util.List<SimValueConditionTree.Line> lines)
lines
- The lines.public java.util.List<SimValueConditionTree.Line> getLines()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- That object which is compared with this object.
public void addLine(SimValue values)
values
- The values.public void addLine(SimValue[] values)
values
- The values.public void addLine(SimValue keys, SimValue values)
keys
- The keys.values
- The values.public void addLine(SimValue[] keys, SimValue values)
keys
- The keys.values
- The values.public void addLine(SimValue keys, SimValue[] values)
keys
- The keys.values
- The values.public void addLine(SimValue[] keys, SimValue[] values)
keys
- The keys.values
- The values.public SimValue[] find(SimValue[] keys)
keys
- The key.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |