|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.topicmaps.utils.CharacteristicUtils
public class CharacteristicUtils
INTERNAL: Characteristic processing utilities.
| Constructor Summary | |
|---|---|
CharacteristicUtils()
|
|
| Method Summary | ||
|---|---|---|
static Collection<TopicIF> |
getAssociatedTopics(TopicIF topic)
INTERNAL: Returns all the directly associated topics of the given topic. |
|
static
|
getByType(Collection<T> objects,
TopicIF type)
INTERNAL: Finds first characteristic of a specified type. |
|
static Collection<OccurrenceIF> |
getOccurrences(Collection<TopicIF> topics)
Gets the occurrences of all the topics in the given collection. |
|
static Collection<AssociationRoleIF> |
getRoles(Collection<TopicIF> topics)
Gets the association roles of the topics in the given collection. |
|
static Collection<TopicNameIF> |
getTopicNames(Collection<TopicIF> topics)
INTERNAL: Gets the basenames of the given collection of topics. |
|
static Collection<TopicIF> |
getTopicsOfTopicNames(Collection<TopicNameIF> basenames)
INTERNAL: Gets the topics of a collection of basenames. |
|
static Collection<VariantNameIF> |
getVariants(Collection<TopicNameIF> names)
Gets all the variant names of the given collecton of basenames, including nested ones. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CharacteristicUtils()
| Method Detail |
|---|
public static <T extends TypedIF> T getByType(Collection<T> objects,
TopicIF type)
objects - A collection of TypedIF objects.
public static Collection<TopicNameIF> getTopicNames(Collection<TopicIF> topics)
topics - A scope; a collection of TopicIF objects.
public static Collection<VariantNameIF> getVariants(Collection<TopicNameIF> names)
names - A collection of TopicNameIF objects.
public static Collection<OccurrenceIF> getOccurrences(Collection<TopicIF> topics)
topics - A collection of TopicIF objects; a scope.
public static Collection<AssociationRoleIF> getRoles(Collection<TopicIF> topics)
topics - A collection of TopicIF objects; a scope.
public static Collection<TopicIF> getTopicsOfTopicNames(Collection<TopicNameIF> basenames)
basenames - A collection of TopicNameIFs.
public static Collection<TopicIF> getAssociatedTopics(TopicIF topic)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||