org.tm4j.topicmap.Topic .getTypes(boolean includeMergedTopics)

Description

Returns the Topics defining the type of this topic and, optionally, of all merged topics.

Parameters
boolean includeMergedTopics If true then the types of all merged topics are included in the returned collection, otherwise, only the typing topics defined on this topic are returned.

Returns

An unmodifiable Collection of the {@link Topic}s defining the type of this topic and, if includeMergedTopics is set to true, of all merged topics. If no subject indicators are currently defined on this topic (or merged topics), the returned collection is empty; it is never null.

Other Resources

Related Topics