Class OrgChartItem

java.lang.Object
com.flowingcode.vaadin.addons.orgchart.OrgChartItem
All Implemented Interfaces:
Serializable

public class OrgChartItem extends Object implements Serializable
Author:
pbartolo
See Also:
  • Constructor Details

  • Method Details

    • getData

      public Map<String,String> getData()
      Return the map of custom properties.
    • setData

      public void setData(String name, String value)
      Add or remove a custom property.
      Parameters:
      name - the name of the custom property
      value - the value of the custom property
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getId

      public Integer getId()
    • setId

      public void setId(Integer id)
    • getTitle

      public String getTitle()
    • setTitle

      public void setTitle(String title)
    • getClassName

      public String getClassName()
    • setClassName

      public void setClassName(String className)
    • getChildren

      public List<OrgChartItem> getChildren()
    • setChildren

      public void setChildren(List<OrgChartItem> children)
    • addChildren

      public void addChildren(OrgChartItem item)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object