Package com.cosylab.vdct.db
Class DBTemplate
- java.lang.Object
-
- com.cosylab.vdct.db.DBComment
-
- com.cosylab.vdct.db.DBTemplate
-
public class DBTemplate extends DBComment
- Author:
- Matej
-
-
Field Summary
Fields Modifier and Type Field Description protected DBData
data
protected String
description
protected String
fileName
protected String
id
protected boolean
initialized
protected String
ioc
protected Hashtable
macros
protected Vector
macrosV
protected long
modificationTime
protected Hashtable
ports
protected Vector
portsV
protected String
version
-
Constructor Summary
Constructors Constructor Description DBTemplate(String id, String fileName)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMacro(DBMacro macro)
void
addPort(DBPort port)
DBData
getData()
Returns the data.String
getDescription()
Returns the description.String
getFileName()
Returns the fileName.String
getId()
Returns the id.String
getIoc()
Hashtable
getMacros()
Returns the macros.Vector
getMacrosV()
Returns the macrosV.long
getModificationTime()
Hashtable
getPorts()
Returns the ports.Vector
getPortsV()
Returns the portsV.String
getVersion()
boolean
isInitialized()
Returns the initialized.void
setData(DBData data)
Sets the data.void
setDescription(String description)
Sets the description.void
setFileName(String fileName)
Sets the fileName.void
setId(String id)
Sets the id.void
setInitialized(boolean initialized)
Sets the initialized.void
setIoc(String ioc)
void
setModificationTime(long modificationTime)
void
setVersion(String version)
-
Methods inherited from class com.cosylab.vdct.db.DBComment
getComment, setComment
-
-
-
-
Field Detail
-
id
protected String id
-
fileName
protected String fileName
-
description
protected String description
-
modificationTime
protected long modificationTime
-
version
protected String version
-
ioc
protected String ioc
-
ports
protected Hashtable ports
-
portsV
protected Vector portsV
-
macros
protected Hashtable macros
-
macrosV
protected Vector macrosV
-
initialized
protected boolean initialized
-
data
protected DBData data
-
-
Method Detail
-
getDescription
public String getDescription()
Returns the description.- Returns:
- String
-
getFileName
public String getFileName()
Returns the fileName.- Returns:
- String
-
getId
public String getId()
Returns the id.- Returns:
- String
-
setDescription
public void setDescription(String description)
Sets the description.- Parameters:
description
- The description to set
-
setFileName
public void setFileName(String fileName)
Sets the fileName.- Parameters:
fileName
- The fileName to set
-
setId
public void setId(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 Hashtable getPorts()
Returns the ports.- Returns:
- Hashtable
-
getPortsV
public Vector getPortsV()
Returns the portsV.- Returns:
- Vector
-
addPort
public void addPort(DBPort port)
- Parameters:
port
- port
-
addMacro
public void addMacro(DBMacro macro)
- Parameters:
macro
- macro
-
getData
public DBData getData()
Returns the data.- Returns:
- DBData
-
getMacros
public Hashtable getMacros()
Returns the macros.- Returns:
- Hashtable
-
getMacrosV
public Vector getMacrosV()
Returns the macrosV.- Returns:
- Vector
-
getVersion
public String getVersion()
- Returns:
- something
-
setVersion
public void setVersion(String version)
- Parameters:
version
- version
-
getIoc
public String getIoc()
- Returns:
- something
-
setIoc
public void setIoc(String ioc)
- Parameters:
ioc
- ioc
-
-