Package com.cosylab.vdct.vdb
Class VDBFieldData
- java.lang.Object
-
- com.cosylab.vdct.vdb.VDBFieldData
-
- All Implemented Interfaces:
Debuggable,LinkSource,ChangableVisibility,InspectableProperty
- Direct Known Subclasses:
VDBTemplateMacro,VDBTemplatePort
public class VDBFieldData extends Object implements InspectableProperty, Debuggable, ChangableVisibility, LinkSource
This type was created in VisualAge.
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringcommentprotected booleanconnectedprotected DBDFieldDatadbdDataprotected StringdebugValueprotected StringdebugValueTimeStampprotected DBDGuiGroupDatagui_groupprotected Stringinit_valueprotected Stringnameprotected VDBRecordDatarecordprotected shortseverityprotected inttypeprotected Stringvalueprotected intvisibility-
Fields inherited from interface com.cosylab.vdct.inspector.InspectableProperty
ALWAYS_VISIBLE, NEVER_VISIBLE, NON_DEFAULT_VISIBLE, UNDEFINED_VISIBILITY
-
-
Constructor Summary
Constructors Constructor Description VDBFieldData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanallowsOtherValues()Insert the method's description here.StringcheckValueValidity(String value)Returns null if this value is valid, else the error message.StringgetComment()Insert the method's description here.DBDFieldDatagetDbdData()Insert the method's description here.StringgetDebugValueTimeStamp()Returns stringified timestamp of the last debug value update.ObjectgetDsId()PatterngetEditPattern()Insert the method's description here.StringgetFullName()Insert the method's description here.DBDGuiGroupDatagetGui_group()Insert the method's description here.IntegergetGuiGroup()Returns the gui group index as an Integer or null if no gui group info available.StringgetHelp()Insert the method's description here.StringgetInit_value()Insert the method's description here.StringgetInitValue()Insert the method's description here.StringgetName()Insert the method's description here.intgetPositionIndex()VDBRecordDatagetRecord()Insert the method's description here.String[]getSelectableValues()Insert the method's description here.shortgetSeverity()Get last debug value severity.StringgetToolTipText()Insert the method's description here.intgetType()Insert the method's description here.StringgetValue()Insert the method's description here.intgetVisibility()Insert the method's description here.booleanhasDefaultValue()Insert the method's description here.booleanhasValidity()voidinitialize()Initialize debug value to initial state.booleanisConnected()Return debug connection status.booleanisEditable()Insert the method's description here.booleanisSeparator()Insert the method's description here.booleanisValid()Insert the method's description here.voidpopupEvent(Component component, int x, int y)Insert the method's description here.voidsetComment(String newComment)Insert the method's description here.voidsetConnected(boolean connected)Set connection status.voidsetDbdData(DBDFieldData newDbdData)Insert the method's description here.voidsetDebugValue(String newValue, Date timeStamp, short severity)Set debug value.voidsetGui_group(DBDGuiGroupData newGui_group)Insert the method's description here.voidsetInit_value(String newInit_value)Insert the method's description here.voidsetName(String newName)Insert the method's description here.voidsetPositionIndex(int index)voidsetRecord(VDBRecordData newRecord)Insert the method's description here.voidsetType(int newType)Insert the method's description here.voidsetValue(String newValue)Insert the method's description here.voidsetValueSilently(String newValue)Insert the method's description here.voidsetVisibility(int visibility)Sets the visibility.StringtoString()Insert the method's description here.voidupdateInspector()Insert the method's description here.
-
-
-
Field Detail
-
type
protected int type
-
gui_group
protected DBDGuiGroupData gui_group
-
name
protected String name
-
value
protected String value
-
init_value
protected String init_value
-
comment
protected String comment
-
dbdData
protected DBDFieldData dbdData
-
record
protected VDBRecordData record
-
debugValue
protected String debugValue
-
debugValueTimeStamp
protected String debugValueTimeStamp
-
severity
protected short severity
-
connected
protected boolean connected
-
visibility
protected int visibility
-
-
Method Detail
-
allowsOtherValues
public boolean allowsOtherValues()
Insert the method's description here. Creation date: (11.1.2001 21:47:04)- Specified by:
allowsOtherValuesin interfaceInspectableProperty- Returns:
- boolean
-
getComment
public String getComment()
Insert the method's description here. Creation date: (9.12.2000 18:11:46)- Returns:
- java.lang.String
-
getDbdData
public DBDFieldData getDbdData()
Insert the method's description here. Creation date: (11.1.2001 22:01:51)- Returns:
- com.cosylab.vdct.dbd.DBDFieldData
-
getFullName
public String getFullName()
Insert the method's description here. Creation date: (1.2.2001 12:11:29)- Specified by:
getFullNamein interfaceDebuggable- Specified by:
getFullNamein interfaceLinkSource- Returns:
- java.lang.String
-
getGui_group
public DBDGuiGroupData getGui_group()
Insert the method's description here. Creation date: (9.12.2000 18:11:46)- Returns:
- int
-
getHelp
public String getHelp()
Insert the method's description here. Creation date: (26.1.2001 15:03:07)- Specified by:
getHelpin interfaceInspectableProperty- Returns:
- java.lang.String
-
getInit_value
public String getInit_value()
Insert the method's description here. Creation date: (9.12.2000 18:11:46)- Returns:
- java.lang.String
-
getName
public String getName()
Insert the method's description here. Creation date: (9.12.2000 18:11:46)- Specified by:
getNamein interfaceInspectableProperty- Returns:
- java.lang.String
-
toString
public String toString()
Insert the method's description here. Creation date: (9.12.2000 18:11:46)
-
getRecord
public VDBRecordData getRecord()
Insert the method's description here. Creation date: (12.1.2001 20:01:39)- Returns:
- com.cosylab.vdct.vdb.VDBRecordData
-
getSelectableValues
public String[] getSelectableValues()
Insert the method's description here. Creation date: (11.1.2001 21:47:04)- Specified by:
getSelectableValuesin interfaceInspectableProperty- Returns:
- java.lang.String[]
-
getType
public int getType()
Insert the method's description here. Creation date: (9.12.2000 18:11:46)- Specified by:
getTypein interfaceLinkSource- Returns:
- int
-
getValue
public String getValue()
Insert the method's description here. Creation date: (9.12.2000 18:11:46)- Specified by:
getValuein interfaceInspectableProperty- Specified by:
getValuein interfaceLinkSource- Returns:
- java.lang.String
-
getInitValue
public String getInitValue()
Insert the method's description here. Creation date: (11.1.2001 21:29:48)- Specified by:
getInitValuein interfaceInspectableProperty- Returns:
- java.lang.String
-
hasDefaultValue
public boolean hasDefaultValue()
Insert the method's description here. Creation date: (27.1.2001 16:08:45)- Specified by:
hasDefaultValuein interfaceInspectableProperty- Returns:
- boolean
-
isEditable
public boolean isEditable()
Insert the method's description here. Creation date: (11.1.2001 21:47:04)- Specified by:
isEditablein interfaceInspectableProperty- Returns:
- boolean
-
isSeparator
public boolean isSeparator()
Insert the method's description here. Creation date: (11.1.2001 21:47:04)- Specified by:
isSeparatorin interfaceInspectableProperty- Returns:
- boolean
-
setComment
public void setComment(String newComment)
Insert the method's description here. Creation date: (9.12.2000 18:11:46)- Parameters:
newComment- java.lang.String
-
setDbdData
public void setDbdData(DBDFieldData newDbdData)
Insert the method's description here. Creation date: (11.1.2001 22:01:51)- Parameters:
newDbdData- com.cosylab.vdct.dbd.DBDFieldData
-
setDebugValue
public void setDebugValue(String newValue, Date timeStamp, short severity)
Description copied from interface:DebuggableSet debug value.- Specified by:
setDebugValuein interfaceDebuggable- Parameters:
newValue- newValuetimeStamp- timestamp of the valueseverity- alarm severity- See Also:
Debuggable.setDebugValue(java.lang.String, java.util.Date, short)
-
setGui_group
public void setGui_group(DBDGuiGroupData newGui_group)
Insert the method's description here. Creation date: (9.12.2000 18:11:46)- Parameters:
newGui_group- String
-
setInit_value
public void setInit_value(String newInit_value)
Insert the method's description here. Creation date: (9.12.2000 18:11:46)- Parameters:
newInit_value- java.lang.String
-
setName
public void setName(String newName)
Insert the method's description here. Creation date: (9.12.2000 18:11:46)- Parameters:
newName- java.lang.String
-
setRecord
public void setRecord(VDBRecordData newRecord)
Insert the method's description here. Creation date: (12.1.2001 20:01:39)- Parameters:
newRecord- com.cosylab.vdct.vdb.VDBRecordData
-
setType
public void setType(int newType)
Insert the method's description here. Creation date: (9.12.2000 18:11:46)- Parameters:
newType- int
-
updateInspector
public void updateInspector()
Insert the method's description here. Creation date: (9.12.2000 18:11:46)
-
setValue
public void setValue(String newValue)
Insert the method's description here. Creation date: (9.12.2000 18:11:46)- Specified by:
setValuein interfaceInspectableProperty- Specified by:
setValuein interfaceLinkSource- Parameters:
newValue- java.lang.String
-
setValueSilently
public void setValueSilently(String newValue)
Insert the method's description here. Creation date: (9.12.2000 18:11:46)- Specified by:
setValueSilentlyin interfaceLinkSource- Parameters:
newValue- java.lang.String
-
getToolTipText
public String getToolTipText()
Insert the method's description here. Creation date: (24/8/99 15:29:04)- Specified by:
getToolTipTextin interfaceInspectableProperty- Returns:
- java.lang.String
-
getEditPattern
public Pattern getEditPattern()
Insert the method's description here. Creation date: (24/8/99 15:29:04)- Specified by:
getEditPatternin interfaceInspectableProperty- Returns:
- java.util.regex.Pattern
-
isValid
public boolean isValid()
Insert the method's description here. Creation date: (11.1.2001 21:28:51)- Specified by:
isValidin interfaceInspectableProperty- Returns:
- boolean
-
getVisibility
public int getVisibility()
Insert the method's description here. Creation date: (11.1.2001 21:30:04)- Specified by:
getVisibilityin interfaceInspectableProperty- Returns:
- int
-
setVisibility
public void setVisibility(int visibility)
Sets the visibility.- Specified by:
setVisibilityin interfaceChangableVisibility- Parameters:
visibility- The visibility to set
-
popupEvent
public void popupEvent(Component component, int x, int y)
Insert the method's description here. Creation date: (11.1.2001 21:30:04)- Specified by:
popupEventin interfaceInspectableProperty- Parameters:
component- java.awt.Componentx- xy- y
-
getDebugValueTimeStamp
public String getDebugValueTimeStamp()
Returns stringified timestamp of the last debug value update.- Returns:
- stringified timestamp of the last debug value update.
-
getSeverity
public short getSeverity()
Get last debug value severity.- Returns:
- last debug value severity.
-
initialize
public void initialize()
Description copied from interface:DebuggableInitialize debug value to initial state.- Specified by:
initializein interfaceDebuggable- See Also:
Debuggable.initialize()
-
setConnected
public void setConnected(boolean connected)
Description copied from interface:DebuggableSet connection status.- Specified by:
setConnectedin interfaceDebuggable- Parameters:
connected-trueif instance is connected,falseotherwise- See Also:
Debuggable.setConnected(boolean)
-
isConnected
public boolean isConnected()
Return debug connection status.- Returns:
- debug connection status
-
setPositionIndex
public void setPositionIndex(int index)
- Parameters:
index- index
-
getPositionIndex
public int getPositionIndex()
- Returns:
- something
-
hasValidity
public boolean hasValidity()
- Specified by:
hasValidityin interfaceInspectableProperty- Returns:
- something
-
checkValueValidity
public String checkValueValidity(String value)
Description copied from interface:InspectablePropertyReturns null if this value is valid, else the error message.- Specified by:
checkValueValidityin interfaceInspectableProperty- Parameters:
value- value- Returns:
- something
-
getGuiGroup
public Integer getGuiGroup()
Description copied from interface:InspectablePropertyReturns the gui group index as an Integer or null if no gui group info available.- Specified by:
getGuiGroupin interfaceInspectableProperty- Returns:
- something
-
getDsId
public Object getDsId()
- Returns:
- something
-
-