|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--edu.iu.iv.modeling.tarl.topic.impl.DefaultTopicManager
This class defines a default implementation of the TopicManagerInterface. It uses the default implementations of the standard interfaces for its cause.
DefaultTopicDatabase,
TopicManager| Constructor Summary | |
DefaultTopicManager()
Creates a new instance of the TopicManager |
|
| Method Summary | |
void |
cleanUpTopic()
Removes every Topic from its database |
Topic |
getRandomTopic()
Returns a random Topic from the database |
TopicGroup |
getTopics()
Returns the group of all the Topics in the system |
void |
initializeTopics(TopicParameters topicParameters)
Initializes the Topic environment to enable various operations on the Topics. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultTopicManager()
TopicManager
| Method Detail |
public void initializeTopics(TopicParameters topicParameters)
Topic environment to enable various operations on the Topics. Creates new topics based on the model parameters of the topic environment.
initializeTopics in interface TopicManagertopicParameters - Specifies the model parameters related to topicspublic Topic getRandomTopic()
Topic from the database
getRandomTopic in interface TopicManagerpublic TopicGroup getTopics()
Topics in the system
getTopics in interface TopicManagerpublic void cleanUpTopic()
Topic from its database
cleanUpTopic in interface TopicManager
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||