|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.sim.table.views.TableData
public class TableData
The class TableData implements a single data entry that represents a variable or signal within the data table. If it is a signal, then it can be present or absent. An entry always contains of a key and a value String expression.
Constructor Summary | |
---|---|
TableData(TableDataList parentTableDataList)
Instantiates a new TableData entry. |
|
TableData(TableDataList parentTableDataList,
boolean presentParam,
boolean signalParam,
String keyParam,
String valueParam)
Instantiates a new TableData. |
|
TableData(TableDataList parentTableDataList,
boolean presentParam,
String keyParam,
String valueParam)
Instantiates a new TableData. |
|
TableData(TableDataList parentTableDataList,
String keyParam)
Instantiates a new TableData entry. |
|
TableData(TableDataList parentTableDataList,
String keyParam,
String valueParam)
Instantiates a new TableData entry. |
Method Summary | |
---|---|
String |
getKey()
Gets the key of the entry. |
TableDataList |
getParentTableDataList()
Gets the parent TableDataList. |
String |
getValue()
Gets the value of the entry. |
boolean |
isModified()
Checks whether entry is flagged as modified. |
boolean |
isPermanent()
Checks whether entry is flagged as permanent. |
boolean |
isPresent()
Checks whether the signal is present (for signal entries only). |
boolean |
isSignal()
Checks whether the entry is a signal. |
void |
setKey(String keyParam)
Sets the key of the entry. |
void |
setModified(boolean modifiedParam)
Sets the modified flag of an entry. |
void |
setPermanent(boolean permanentParam)
Sets the permanent flag of an entry. |
void |
setPresent(boolean presentParam)
Sets the present flag (for signal entries only). |
void |
setSignal(boolean signalParam)
Sets the signal flag of an entry. |
void |
setValue(String valueParam)
Sets the value of the entry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TableData(TableDataList parentTableDataList)
parentTableDataList
- the parent TableDataListpublic TableData(TableDataList parentTableDataList, String keyParam)
parentTableDataList
- the parent TableDataListkeyParam
- the key of the entrypublic TableData(TableDataList parentTableDataList, String keyParam, String valueParam)
parentTableDataList
- the parent TableDataListkeyParam
- the key of the entryvalueParam
- the value of the entrypublic TableData(TableDataList parentTableDataList, boolean presentParam, String keyParam, String valueParam)
parentTableDataList
- the parent TableDataListpresentParam
- the present flag of the entrykeyParam
- the key of the entryvalueParam
- the value of the entrypublic TableData(TableDataList parentTableDataList, boolean presentParam, boolean signalParam, String keyParam, String valueParam)
parentTableDataList
- the parent TableDataListpresentParam
- the present flag of the entrysignalParam
- the signal flag of the entrykeyParam
- the key of the entryvalueParam
- the value of the entryMethod Detail |
---|
public TableDataList getParentTableDataList()
public String getValue()
public String getKey()
public void setValue(String valueParam)
valueParam
- the new valuepublic void setKey(String keyParam) throws Exception
keyParam
- the new key
Exception
- the exception if the key already exists in the parent TableDataListpublic void setPresent(boolean presentParam)
presentParam
- the new presentpublic boolean isPresent()
public void setSignal(boolean signalParam)
signalParam
- true, if entry is a signalpublic boolean isSignal()
public void setModified(boolean modifiedParam)
modifiedParam
- true, if entry was modifiedpublic boolean isModified()
public void setPermanent(boolean permanentParam)
permanentParam
- true, if entry is permanentpublic boolean isPermanent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |