public class Folder extends Entry implements CollapsibleEntry
getChildren() will be reflected to other
code using these APIs.| Constructor and Description |
|---|
Folder() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
Comparator<Entry> |
getChildComparator() |
Map<Long,Entry> |
getChildren() |
List<Entry> |
getSortedChildren()
Returns an immutable sorted view of the values of the children Map.
|
int |
hashCode() |
boolean |
isMinimized() |
void |
setChildComparator(Comparator<Entry> childComparator) |
void |
setChildren(Map<Long,Entry> children) |
void |
setMinimized(boolean minimized) |
String |
toString() |
getCreated, getId, getModified, getName, getNote, getNoteLines, setCreated, setId, setModified, setName, setNotepublic Map<Long,Entry> getChildren()
public void setChildren(Map<Long,Entry> children)
children - The children to set.public boolean isMinimized()
isMinimized in interface CollapsibleEntrypublic void setMinimized(boolean minimized)
setMinimized in interface CollapsibleEntryminimized - The minimized to set.public List<Entry> getSortedChildren()
public Comparator<Entry> getChildComparator()
public void setChildComparator(Comparator<Entry> childComparator)
childComparator - The childComparator to set, calls setChildComparator on all children of type Folder.public boolean equals(Object object)
equals in class EntryObject.equals(Object)public int hashCode()
hashCode in class EntryObject.hashCode()public String toString()
toString in class EntryObject.toString()Copyright © 2016 Jasig. All Rights Reserved.