returnReturns the id. return id;
return id;
returnReturns the name. return name;
return name;
returnReturns the parent. return parent;
return parent;
paramid The id to set. this.id = id;
this.id = id;
paramname The name to set. this.name = name;
this.name = name;
paramparent The parent to set. this.parent = parent;
this.parent = parent;