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 DBDatadataprotected Stringdescriptionprotected StringfileNameprotected Stringidprotected booleaninitializedprotected Stringiocprotected Hashtablemacrosprotected VectormacrosVprotected longmodificationTimeprotected Hashtableportsprotected VectorportsVprotected Stringversion
-
Constructor Summary
Constructors Constructor Description DBTemplate(String id, String fileName)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMacro(DBMacro macro)voidaddPort(DBPort port)DBDatagetData()Returns the data.StringgetDescription()Returns the description.StringgetFileName()Returns the fileName.StringgetId()Returns the id.StringgetIoc()HashtablegetMacros()Returns the macros.VectorgetMacrosV()Returns the macrosV.longgetModificationTime()HashtablegetPorts()Returns the ports.VectorgetPortsV()Returns the portsV.StringgetVersion()booleanisInitialized()Returns the initialized.voidsetData(DBData data)Sets the data.voidsetDescription(String description)Sets the description.voidsetFileName(String fileName)Sets the fileName.voidsetId(String id)Sets the id.voidsetInitialized(boolean initialized)Sets the initialized.voidsetIoc(String ioc)voidsetModificationTime(long modificationTime)voidsetVersion(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
-
-