Guvnor - Services API 6.1.0.CR2

org.guvnor.common.services.shared.metadata.model
Class CategoryItem

java.lang.Object
  extended by org.guvnor.common.services.shared.metadata.model.CategoryItem
Direct Known Subclasses:
Categories

@Portable
public class CategoryItem
extends Object


Constructor Summary
CategoryItem()
           
CategoryItem(String name, String description, CategoryItem parent)
           
 
Method Summary
 CategoryItem addChildren(String name, String description)
           
 boolean contains(String name)
           
 List<CategoryItem> getChildren()
           
 String getDescription()
           
 String getFullPath()
           
 String getName()
           
 CategoryItem getParent()
           
 boolean hasChild()
           
 void removeChildren(String name)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CategoryItem

public CategoryItem()

CategoryItem

public CategoryItem(String name,
                    String description,
                    CategoryItem parent)
Method Detail

getName

public String getName()

getDescription

public String getDescription()

getParent

public CategoryItem getParent()

getChildren

public List<CategoryItem> getChildren()

removeChildren

public void removeChildren(String name)

hasChild

public boolean hasChild()

addChildren

public CategoryItem addChildren(String name,
                                String description)

contains

public boolean contains(String name)

setName

public void setName(String name)

getFullPath

public String getFullPath()

Guvnor - Services API 6.1.0.CR2

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.