Class Element


  • public class Element
    extends Object
    Describes an element.
    Author:
    Erik Amzallag
    • Constructor Detail

      • Element

        public Element()
    • Method Detail

      • getElementId

        public String getElementId()
        Returns:
        the elementId
      • setElementId

        public void setElementId​(String elementId)
        Parameters:
        elementId - the elementId to set
      • getDesignId

        public String getDesignId()
        Returns:
        the designId
      • setDesignId

        public void setDesignId​(String designId)
        Parameters:
        designId - the designId to set
      • getPartImgUrl

        public String getPartImgUrl()
        Returns:
        the partImgUrl
      • setPartImgUrl

        public void setPartImgUrl​(String partImgUrl)
        Parameters:
        partImgUrl - the partImgUrl to set
      • getPart

        public Part getPart()
        Returns:
        the part
      • setPart

        public void setPart​(Part part)
        Parameters:
        part - the part to set
      • getColor

        public Color getColor()
        Returns:
        the color
      • setColor

        public void setColor​(Color color)
        Parameters:
        color - the color to set