public class OrgChartItem extends Object implements Serializable
Constructor and Description |
---|
OrgChartItem(Integer id,
String name,
String title) |
OrgChartItem(OrgChartItem original) |
Modifier and Type | Method and Description |
---|---|
void |
addChildren(OrgChartItem item) |
boolean |
equals(Object obj) |
List<OrgChartItem> |
getChildren() |
String |
getClassName() |
Map<String,String> |
getData()
Return the map of custom properties.
|
Integer |
getId() |
String |
getName() |
String |
getTitle() |
int |
hashCode() |
void |
setChildren(List<OrgChartItem> children) |
void |
setClassName(String className) |
void |
setData(String name,
String value)
Add or remove a custom property.
|
void |
setId(Integer id) |
void |
setName(String name) |
void |
setTitle(String title) |
String |
toString() |
public OrgChartItem(OrgChartItem original)
public Map<String,String> getData()
public void setData(String name, String value)
name
- the name of the custom propertyvalue
- the value of the custom propertypublic String getName()
public void setName(String name)
public Integer getId()
public void setId(Integer id)
public String getTitle()
public void setTitle(String title)
public String getClassName()
public void setClassName(String className)
public List<OrgChartItem> getChildren()
public void setChildren(List<OrgChartItem> children)
public void addChildren(OrgChartItem item)
Copyright © 2017–2020 Flowing Code S.A.. All rights reserved.