Class DBTemplate


  • public class DBTemplate
    extends DBComment
    Author:
    Matej
    • Field Detail

      • fileName

        protected String fileName
      • description

        protected String description
      • modificationTime

        protected long modificationTime
      • version

        protected String version
      • portsV

        protected Vector portsV
      • macrosV

        protected Vector macrosV
      • initialized

        protected boolean initialized
    • Constructor Detail

      • DBTemplate

        public DBTemplate​(String id,
                          String fileName)
        Constructor.
        Parameters:
        id - id
        fileName - fileName
    • 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