|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
TaxonomyObject is a taxonomy
hierarchy represented in a Java object.
MiningObject,
Taxonomy| Method Summary | |
void |
addChildren(java.lang.Object parent,
java.lang.Object[] childArray)
Establishes parent-child relationships between the specified parent and the specified children. |
void |
removeDescendants(java.lang.Object parent)
Removes recursively the parent-child relationships between the specified parent category and its direct children, and so on. |
void |
removeRelationship(java.lang.Object parent,
java.lang.Object[] childArray)
Removes the parent-child relationships between the specified parent category and the specified children categories. |
| Methods inherited from interface javax.datamining.data.Taxonomy |
getChildren, getLeaves, getParents, getRoots |
| Methods inherited from interface javax.datamining.MiningObject |
getCreationDate, getCreatorInfo, getDescription, getName, getObjectIdentifier, getObjectType, setDescription |
| Method Detail |
public void addChildren(java.lang.Object parent,
java.lang.Object[] childArray)
throws JDMException
Neither the parameter parent nor childArray may be null. However, childArray may be empty.
parent - childArray -
JDMException
public void removeDescendants(java.lang.Object parent)
throws JDMException
The parameter parent must not be null.
parent - The parent category whose decendants are to be removed.
JDMException
public void removeRelationship(java.lang.Object parent,
java.lang.Object[] childArray)
throws JDMException
The parameter parent must be a direct partent of the entries in childArray.
Neither the parameter parent nor childArray may be null.
parent - childArray - An array of child categories whose relationship with the specified parent category is to be removed.
JDMException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||