Package org.javlo.bean
Class ParentLink
- java.lang.Object
-
- org.javlo.bean.Link
-
- org.javlo.bean.ParentLink
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LinkToRenderer
public class ParentLink extends Link
represent a link with children.- Author:
- Patrick Vandermaesen
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<? extends ParentLink>
children
protected ParentLink
parent
-
Constructor Summary
Constructors Constructor Description ParentLink(String url, String title)
ParentLink(String url, String title, String label)
ParentLink(String url, String title, String label, ParentLink parent, List<? extends ParentLink> children)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<? extends ParentLink>
getChildren()
ParentLink
getParent()
void
setChildren(List<? extends ParentLink> children)
void
setParent(ParentLink parent)
-
-
-
Field Detail
-
parent
protected ParentLink parent
-
children
protected List<? extends ParentLink> children
-
-
Method Detail
-
getParent
public ParentLink getParent()
-
setParent
public void setParent(ParentLink parent)
-
getChildren
public List<? extends ParentLink> getChildren()
-
setChildren
public void setChildren(List<? extends ParentLink> children)
-
-