Class VDBTemplate

    • 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
      • group

        protected Group group
      • random

        protected static Random random
    • Constructor Detail

      • VDBTemplate

        public VDBTemplate​(String id,
                           String fileName)
        Constructor for VDBTemplate.
        Parameters:
        id - id
        fileName - fileName
    • Method Detail

      • getRealDescription

        public String getRealDescription()
        Returns the description.
        Returns:
        String
      • getGroup

        public Group getGroup()
        Returns the group.
        Returns:
        Group
      • setDescription

        public void setDescription​(String description)
        Sets the description.
        Specified by:
        setDescription in interface Descriptable
        Parameters:
        description - The description to set
      • setGroup

        public void setGroup​(Group group)
        Sets the group.
        Parameters:
        group - The group to set
      • getFileName

        public String getFileName()
        Returns the fileName.
        Returns:
        String
      • getId

        public String getId()
        Returns the id.
        Returns:
        String
      • getModificationTime

        public long getModificationTime()
        Returns:
        the modificationTime
      • setModificationTime

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

        public ArrayList getModeNames()
        Description copied from interface: Inspectable
        Obtains list of all mode names for this particular property. Modes are numbered from 0-n. Creation date: (11.1.2001 21:30:04)
        Specified by:
        getModeNames in interface Inspectable
        Returns:
        java.util.ArrayList array of mode names - obtained using toString().
        See Also:
        Inspectable.getModeNames()
      • getTemplateSeparator

        public static GUISeparator getTemplateSeparator()
        Insert the method's description here. Creation date: (3.2.2001 13:07:04)
        Returns:
        com.cosylab.vdct.vdb.GUISeparator
      • toString

        public String toString()
        Insert the method's description here. Creation date: (10.1.2001 14:49:50)
        Specified by:
        toString in interface Inspectable
        Overrides:
        toString in class Object
        Returns:
        java.lang.String
      • setComment

        public void setComment​(String comment)
        Sets the comment.
        Specified by:
        setComment in interface Commentable
        Parameters:
        comment - The comment to set
      • getPorts

        public Hashtable getPorts()
        Returns the ports.
        Returns:
        Hashtable
      • getPortsV

        public Vector getPortsV()
        Returns the portsV.
        Returns:
        Vector
      • getMacros

        public Hashtable getMacros()
        Returns the macros.
        Returns:
        Hashtable
      • getMacrosV

        public Vector getMacrosV()
        Returns the macrosV.
        Returns:
        Vector
      • setPorts

        public void setPorts​(Hashtable ports)
        Sets the ports.
        Parameters:
        ports - The ports to set
      • setPortsV

        public void setPortsV​(Vector portsV)
        Sets the portsV.
        Parameters:
        portsV - The portsV to set
      • setMacros

        public void setMacros​(Hashtable macros)
        Sets the macros.
        Parameters:
        macros - The macros to set
      • setMacrosV

        public void setMacrosV​(Vector macrosV)
        Sets the macrosV.
        Parameters:
        macrosV - The macrosV to set
      • getPortsSeparator

        public static GUISeparator getPortsSeparator()
        Insert the method's description here. Creation date: (3.2.2001 13:07:04)
        Returns:
        com.cosylab.vdct.vdb.GUISeparator
      • getMacrosSeparator

        public static GUISeparator getMacrosSeparator()
        Insert the method's description here. Creation date: (3.2.2001 13:07:04)
        Returns:
        com.cosylab.vdct.vdb.GUISeparator
      • addPort

        public VDBPort addPort​(String name)
        Parameters:
        name - name
        Returns:
        something
      • addMacro

        public VDBMacro addMacro​(String name)
        Parameters:
        name - name
        Returns:
        something
      • addPort

        public void addPort​(VDBPort vdbPort)
        Parameters:
        vdbPort - vdbPort
      • addMacro

        public void addMacro​(VDBMacro vdbMacro)
        Parameters:
        vdbMacro - vdbMacro
      • removePort

        public void removePort​(String name)
        Parameters:
        name - name
      • removeMacro

        public void removeMacro​(String name)
        Parameters:
        name - name
      • removePort

        public void removePort​(VDBPort port)
        Parameters:
        port - port
      • removeMacro

        public void removeMacro​(VDBMacro macro)
        Parameters:
        macro - macro
      • renamePort

        public void renamePort​(VDBPort port,
                               String newName)
        Parameters:
        port - port
        newName - newName
      • renameMacro

        public void renameMacro​(VDBMacro macro,
                                String newName)
        Parameters:
        macro - macro
        newName - newName
      • addPort

        public VDBPort addPort()
        Returns:
        something
      • addMacro

        public VDBMacro addMacro()
        Returns:
        something
      • setFileName

        public void setFileName​(String fileName)
        Sets the fileName.
        Parameters:
        fileName - The fileName to set
      • setId

        public void setId​(Object dsId,
                          String id)
        Sets the id.
        Parameters:
        dsId - dsId
        id - The id to set
      • getPortsGeneratedID

        public long getPortsGeneratedID()
        Returns the portsGeneratedID.
        Returns:
        long
      • getMacrosGeneratedID

        public long getMacrosGeneratedID()
        Returns the macrosGeneratedID.
        Returns:
        long
      • 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