Nuxeo Enterprise Platform 5.4

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 java.lang.Object

Author:
Thomas Roger

Field Summary
static java.util.Comparator<HierarchicalVocabulary> ORDER_BY_ID
           
 
Constructor Summary
HierarchicalVocabulary(HierarchicalVocabulary parent, SimpleVocabulary vocabulary)
           
 
Method Summary
 void addChild(HierarchicalVocabulary voca)
           
 void addChild(SimpleVocabulary voca)
           
 java.util.List<HierarchicalVocabulary> getChilds()
           
 HierarchicalVocabulary getParent()
           
 SimpleVocabulary getVocabulary()
           
 boolean hasChilds()
           
 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 java.util.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()

getChilds

public java.util.List<HierarchicalVocabulary> getChilds()

hasParent

public boolean hasParent()

hasChilds

public boolean hasChilds()

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.