Package com.cosylab.vdct.vdb
Class VDBData
- java.lang.Object
-
- com.cosylab.vdct.vdb.VDBData
-
- All Implemented Interfaces:
DsEventListener
public class VDBData extends Object implements DsEventListener
This type was created in VisualAge.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEntry(DBEntry ed)
This method was created in VisualAge.static void
addPortsAndMacros(Object dsId, DBTemplate dbTemplate, VDBTemplate vt, VDBData vdbData)
static void
addPortsAndMacros(Object dsId, DBTemplate dbTemplate, VDBTemplate vt, VDBData vdbData, HashMap importedList)
void
addRecord(VDBRecordData rd)
This method was created in VisualAge.void
addTemplate(VDBTemplate templ)
This method was created in VisualAge.void
addTemplateInstance(VDBTemplateInstance ti)
This method was created in VisualAge.static VDBFieldData
copyVDBFieldData(VDBFieldData sourceField)
This method was created in VisualAge.static void
copyVDBFieldData(VDBFieldData sourceField, VDBFieldData targetField)
This method was created in VisualAge.static VDBMacro
copyVDBMacro(VDBMacro source)
Creates a copy of the VDBMacro object.static VDBPort
copyVDBPort(VDBPort source)
static VDBRecordData
copyVDBRecordData(VDBRecordData source)
This method was created in VisualAge.static VDBTemplateInstance
copyVDBTemplateInstance(VDBTemplateInstance source)
This method was created in VisualAge.void
extractTemplates(Object dsId, DBDData dbd, DBData db)
static VDBTemplateInstance
generateNewVDBTemplateInstance(String name, VDBTemplate t)
static void
generateRecords(Object dsId, DBDData dbd, DBData db, VDBData vdb)
static VDBData
generateVDBData(Object dsId, DBDData dbd, DBData db)
This method was created in VisualAge.static VDBFieldData
generateVDBFieldData(Object dsId, DBDData dbd, DBRecordData dbRecord, VDBRecordData vdbRecord, DBDFieldData dbdField)
This method was created in VisualAge.static VDBRecordData
generateVDBRecordData(Object dsId, DBDData dbd, DBRecordData dbRecord)
This method was created in VisualAge.VDBTemplateInstance
generateVDBTemplateInstance(Object dsId, DBTemplateInstance dbTemplateInstance)
static VDBData
getInstance(Object dsId)
static VDBRecordData
getNewVDBRecordData(Object dsId, DBDData dbd, String recordType, String recordName)
This method was created in VisualAge.Vector
getRecords()
Insert the method's description here.Vector
getStructure()
Returns the structure.Hashtable
getTemplateInstances()
Returns the templateInstances.Vector
getTemplateInstancesV()
Returns the templateInstances.Hashtable
getTemplates()
Returns the templates.static VDBRecordData
morphVDBRecordData(Object dsId, DBDData dbd, VDBRecordData source, String recordType, String recordName)
This method was created in VisualAge.VDBTemplateInstance
morphVDBTemplateInstance(Object dsId, VDBTemplateInstance templateData, String templateType, String templateName)
void
onDsAdded(Object id)
void
onDsFocused(Object id)
void
onDsRemoved(Object id)
static void
registerDsListener()
void
removeRecord(VDBRecordData record)
Insert the method's description here.void
removeTemplate(VDBTemplate template)
Insert the method's description here.void
removeTemplateInstance(VDBTemplateInstance templateInstance)
Insert the method's description here.
-
-
-
Field Detail
-
instances
protected static HashMap instances
-
-
Method Detail
-
addRecord
public void addRecord(VDBRecordData rd)
This method was created in VisualAge.- Parameters:
rd
- rd
-
addEntry
public void addEntry(DBEntry ed)
This method was created in VisualAge.- Parameters:
ed
- ed
-
addTemplate
public void addTemplate(VDBTemplate templ)
This method was created in VisualAge.- Parameters:
templ
- templ
-
addTemplateInstance
public void addTemplateInstance(VDBTemplateInstance ti)
This method was created in VisualAge.- Parameters:
ti
- ti
-
copyVDBFieldData
public static VDBFieldData copyVDBFieldData(VDBFieldData sourceField)
This method was created in VisualAge.- Parameters:
sourceField
- com.cosylab.vdct.dbd.DBDFieldData- Returns:
- com.cosylab.vdct.vdb.VDBFieldData
-
copyVDBFieldData
public static void copyVDBFieldData(VDBFieldData sourceField, VDBFieldData targetField)
This method was created in VisualAge.- Parameters:
sourceField
- com.cosylab.vdct.dbd.DBDFieldDatatargetField
- com.cosylab.vdct.dbd.DBDFieldData
-
copyVDBTemplateInstance
public static VDBTemplateInstance copyVDBTemplateInstance(VDBTemplateInstance source)
This method was created in VisualAge.- Parameters:
source
- source- Returns:
- com.cosylab.vdct.vdb.VDBTemplateInstance
-
copyVDBRecordData
public static VDBRecordData copyVDBRecordData(VDBRecordData source)
This method was created in VisualAge.- Parameters:
source
- com.cosylab.vdct.vdb.VDBRecordData- Returns:
- com.cosylab.vdct.vdb.VDBRecordData
-
copyVDBMacro
public static VDBMacro copyVDBMacro(VDBMacro source)
Creates a copy of the VDBMacro object.- Parameters:
source
- the VDBMacro to be copied- Returns:
- a copy of the source
-
copyVDBPort
public static VDBPort copyVDBPort(VDBPort source)
- Parameters:
source
- source- Returns:
- something
-
generateVDBData
public static VDBData generateVDBData(Object dsId, DBDData dbd, DBData db)
This method was created in VisualAge.- Parameters:
dsId
- dsIddbd
- com.cosylab.vdct.dbd.DBDDatadb
- com.cosylab.vdct.db.DBData- Returns:
- com.cosylab.vdct.vdb.VDBData
-
generateRecords
public static void generateRecords(Object dsId, DBDData dbd, DBData db, VDBData vdb) throws DBException
- Parameters:
dsId
- dsIddbd
- dbddb
- dbvdb
- vdb- Throws:
DBException
- foo
-
generateVDBTemplateInstance
public VDBTemplateInstance generateVDBTemplateInstance(Object dsId, DBTemplateInstance dbTemplateInstance)
- Parameters:
dsId
- dsIddbTemplateInstance
- dbTemplateInstance- Returns:
- something
-
generateNewVDBTemplateInstance
public static VDBTemplateInstance generateNewVDBTemplateInstance(String name, VDBTemplate t)
- Parameters:
name
- namet
- t- Returns:
- something
-
extractTemplates
public void extractTemplates(Object dsId, DBDData dbd, DBData db)
- Parameters:
dsId
- dsIddbd
- dbddb
- db
-
addPortsAndMacros
public static void addPortsAndMacros(Object dsId, DBTemplate dbTemplate, VDBTemplate vt, VDBData vdbData)
- Parameters:
dsId
- dsIddbTemplate
- dbTemplatevt
- vtvdbData
- vdbData
-
addPortsAndMacros
public static void addPortsAndMacros(Object dsId, DBTemplate dbTemplate, VDBTemplate vt, VDBData vdbData, HashMap importedList)
- Parameters:
dsId
- dsIddbTemplate
- dbTemplatevt
- vtvdbData
- vdbDataimportedList
- importedList
-
generateVDBFieldData
public static VDBFieldData generateVDBFieldData(Object dsId, DBDData dbd, DBRecordData dbRecord, VDBRecordData vdbRecord, DBDFieldData dbdField)
This method was created in VisualAge.- Parameters:
dsId
- dsIdvdbRecord
- vdbRecorddbd
- com.cosylab.vdct.dbd.DBDDatadbRecord
- com.cosylab.vdct.db.DBRecordDatadbdField
- com.cosylab.vdct.dbd.DBDFieldData- Returns:
- com.cosylab.vdct.vdb.VDBFieldData
-
generateVDBRecordData
public static VDBRecordData generateVDBRecordData(Object dsId, DBDData dbd, DBRecordData dbRecord) throws DBException
This method was created in VisualAge.- Parameters:
dsId
- dsIddbd
- com.cosylab.vdct.dbd.DBDDatadbRecord
- com.cosylab.vdct.db.DBRecordData- Returns:
- com.cosylab.vdct.vdb.VDBRecordData
- Throws:
DBException
- foo
-
getNewVDBRecordData
public static VDBRecordData getNewVDBRecordData(Object dsId, DBDData dbd, String recordType, String recordName)
This method was created in VisualAge.- Parameters:
dsId
- dsIddbd
- epics.dbd.DBDDatarecordType
- java.lang.StringrecordName
- java.lang.String- Returns:
- epics.vdb.VDBRecordData
-
getRecords
public Vector getRecords()
Insert the method's description here. Creation date: (8.1.2001 20:51:38)- Returns:
- java.util.Vector
-
morphVDBRecordData
public static VDBRecordData morphVDBRecordData(Object dsId, DBDData dbd, VDBRecordData source, String recordType, String recordName)
This method was created in VisualAge.- Parameters:
dsId
- dsIddbd
- epics.dbd.DBDDatasource
- epics.vdb.VDBRecordDatarecordType
- recordTyperecordName
- recordName- Returns:
- epics.vdb.VDBRecordData
-
morphVDBTemplateInstance
public VDBTemplateInstance morphVDBTemplateInstance(Object dsId, VDBTemplateInstance templateData, String templateType, String templateName)
- Parameters:
dsId
- dsIdtemplateData
- templateDatatemplateType
- templateTypetemplateName
- templateName- Returns:
- something
-
removeRecord
public void removeRecord(VDBRecordData record)
Insert the method's description here. Creation date: (10.1.2001 14:44:44)- Parameters:
record
- com.cosylab.vdct.vdb.VDBRecordData
-
getTemplateInstances
public Hashtable getTemplateInstances()
Returns the templateInstances.- Returns:
- Hashtable
-
getTemplateInstancesV
public Vector getTemplateInstancesV()
Returns the templateInstances.- Returns:
- Vector
-
getTemplates
public Hashtable getTemplates()
Returns the templates.- Returns:
- Hashtable
-
removeTemplate
public void removeTemplate(VDBTemplate template)
Insert the method's description here. Creation date: (10.1.2001 14:44:44)- Parameters:
template
- com.cosylab.vdct.vdb.VDBTemplate
-
removeTemplateInstance
public void removeTemplateInstance(VDBTemplateInstance templateInstance)
Insert the method's description here. Creation date: (10.1.2001 14:44:44)- Parameters:
templateInstance
- com.cosylab.vdct.vdb.VDBTemplateInstance
-
getStructure
public Vector getStructure()
Returns the structure.- Returns:
- Vector
-
getInstance
public static VDBData getInstance(Object dsId)
- Parameters:
dsId
- dsId- Returns:
- something
-
registerDsListener
public static void registerDsListener()
-
onDsAdded
public void onDsAdded(Object id)
- Specified by:
onDsAdded
in interfaceDsEventListener
- Parameters:
id
- id
-
onDsRemoved
public void onDsRemoved(Object id)
- Specified by:
onDsRemoved
in interfaceDsEventListener
- Parameters:
id
- id
-
onDsFocused
public void onDsFocused(Object id)
- Specified by:
onDsFocused
in interfaceDsEventListener
- Parameters:
id
- id
-
-