public interface Category<K extends Comparable<K>,T extends BaseObject<K>> extends BaseObject<K>
Modifier and Type | Method and Description |
---|---|
boolean |
belong(Category<K,T> category) |
boolean |
belongDirectly(Category<K,T> category) |
boolean |
containsDirectly(Category<K,T> category) |
boolean |
containsSub(Category<K,T> category) |
T |
getParent() |
K |
getParentId()
父节点标识
|
List<Category<K,T>> |
getSubList() |
List<Category<K,T>> |
getSubList(Comparator<BaseObject<K>> comparator) |
void |
setParent(T parent) |
void |
setParentId(K parentId) |
void |
setSubList(List<Category<K,T>> subList) |
getDescription, getId, getName, getOrder, getTitle, setDescription, setId, setName, setOrder, setTitle
Copyright © 2006–2018 TinyGroup. All rights reserved.