com.cosylab.vdct.vdb
Class VDBFieldData

java.lang.Object
  extended by com.cosylab.vdct.vdb.VDBFieldData
All Implemented Interfaces:
Debuggable, LinkSource, ChangableVisibility, InspectableProperty
Direct Known Subclasses:
VDBTemplateMacro, VDBTemplatePort

public class VDBFieldData
extends java.lang.Object
implements InspectableProperty, Debuggable, ChangableVisibility, LinkSource

This type was created in VisualAge.


Field Summary
protected  java.lang.String comment
           
protected  boolean connected
           
protected  DBDFieldData dbdData
           
protected  java.lang.String debugValue
           
protected  java.lang.String debugValueTimeStamp
           
protected  int GUI_type
           
protected  java.lang.String init_value
           
protected  java.lang.String name
           
protected  VDBRecordData record
           
protected  short severity
           
protected  int type
           
protected  java.lang.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
VDBFieldData()
           
 
Method Summary
 boolean allowsOtherValues()
          Insert the method's description here.
 java.lang.String checkValueValidity(java.lang.String value)
          Returns null if this value is valid, else the error message.
 java.lang.String getComment()
          Insert the method's description here.
 DBDFieldData getDbdData()
          Insert the method's description here.
 java.lang.String getDebugValueTimeStamp()
          Returns stringified timestamp of the last debug value update.
 java.lang.Object getDsId()
           
 java.util.regex.Pattern getEditPattern()
          Insert the method's description here.
 java.lang.String getFullName()
          Insert the method's description here.
 int getGUI_type()
          Insert the method's description here.
 java.lang.Integer getGuiGroup()
          Returns the gui group index as an Integer or null if no gui group info available.
 java.lang.String getHelp()
          Insert the method's description here.
 java.lang.String getInit_value()
          Insert the method's description here.
 java.lang.String getInitValue()
          Insert the method's description here.
 java.lang.String getName()
          Insert the method's description here.
 int getPositionIndex()
           
 VDBRecordData getRecord()
          Insert the method's description here.
 java.lang.String[] getSelectableValues()
          Insert the method's description here.
 short getSeverity()
          Get last debug value severity.
 java.lang.String getToolTipText()
          Insert the method's description here.
 int getType()
          Insert the method's description here.
 java.lang.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(java.awt.Component component, int x, int y)
          Insert the method's description here.
 void setComment(java.lang.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(java.lang.String newValue, java.util.Date timeStamp, short severity)
          Set debug value.
 void setGUI_type(int newGUI_type)
          Insert the method's description here.
 void setInit_value(java.lang.String newInit_value)
          Insert the method's description here.
 void setName(java.lang.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(java.lang.String newValue)
          Insert the method's description here.
 void setValueSilently(java.lang.String newValue)
          Insert the method's description here.
 void setVisibility(int visibility)
          Sets the visibility.
 java.lang.String toString()
          Insert the method's description here.
 void updateInspector()
          Insert the method's description here.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

protected int type

GUI_type

protected int GUI_type

name

protected java.lang.String name

value

protected java.lang.String value

init_value

protected java.lang.String init_value

comment

protected java.lang.String comment

dbdData

protected DBDFieldData dbdData

record

protected VDBRecordData record

debugValue

protected java.lang.String debugValue

debugValueTimeStamp

protected java.lang.String debugValueTimeStamp

severity

protected short severity

connected

protected boolean connected

visibility

protected int visibility
Constructor Detail

VDBFieldData

public VDBFieldData()
Method Detail

allowsOtherValues

public boolean allowsOtherValues()
Insert the method's description here. Creation date: (11.1.2001 21:47:04)

Specified by:
allowsOtherValues in interface InspectableProperty
Returns:
boolean

getComment

public java.lang.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 java.lang.String getFullName()
Insert the method's description here. Creation date: (1.2.2001 12:11:29)

Specified by:
getFullName in interface Debuggable
Specified by:
getFullName in interface LinkSource
Returns:
java.lang.String

getGUI_type

public int getGUI_type()
Insert the method's description here. Creation date: (9.12.2000 18:11:46)

Returns:
int

getHelp

public java.lang.String getHelp()
Insert the method's description here. Creation date: (26.1.2001 15:03:07)

Specified by:
getHelp in interface InspectableProperty
Returns:
java.lang.String

getInit_value

public java.lang.String getInit_value()
Insert the method's description here. Creation date: (9.12.2000 18:11:46)

Returns:
java.lang.String

getName

public java.lang.String getName()
Insert the method's description here. Creation date: (9.12.2000 18:11:46)

Specified by:
getName in interface InspectableProperty
Returns:
java.lang.String

toString

public java.lang.String toString()
Insert the method's description here. Creation date: (9.12.2000 18:11:46)

Overrides:
toString in class java.lang.Object
Returns:
java.lang.String

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 java.lang.String[] getSelectableValues()
Insert the method's description here. Creation date: (11.1.2001 21:47:04)

Specified by:
getSelectableValues in interface InspectableProperty
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 interface LinkSource
Returns:
int

getValue

public java.lang.String getValue()
Insert the method's description here. Creation date: (9.12.2000 18:11:46)

Specified by:
getValue in interface LinkSource
Specified by:
getValue in interface InspectableProperty
Returns:
java.lang.String

getInitValue

public java.lang.String getInitValue()
Insert the method's description here. Creation date: (11.1.2001 21:29:48)

Specified by:
getInitValue in interface InspectableProperty
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 interface InspectableProperty
Returns:
boolean

isEditable

public boolean isEditable()
Insert the method's description here. Creation date: (11.1.2001 21:47:04)

Specified by:
isEditable in interface InspectableProperty
Returns:
boolean

isSeparator

public boolean isSeparator()
Insert the method's description here. Creation date: (11.1.2001 21:47:04)

Specified by:
isSeparator in interface InspectableProperty
Returns:
boolean

setComment

public void setComment(java.lang.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(java.lang.String newValue,
                          java.util.Date timeStamp,
                          short severity)
Description copied from interface: Debuggable
Set debug value.

Specified by:
setDebugValue in interface Debuggable
Parameters:
newValue - debug value
timeStamp - timestamp of the value
severity - alarm severity
See Also:
Debuggable.setDebugValue(java.lang.String, java.util.Date, short)

setGUI_type

public void setGUI_type(int newGUI_type)
Insert the method's description here. Creation date: (9.12.2000 18:11:46)

Parameters:
newGUI_type - int

setInit_value

public void setInit_value(java.lang.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(java.lang.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(java.lang.String newValue)
Insert the method's description here. Creation date: (9.12.2000 18:11:46)

Specified by:
setValue in interface LinkSource
Specified by:
setValue in interface InspectableProperty
Parameters:
newValue - java.lang.String

setValueSilently

public void setValueSilently(java.lang.String newValue)
Insert the method's description here. Creation date: (9.12.2000 18:11:46)

Specified by:
setValueSilently in interface LinkSource
Parameters:
newValue - java.lang.String

getToolTipText

public java.lang.String getToolTipText()
Insert the method's description here. Creation date: (24/8/99 15:29:04)

Specified by:
getToolTipText in interface InspectableProperty
Returns:
java.lang.String

getEditPattern

public java.util.regex.Pattern getEditPattern()
Insert the method's description here. Creation date: (24/8/99 15:29:04)

Specified by:
getEditPattern in interface InspectableProperty
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 interface InspectableProperty
Returns:
boolean

getVisibility

public int getVisibility()
Insert the method's description here. Creation date: (11.1.2001 21:30:04)

Specified by:
getVisibility in interface InspectableProperty
Returns:
int

setVisibility

public void setVisibility(int visibility)
Sets the visibility.

Specified by:
setVisibility in interface ChangableVisibility
Parameters:
visibility - The visibility to set

popupEvent

public void popupEvent(java.awt.Component component,
                       int x,
                       int y)
Insert the method's description here. Creation date: (11.1.2001 21:30:04)

Specified by:
popupEvent in interface InspectableProperty
Parameters:
java.awt.Component -
x -
y -

getDebugValueTimeStamp

public java.lang.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 interface Debuggable
See Also:
Debuggable.initialize()

setConnected

public void setConnected(boolean connected)
Description copied from interface: Debuggable
Set connection status.

Specified by:
setConnected in interface Debuggable
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)

getPositionIndex

public int getPositionIndex()

hasValidity

public boolean hasValidity()
Specified by:
hasValidity in interface InspectableProperty

checkValueValidity

public java.lang.String checkValueValidity(java.lang.String value)
Description copied from interface: InspectableProperty
Returns null if this value is valid, else the error message.

Specified by:
checkValueValidity in interface InspectableProperty
Returns:

getGuiGroup

public java.lang.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 interface InspectableProperty
Returns:

getDsId

public java.lang.Object getDsId()