com.ibm.ram.common.data
Class Category
java.lang.Object
com.ibm.ram.common.data.Category
- Direct Known Subclasses:
- RAMCategory
public class Category
- extends java.lang.Object
Contains subcategories.
Subcategories can be set on an asset to categorize it.
- Since:
- 7.1
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Category
public Category()
getName
public java.lang.String getName()
- Returns:
- The name of the category.
- Since:
- 7.1
setName
public void setName(java.lang.String name)
- Parameters:
name - The name of the category.- Since:
- 7.1
getSubCategories
public SubCategory[] getSubCategories()
- Returns:
- The list of sub categories.
- Since:
- 7.1
setSubCategories
public void setSubCategories(SubCategory[] categories)
- Parameters:
categories - The list of sub categories.- Since:
- 7.1
getSubCategory
public SubCategory getSubCategory(java.lang.String name)
- Returns a category by name
- Since:
- 7.1