|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.ram.common.data.Category
com.ibm.ram.client.RAMCategory
public class RAMCategory
Returns a category for an asset. Categories are contained in category schemas. Categories return subcategories, which you can set on an asset to categorize the asset. This object can be the definition of the category or the instance of the category that is applied to an asset.
RAMCategorySchema,
RAMSubCategory| Method Summary | |
|---|---|
RAMSubCategory |
createSubCategory(java.lang.String name)
Create a new category to populate for upload Creates a new sub category for this category. |
void |
delete()
Marks this category for deletion. |
protected java.lang.String |
getChildPath(Descriptor descriptor)
|
java.lang.String |
getName()
|
CategorySchema |
getSchema()
Return the category schema this type belongs to |
SubCategory[] |
getSubCategories()
|
SubCategory |
getSubCategory(java.lang.String name)
Returns a category by name |
boolean |
isDirty()
Returns true if this category has been modified. |
boolean |
isExclusive()
If a Category's children are exclusive they cannot be selected along with child siblings. |
void |
setExclusive(boolean exclusive)
Set the Category's children as exclusive |
void |
setName(java.lang.String name)
|
void |
setSubCategories(SubCategory[] categories)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public boolean isExclusive()
public void setExclusive(boolean exclusive)
exclusive - children are exclusivepublic void delete()
public RAMSubCategory createSubCategory(java.lang.String name)
public SubCategory[] getSubCategories()
getSubCategories in class Categorypublic SubCategory getSubCategory(java.lang.String name)
Category
getSubCategory in class Categoryprotected java.lang.String getChildPath(Descriptor descriptor)
descriptor -
public CategorySchema getSchema()
public java.lang.String getName()
getName in class Categorypublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean isDirty()
public void setName(java.lang.String name)
setName in class Categoryname - The name of the category.public void setSubCategories(SubCategory[] categories)
setSubCategories in class Categorycategories - The list of sub categories.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||