|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.ram.common.data.SubCategory
com.ibm.ram.client.RAMSubCategory
public class RAMSubCategory
Is applied to an asset to categorize the asset. Category schemas contain categories, and categories contain subcategories.
| Method Summary | |
|---|---|
RAMSubCategory |
createSubCategory(java.lang.String name)
Create a new sub ategory to populate for upload |
java.lang.String |
getCategorization()
|
Category |
getCategory()
The category this sub-category belongs to |
protected java.lang.String |
getChildPath(Descriptor descriptor)
|
java.lang.String |
getEncodedName()
|
java.lang.String |
getFullPath()
The Full path to the sub category in the form... |
java.lang.String |
getId()
The Unique ID of the Sub Category with in the Category Schema |
java.lang.String |
getName()
|
SubCategory[] |
getSubCategories()
|
SubCategory |
getSubCategory(java.lang.String name)
Returns a category by fName |
boolean |
isDirty()
Returns true is the Sub Category has been modified. |
boolean |
isExclusive()
If a Sub Category's children are exclusive they cannot be selected along with child siblings. |
void |
setCategorization(java.lang.String categorization)
|
void |
setExclusive(boolean exclusive)
Set the Sub-Category's children as exclusive |
void |
setFullPath(java.lang.String fullPath)
|
void |
setId(java.lang.String id)
Set the Unique ID of a Sub Category from within the Category Schema |
void |
setName(java.lang.String name)
|
void |
setSet(boolean set)
This method is used when a sub category is only applied to an asset. |
void |
setSubCategories(SubCategory[] categories)
|
java.lang.String |
toString()
|
| Methods inherited from class com.ibm.ram.common.data.SubCategory |
|---|
isSet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public SubCategory[] getSubCategories()
getSubCategories in class SubCategorypublic SubCategory getSubCategory(java.lang.String name)
SubCategory
getSubCategory in class SubCategorypublic boolean isExclusive()
public void setExclusive(boolean exclusive)
exclusive - children are exclusivepublic boolean isDirty()
public Category getCategory()
public java.lang.String getCategorization()
getCategorization in class SubCategorypublic java.lang.String getFullPath()
SubCategory
getFullPath in class SubCategoryprotected java.lang.String getChildPath(Descriptor descriptor)
descriptor -
public RAMSubCategory createSubCategory(java.lang.String name)
public java.lang.String getName()
getName in class SubCategorypublic java.lang.String getEncodedName()
public java.lang.String toString()
toString in class java.lang.Objectpublic void setFullPath(java.lang.String fullPath)
setFullPath in class SubCategoryfullPath - The fullPath to set.public void setName(java.lang.String name)
setName in class SubCategorypublic java.lang.String getId()
SubCategory
getId in class SubCategorypublic void setCategorization(java.lang.String categorization)
setCategorization in class SubCategorypublic void setId(java.lang.String id)
SubCategory
setId in class SubCategorypublic void setSubCategories(SubCategory[] categories)
setSubCategories in class SubCategorycategories - The list of sub categories.public void setSet(boolean set)
SubCategory
setSet in class SubCategoryset - The set to set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||