Class VDBTemplateInstance

    • Constructor Detail

      • VDBTemplateInstance

        public VDBTemplateInstance​(String name,
                                   VDBTemplate template)
        Constructor.
        Parameters:
        name - name
        template - template
    • Method Detail

      • getProperties

        public Hashtable getProperties()
        Returns the properties.
        Returns:
        Hashtable
      • getPropertiesV

        public Vector getPropertiesV()
        Returns the properties.
        Returns:
        Vector
      • addProperty

        public void addProperty​(Object key,
                                String value)
        Parameters:
        key - key
        value - value
      • removeProperty

        public void removeProperty​(Object key)
        Parameters:
        key - key
      • getTemplate

        public VDBTemplate getTemplate()
        Returns the template.
        Returns:
        VDBTemplate
      • setProperties

        public void setProperties​(Hashtable properties,
                                  Vector propertiesV)
        Sets the properties.
        Parameters:
        properties - The properties to set
        propertiesV - propertiesV
      • applyProperties

        public static String applyProperties​(String s,
                                             Map properties)
        Make macro substitutions on a string using properties table.
        Parameters:
        s - The string to be applied
        properties - The properties to use
        Returns:
        String
      • applyPorts

        public static String applyPorts​(String value,
                                        Map ports)
        Make port substitutions on a string using port table.
        Parameters:
        value - The string to be applied
        ports - The ports to use
        Returns:
        String
      • setName

        public void setName​(String newName)
        Insert the method's description here. Creation date: (9.12.2000 18:13:17)
        Parameters:
        newName - java.lang.String
      • setComment

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

        public void setTemplate​(VDBTemplate template)
        Sets the template.
        Parameters:
        template - The template to set
      • getVisualTemplate

        public Template getVisualTemplate()
        Returns:
        something
      • setVisualTemplate

        public void setVisualTemplate​(Template visualTemplate)
        Parameters:
        visualTemplate - visualTemplate