public final class HierarchicalVocabulary extends Object
Modifier and Type | Field and Description |
---|---|
static Comparator<HierarchicalVocabulary> |
ORDER_BY_ID |
Constructor and Description |
---|
HierarchicalVocabulary(HierarchicalVocabulary parent,
SimpleVocabulary vocabulary) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(HierarchicalVocabulary voca) |
void |
addChild(SimpleVocabulary voca) |
List<HierarchicalVocabulary> |
getChildren() |
HierarchicalVocabulary |
getParent() |
SimpleVocabulary |
getVocabulary() |
boolean |
hasChildren() |
boolean |
hasParent() |
void |
removeChild(HierarchicalVocabulary voca) |
public static final Comparator<HierarchicalVocabulary> ORDER_BY_ID
public HierarchicalVocabulary(HierarchicalVocabulary parent, SimpleVocabulary vocabulary)
public void addChild(HierarchicalVocabulary voca)
public void addChild(SimpleVocabulary voca)
public void removeChild(HierarchicalVocabulary voca)
public HierarchicalVocabulary getParent()
public SimpleVocabulary getVocabulary()
public List<HierarchicalVocabulary> getChildren()
public boolean hasParent()
public boolean hasChildren()
Copyright © 2011 Nuxeo SA. All Rights Reserved.