com.cosylab.vdct.db
Class DBTemplate

java.lang.Object
  extended by com.cosylab.vdct.db.DBComment
      extended by com.cosylab.vdct.db.DBTemplate

public class DBTemplate
extends DBComment

Author:
Matej

Field Summary
protected  DBData data
           
protected  java.lang.String description
           
protected  java.lang.String fileName
           
protected  java.lang.String id
           
protected  boolean initialized
           
protected  java.lang.String ioc
           
protected  java.util.Hashtable macros
           
protected  java.util.Vector macrosV
           
protected  long modificationTime
           
protected  java.util.Hashtable ports
           
protected  java.util.Vector portsV
           
protected  java.lang.String version
           
 
Fields inherited from class com.cosylab.vdct.db.DBComment
comment
 
Constructor Summary
DBTemplate(java.lang.String id, java.lang.String fileName)
          Constructor.
 
Method Summary
 void addMacro(DBMacro macro)
           
 void addPort(DBPort port)
           
 DBData getData()
          Returns the data.
 java.lang.String getDescription()
          Returns the description.
 java.lang.String getFileName()
          Returns the fileName.
 java.lang.String getId()
          Returns the id.
 java.lang.String getIoc()
           
 java.util.Hashtable getMacros()
          Returns the macros.
 java.util.Vector getMacrosV()
          Returns the macrosV.
 long getModificationTime()
           
 java.util.Hashtable getPorts()
          Returns the ports.
 java.util.Vector getPortsV()
          Returns the portsV.
 java.lang.String getVersion()
           
 boolean isInitialized()
          Returns the initialized.
 void setData(DBData data)
          Sets the data.
 void setDescription(java.lang.String description)
          Sets the description.
 void setFileName(java.lang.String fileName)
          Sets the fileName.
 void setId(java.lang.String id)
          Sets the id.
 void setInitialized(boolean initialized)
          Sets the initialized.
 void setIoc(java.lang.String ioc)
           
 void setModificationTime(long modificationTime)
           
 void setVersion(java.lang.String version)
           
 
Methods inherited from class com.cosylab.vdct.db.DBComment
getComment, setComment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected java.lang.String id

fileName

protected java.lang.String fileName

description

protected java.lang.String description

modificationTime

protected long modificationTime

version

protected java.lang.String version

ioc

protected java.lang.String ioc

ports

protected java.util.Hashtable ports

portsV

protected java.util.Vector portsV

macros

protected java.util.Hashtable macros

macrosV

protected java.util.Vector macrosV

initialized

protected boolean initialized

data

protected DBData data
Constructor Detail

DBTemplate

public DBTemplate(java.lang.String id,
                  java.lang.String fileName)
Constructor.

Method Detail

getDescription

public java.lang.String getDescription()
Returns the description.

Returns:
String

getFileName

public java.lang.String getFileName()
Returns the fileName.

Returns:
String

getId

public java.lang.String getId()
Returns the id.

Returns:
String

setDescription

public void setDescription(java.lang.String description)
Sets the description.

Parameters:
description - The description to set

setFileName

public void setFileName(java.lang.String fileName)
Sets the fileName.

Parameters:
fileName - The fileName to set

setId

public void setId(java.lang.String id)
Sets the id.

Parameters:
id - The id to set

setData

public void setData(DBData data)
Sets the data.

Parameters:
data - The data to set

getModificationTime

public long getModificationTime()
Returns:
the modificationTime

setModificationTime

public void setModificationTime(long modificationTime)
Parameters:
modificationTime - the modificationTime to set

isInitialized

public boolean isInitialized()
Returns the initialized.

Returns:
boolean

setInitialized

public void setInitialized(boolean initialized)
Sets the initialized.

Parameters:
initialized - The initialized to set

getPorts

public java.util.Hashtable getPorts()
Returns the ports.

Returns:
Hashtable

getPortsV

public java.util.Vector getPortsV()
Returns the portsV.

Returns:
Vector

addPort

public void addPort(DBPort port)

addMacro

public void addMacro(DBMacro macro)

getData

public DBData getData()
Returns the data.

Returns:
DBData

getMacros

public java.util.Hashtable getMacros()
Returns the macros.

Returns:
Hashtable

getMacrosV

public java.util.Vector getMacrosV()
Returns the macrosV.

Returns:
Vector

getVersion

public java.lang.String getVersion()

setVersion

public void setVersion(java.lang.String version)

getIoc

public java.lang.String getIoc()

setIoc

public void setIoc(java.lang.String ioc)