|
IBM Information Integrator for Content V8.2 APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mm.sdk.common.infomining.DKIKFCategory
A category represents a node in a taxonomy. A taxonomy is a tree of
categories. The taxonomy of a catalog can be retrieved using its
getTaxonomy()
method. Only the category
objects of such a taxonomy object provide the methods
DKIKFCatalog.getCategoriesForRecord(String)
or
DKIKFCategorizationResult.getCategory()
,
also represent the categories of a catalog, but do not belong to a taxonomy
object and thus do not provide the methods listed above. To get the
appropriate category objects of a taxonomy object use
DKIKFTaxonomy.getCategory(DKIKFCategory)
.
Constructor Summary | |
protected |
DKIKFCategory()
Objects can be obtained from DKIKFTaxonomy and other objects. |
Method Summary | |
abstract DKIKFCategory[] |
getChildren()
Returns all direct child categories if this category belongs to a taxonomy object. |
abstract java.lang.String |
getName()
Returns the name of the category. |
abstract DKIKFCategory |
getParent()
Returns the parent category if this category object belongs to a taxonomy object. |
abstract java.lang.String[] |
getPathAsArray()
Returns the category path as an array of names if this category belongs to a taxonomy object. |
abstract java.lang.String |
getPathAsString()
Returns the category path as a string of separated category names if this category belongs to a taxonomy object. |
abstract DKIKFTaxonomy |
getTaxonomy()
Returns the taxonomy object this category belongs to or null if
this object does not belong to a taxonomy object. |
abstract java.lang.String |
toString()
Returns the String representation of this category. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected DKIKFCategory()
DKIKFTaxonomy
and other objects.DKIKFCatalog
,
DKIKFCategorizationResult
Method Detail |
public abstract java.lang.String getName()
public abstract DKIKFCategory getParent()
UnsupportedOperationException
- if the category does not belong to a taxonomy object.getTaxonomy()
public abstract DKIKFCategory[] getChildren()
UnsupportedOperationException
- if the category does not belong to a taxonomy object.getTaxonomy()
public abstract java.lang.String[] getPathAsArray()
UnsupportedOperationException
- if the category does not belong to a taxonomy object.getTaxonomy()
public abstract java.lang.String getPathAsString()
UnsupportedOperationException
- if the category does not belong to a taxonomy object.getTaxonomy()
public abstract DKIKFTaxonomy getTaxonomy()
null
if
this object does not belong to a taxonomy object.null
if the category does not belong to a taxonomy object.DKIKFTaxonomy.getCategory(DKIKFCategory)
public abstract java.lang.String toString()
toString
in class java.lang.Object
getTaxonomy()
|
IBM Information Integrator for Content V8.2 APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |