|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jconfig.DefaultCategory
org.jconfig.NestedCategory
This class is the result of countless discussions of what a Category should be. After determing that it should be another class, and that we can do something useful, we created this Category. A Category is a logical extension of the Configuration has Categories has Properties has Value frame-of-mind. The primary goal is to reduce redundancy in source code when using setter and getters that include Category information.
Constructor Summary | |
NestedCategory(java.lang.String categoryName)
|
Method Summary | |
void |
addCategory(Category cat)
|
NestedCategory |
getCategory(java.lang.String name)
|
java.util.Collection |
getChildCategories()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NestedCategory(java.lang.String categoryName)
categoryName
- Method Detail |
public void addCategory(Category cat)
public NestedCategory getCategory(java.lang.String name)
public java.util.Collection getChildCategories()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |