Class DBTemplateInstance


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

      • templateInstanceId

        protected String templateInstanceId
      • templateId

        protected String templateId
      • propertiesV

        protected Vector propertiesV
      • x

        protected int x
      • y

        protected int y
      • color

        protected Color color
      • description

        protected String description
      • templateFields

        protected Vector templateFields
    • Constructor Detail

      • DBTemplateInstance

        public DBTemplateInstance​(String templateInstanceId,
                                  String templateId)
        Constructor.
        Parameters:
        templateInstanceId - templateInstanceId
        templateId - templateId
    • 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)
        Add a property.
        Parameters:
        key - key
        value - value
      • getTemplateId

        public String getTemplateId()
        Returns the templateId.
        Returns:
        String
      • getColor

        public Color getColor()
        Returns the color.
        Returns:
        java.awt.Color
      • getDescription

        public String getDescription()
        Returns the description.
        Returns:
        String
      • getX

        public int getX()
        Returns the x.
        Returns:
        int
      • getY

        public int getY()
        Returns the y.
        Returns:
        int
      • setColor

        public void setColor​(Color color)
        Sets the color.
        Parameters:
        color - The color to set
      • setDescription

        public void setDescription​(String description)
        Sets the description.
        Parameters:
        description - The description to set
      • setX

        public void setX​(int x)
        Sets the x.
        Parameters:
        x - The x to set
      • setY

        public void setY​(int y)
        Sets the y.
        Parameters:
        y - The y to set
      • getTemplateInstanceId

        public String getTemplateInstanceId()
        Returns the templateInstanceId.
        Returns:
        String
      • getTemplateFields

        public Vector getTemplateFields()
        Returns:
        something