com.ibm.ram.common.data
Class CategorySchema
java.lang.Object
com.ibm.ram.common.data.CategorySchema
- Direct Known Subclasses:
- RAMCategorySchema
public class CategorySchema
- extends java.lang.Object
Contains categories, which contain 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 |
CategorySchema
public CategorySchema()
setURI
public void setURI(java.lang.String uri)
- Parameters:
uri - The URI of this Category Schema.- Since:
- 7.1
getURI
public java.lang.String getURI()
- Returns:
- The URI of the category schema.
- Since:
- 7.1
getCategories
public Category[] getCategories()
- Returns:
- The list of categories.
- Since:
- 7.1
setCategories
public void setCategories(Category[] categories)
- Parameters:
categories - The list of child categories.- Since:
- 7.1
getCategory
public Category getCategory(java.lang.String name)
- Returns a category by name
- Since:
- 7.1
getName
public java.lang.String getName()
- Returns:
- The name of the Category Schema.
- Since:
- 7.1
setName
public void setName(java.lang.String name)
- Parameters:
name - The name of the Category Schema.- Since:
- 7.1