public class IdTitleTree
extends java.lang.Object
Constructor and Description |
---|
IdTitleTree() |
IdTitleTree(java.lang.String id,
java.lang.String title,
java.lang.String parentId) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(IdTitleTree child) |
IdTitleTree |
getChild(java.lang.String id) |
java.util.List<IdTitleTree> |
getChildren() |
java.lang.String |
getId() |
java.lang.String |
getParentId() |
java.lang.String |
getTitle() |
void |
setChildren(java.util.List<IdTitleTree> children) |
void |
setId(java.lang.String id) |
void |
setParentId(java.lang.String parentId) |
void |
setTitle(java.lang.String title) |
public IdTitleTree()
public IdTitleTree(java.lang.String id, java.lang.String title, java.lang.String parentId)
public java.util.List<IdTitleTree> getChildren()
public void setChildren(java.util.List<IdTitleTree> children)
public java.lang.String getParentId()
public void setParentId(java.lang.String parentId)
public IdTitleTree getChild(java.lang.String id)
public void addChild(IdTitleTree child)
public java.lang.String getId()
public void setId(java.lang.String id)
public java.lang.String getTitle()
public void setTitle(java.lang.String title)