Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.syndication.vocabularies
Class HierarchicalVocabulary

java.lang.Object
  extended by org.nuxeo.ecm.platform.syndication.vocabularies.HierarchicalVocabulary

public final class HierarchicalVocabulary
extends Object

Author:
Thomas Roger

Field Summary
static Comparator<HierarchicalVocabulary> ORDER_BY_ID
           
 
Constructor Summary
HierarchicalVocabulary(HierarchicalVocabulary parent, SimpleVocabulary vocabulary)
           
 
Method Summary
 void addChild(HierarchicalVocabulary voca)
           
 void addChild(SimpleVocabulary voca)
           
 List<HierarchicalVocabulary> getChildren()
           
 HierarchicalVocabulary getParent()
           
 SimpleVocabulary getVocabulary()
           
 boolean hasChildren()
           
 boolean hasParent()
           
 void removeChild(HierarchicalVocabulary voca)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ORDER_BY_ID

public static final Comparator<HierarchicalVocabulary> ORDER_BY_ID
Constructor Detail

HierarchicalVocabulary

public HierarchicalVocabulary(HierarchicalVocabulary parent,
                              SimpleVocabulary vocabulary)
Method Detail

addChild

public void addChild(HierarchicalVocabulary voca)

addChild

public void addChild(SimpleVocabulary voca)

removeChild

public void removeChild(HierarchicalVocabulary voca)

getParent

public HierarchicalVocabulary getParent()

getVocabulary

public SimpleVocabulary getVocabulary()

getChildren

public List<HierarchicalVocabulary> getChildren()

hasParent

public boolean hasParent()

hasChildren

public boolean hasChildren()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.