|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Taxonomy is an interface that allows
the creation and manipulation of taxonomies.
MiningObject| Method Summary | |
java.util.Collection |
getChildren(java.lang.Object parent)
Returns a collection of the children of the specified category. |
java.util.Collection |
getLeaves()
Returns a collection of the leaf categories of the taxonomy. |
java.util.Collection |
getParents(java.lang.Object child)
Returns a collection of the parent categories of the specified category. |
java.util.Collection |
getRoots()
Returns a collection of the root categories of the taxonomy. |
| Methods inherited from interface javax.datamining.MiningObject |
getCreationDate, getCreatorInfo, getDescription, getName, getObjectIdentifier, getObjectType, setDescription |
| Method Detail |
public java.util.Collection getChildren(java.lang.Object parent)
throws JDMException
Parent object must not be null.
parent - The parent category whose child categories are to be returned.
JDMException
public java.util.Collection getLeaves()
throws JDMException
If there are no roots, returns an empty collection.
JDMException
public java.util.Collection getParents(java.lang.Object child)
throws JDMException
The child object must not be null.
child - A child category whose parents are to be returned.
JDMException
public java.util.Collection getRoots()
throws JDMException
If there are no roots, returns an empty collection.
JDMException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||