public class LessonMenuItem extends Object
LessonMenuItem class.
| Constructor and Description |
|---|
LessonMenuItem() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(LessonMenuItem child)
addChild.
|
List<LessonMenuItem> |
getChildren()
Getter for the field
children. |
String |
getLink()
Getter for the field
link. |
String |
getName()
Getter for the field
name. |
LessonMenuItemType |
getType()
Getter for the field
type. |
boolean |
isComplete()
isComplete.
|
void |
setChildren(List<LessonMenuItem> children)
Setter for the field
children. |
void |
setComplete(boolean complete)
Setter for the field
complete. |
void |
setLink(String link)
Setter for the field
link. |
void |
setName(String name)
Setter for the field
name. |
void |
setType(LessonMenuItemType type)
Setter for the field
type. |
String |
toString() |
public String getName()
Getter for the field name.
public void setName(String name)
Setter for the field name.
name - the name to setpublic List<LessonMenuItem> getChildren()
Getter for the field children.
public void setChildren(List<LessonMenuItem> children)
Setter for the field children.
children - the children to setpublic LessonMenuItemType getType()
Getter for the field type.
public void setType(LessonMenuItemType type)
Setter for the field type.
type - the type to setpublic void addChild(LessonMenuItem child)
addChild.
child - a LessonMenuItem object.public boolean isComplete()
isComplete.
public void setComplete(boolean complete)
Setter for the field complete.
complete - the complete to setpublic String getLink()
Getter for the field link.
public void setLink(String link)
Setter for the field link.
link - the link to setCopyright © 2006–2016 OWASP. All rights reserved.