|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.iam.configservice.vo.CategoryDefinition
public class CategoryDefinition
The CategoryDefinition is a value object representing a category. A category is used to categorise attributes on the UI. The category has a name and list of attributes that belong to the category. Each attribute can belong to only one category.
| Constructor Summary | |
|---|---|
CategoryDefinition(java.lang.String name) |
|
| Method Summary | |
|---|---|
void |
addAttribute(java.lang.String attributeName)Add a new attribute to this category. |
java.util.List |
getAttributes()Get the list of attributes belonging to this category. |
java.lang.String |
getDisplayName()Get the display name of the category, to be shown on the UI. |
java.lang.String |
getDisplayName(java.util.ResourceBundle bundle)Get the display name of the category, to be shown on the UI. |
java.lang.String |
getName()Get the name of the category, as set while creating the definition. |
void |
setAttributes(java.util.List attributes)Set the attributes for this category. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CategoryDefinition(java.lang.String name)
| Method Detail |
|---|
public java.lang.String getName()
public java.lang.String getDisplayName()
public java.lang.String getDisplayName(java.util.ResourceBundle bundle)
bundle - the resource bundle which contains the translation for the category namepublic java.util.List getAttributes()
public void setAttributes(java.util.List attributes)
attributes - list of attributespublic void addAttribute(java.lang.String attributeName)
attributeName - attribute to be added to this category
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||