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 String
comment
protected boolean
connected
protected DBDFieldData
dbdData
protected String
debugValue
protected String
debugValueTimeStamp
protected DBDGuiGroupData
gui_group
protected String
init_value
protected String
name
protected VDBRecordData
record
protected short
severity
protected int
type
protected String
value
protected int
visibility
-
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 boolean
allowsOtherValues()
Insert the method's description here.String
checkValueValidity(String value)
Returns null if this value is valid, else the error message.String
getComment()
Insert the method's description here.DBDFieldData
getDbdData()
Insert the method's description here.String
getDebugValueTimeStamp()
Returns stringified timestamp of the last debug value update.Object
getDsId()
Pattern
getEditPattern()
Insert the method's description here.String
getFullName()
Insert the method's description here.DBDGuiGroupData
getGui_group()
Insert the method's description here.Integer
getGuiGroup()
Returns the gui group index as an Integer or null if no gui group info available.String
getHelp()
Insert the method's description here.String
getInit_value()
Insert the method's description here.String
getInitValue()
Insert the method's description here.String
getName()
Insert the method's description here.int
getPositionIndex()
VDBRecordData
getRecord()
Insert the method's description here.String[]
getSelectableValues()
Insert the method's description here.short
getSeverity()
Get last debug value severity.String
getToolTipText()
Insert the method's description here.int
getType()
Insert the method's description here.String
getValue()
Insert the method's description here.int
getVisibility()
Insert the method's description here.boolean
hasDefaultValue()
Insert the method's description here.boolean
hasValidity()
void
initialize()
Initialize debug value to initial state.boolean
isConnected()
Return debug connection status.boolean
isEditable()
Insert the method's description here.boolean
isSeparator()
Insert the method's description here.boolean
isValid()
Insert the method's description here.void
popupEvent(Component component, int x, int y)
Insert the method's description here.void
setComment(String newComment)
Insert the method's description here.void
setConnected(boolean connected)
Set connection status.void
setDbdData(DBDFieldData newDbdData)
Insert the method's description here.void
setDebugValue(String newValue, Date timeStamp, short severity)
Set debug value.void
setGui_group(DBDGuiGroupData newGui_group)
Insert the method's description here.void
setInit_value(String newInit_value)
Insert the method's description here.void
setName(String newName)
Insert the method's description here.void
setPositionIndex(int index)
void
setRecord(VDBRecordData newRecord)
Insert the method's description here.void
setType(int newType)
Insert the method's description here.void
setValue(String newValue)
Insert the method's description here.void
setValueSilently(String newValue)
Insert the method's description here.void
setVisibility(int visibility)
Sets the visibility.String
toString()
Insert the method's description here.void
updateInspector()
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:
allowsOtherValues
in 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:
getFullName
in interfaceDebuggable
- Specified by:
getFullName
in 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:
getHelp
in 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:
getName
in 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:
getSelectableValues
in 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:
getType
in interfaceLinkSource
- Returns:
- int
-
getValue
public String getValue()
Insert the method's description here. Creation date: (9.12.2000 18:11:46)- Specified by:
getValue
in interfaceInspectableProperty
- Specified by:
getValue
in 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:
getInitValue
in 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:
hasDefaultValue
in interfaceInspectableProperty
- Returns:
- boolean
-
isEditable
public boolean isEditable()
Insert the method's description here. Creation date: (11.1.2001 21:47:04)- Specified by:
isEditable
in interfaceInspectableProperty
- Returns:
- boolean
-
isSeparator
public boolean isSeparator()
Insert the method's description here. Creation date: (11.1.2001 21:47:04)- Specified by:
isSeparator
in 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:Debuggable
Set debug value.- Specified by:
setDebugValue
in 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:
setValue
in interfaceInspectableProperty
- Specified by:
setValue
in 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:
setValueSilently
in 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:
getToolTipText
in 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:
getEditPattern
in 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:
isValid
in interfaceInspectableProperty
- Returns:
- boolean
-
getVisibility
public int getVisibility()
Insert the method's description here. Creation date: (11.1.2001 21:30:04)- Specified by:
getVisibility
in interfaceInspectableProperty
- Returns:
- int
-
setVisibility
public void setVisibility(int visibility)
Sets the visibility.- Specified by:
setVisibility
in 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:
popupEvent
in 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:Debuggable
Initialize debug value to initial state.- Specified by:
initialize
in interfaceDebuggable
- See Also:
Debuggable.initialize()
-
setConnected
public void setConnected(boolean connected)
Description copied from interface:Debuggable
Set connection status.- Specified by:
setConnected
in interfaceDebuggable
- Parameters:
connected
-true
if instance is connected,false
otherwise- 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:
hasValidity
in interfaceInspectableProperty
- Returns:
- something
-
checkValueValidity
public String checkValueValidity(String value)
Description copied from interface:InspectableProperty
Returns null if this value is valid, else the error message.- Specified by:
checkValueValidity
in interfaceInspectableProperty
- Parameters:
value
- value- Returns:
- something
-
getGuiGroup
public Integer getGuiGroup()
Description copied from interface:InspectableProperty
Returns the gui group index as an Integer or null if no gui group info available.- Specified by:
getGuiGroup
in interfaceInspectableProperty
- Returns:
- something
-
getDsId
public Object getDsId()
- Returns:
- something
-
-