|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gmail.thejcwk.semantics.topicmaps.TopicMap
public class TopicMap
Encapsulates a topic map.
| Constructor Summary | |
|---|---|
TopicMap()
|
|
| Method Summary | |
|---|---|
void |
addOccurrence(Occurrence anOccurrence)
Add an occurrence to the map. |
void |
addRelationship(Relationship aRelationship)
Add a relationship to the map. |
void |
addTopic(Topic aTopic)
Add a Topic to the map. |
java.util.ArrayList<Occurrence> |
getOccurrences()
|
java.util.ArrayList<Relationship> |
getRelationships()
|
Topic |
getTopic(Topic equalTopic)
Return a Topic that has been added to this map that is equal to t. |
java.util.ArrayList<Topic> |
getTopics()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TopicMap()
| Method Detail |
|---|
public void addTopic(Topic aTopic)
aTopic - The Topic to be added. This must be unique, or it will not
be added.public void addOccurrence(Occurrence anOccurrence)
anOccurrence - The Occurrence to be added. Must be unique otherwise
it will not be added.public void addRelationship(Relationship aRelationship)
aRelationship - The relationship to be added. If this is not unqiue
it will not be added.public java.util.ArrayList<Occurrence> getOccurrences()
public java.util.ArrayList<Relationship> getRelationships()
public Topic getTopic(Topic equalTopic)
public java.util.ArrayList<Topic> getTopics()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||