|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The listener interface for receiving events that signal a change in the ontology.
OntologyManager.addOntologyListener(OntologyListener)
,
EvolutionListener
Method Summary | |
void |
associationCreated(OntologyEvent event)
Called by the OntologyManager when an association is created. |
void |
associationTopicAdded(OntologyEvent event)
Called by the OntologyManager when topic is added as a player to an association. |
void |
associationTopicRemoved(OntologyEvent event)
Called by the OntologyManager when player topic is removed from an association. |
void |
attributeAdded(OntologyEvent event)
Called by the OntologyManager when an attribute is added to a topic. |
void |
attributeRemoved(OntologyEvent event)
Called by the OntologyManager when an attribute is removed from a topic. |
void |
attributeValueChanged(OntologyEvent event)
Called by the OntologyManager when an attribute's value is changed. |
void |
conceptCommentChanged(OntologyEvent event)
Called by the OntologyManager when the comment of a concept has changed. |
void |
conceptNameChanged(OntologyEvent event)
Called by the OntologyManager when the name of a concept has changed. |
void |
conceptTypeChanged(OntologyEvent event)
Called by the OntologyManager when a type is added to or removed from a concept. |
void |
occurrenceChanged(OntologyEvent event)
Called by the OntologyManager when an occurrence's value is changed. |
void |
occurrenceCreated(OntologyEvent event)
Called by the OntologyManager when an occurrence is created. |
void |
occurrenceRemoved(OntologyEvent event)
Called by the OntologyManager when an occurrence is removed from a topic. |
void |
synonymAdded(OntologyEvent event)
Called by the OntologyManager when a synonym is added to a base topic. |
void |
synonymRemoved(OntologyEvent event)
Called by the OntologyManager when a synonym is removed from a base topic. |
void |
topicClassChanged(OntologyEvent event)
Called by the OntologyManager when a superclass is added to or removed from a topic. |
void |
topicCreated(OntologyEvent event)
Called by the OntologyManager when a topic is created. |
Method Detail |
public void topicCreated(OntologyEvent event)
OntologyEvent.getConcept()
returns the newly created topic.
event
- the OntologyEvent object containing the user and the newly created topicpublic void associationCreated(OntologyEvent event)
OntologyEvent.getConcept()
returns the newly created association.
event
- the OntologyEvent object containing the user and the newly created associationpublic void occurrenceCreated(OntologyEvent event)
OntologyEvent.getConcept()
returns the base topic,
OntologyEvent.getOccurrence()
the newly created occurrence.
event
- the OntologyEvent object containing the user, the topic and the newly created occurrencepublic void conceptCommentChanged(OntologyEvent event)
OntologyEvent.getConcept()
returns the base concept,
OntologyEvent.getOldValue()
the comment's old value.
event
- the OntologyEvent object containing the user, the concept and the comment's old valuepublic void conceptNameChanged(OntologyEvent event)
OntologyEvent.getConcept()
returns the base concept,
OntologyEvent.getOldValue()
the concept's old name.
event
- the OntologyEvent object containing the user, the concept and the concept's old namepublic void conceptTypeChanged(OntologyEvent event)
OntologyEvent.getConcept()
returns the base concept,
OntologyEvent.getOldType()
the concept's old type. For topics, the old type is null
if a new type is added.
event
- the OntologyEvent object containing the user, the concept and the concept's old typepublic void topicClassChanged(OntologyEvent event)
OntologyEvent.getConcept()
returns the base topic.
OntologyEvent.getOldType()
returns the topic's old superclass if it was removed, or null
if a superclass was added.
event
- the OntologyEvent object containing the user, the concept and the concept's old superclasspublic void associationTopicAdded(OntologyEvent event)
OntologyEvent.getConcept()
returns the association,
OntologyEvent.getTopic()
the added topic.
event
- the OntologyEvent object containing the user, the association and the added topicpublic void associationTopicRemoved(OntologyEvent event)
OntologyEvent.getConcept()
returns the association,
OntologyEvent.getTopic()
the removed topic.
event
- the OntologyEvent object containing the user, the association and the removed topicpublic void attributeAdded(OntologyEvent event)
OntologyEvent.getConcept()
returns the added attribute,
OntologyEvent.getTopic()
the base topic.
event
- the OntologyEvent object containing the user, the topic and the added attributepublic void attributeValueChanged(OntologyEvent event)
OntologyEvent.getConcept()
returns the attribute,
OntologyEvent.getOldValue()
the attribute's old value.
event
- the OntologyEvent object containing the user, the attribute and its old valuepublic void attributeRemoved(OntologyEvent event)
OntologyEvent.getConcept()
returns the removed attribute,
OntologyEvent.getTopic()
the base topic.
event
- the OntologyEvent object containing the user, the topic and the removed attributepublic void occurrenceChanged(OntologyEvent event)
OntologyEvent.getConcept()
returns the base topic,
OntologyEvent.getOccurrence()
the occurrence and
OntologyEvent.getOldValue()
the occurrence's old value.
event
- the OntologyEvent object containing the user, the topic, the occurrence and its old valuepublic void occurrenceRemoved(OntologyEvent event)
OntologyEvent.getConcept()
returns the base topic,
OntologyEvent.getOccurrence()
the removed occurrence.
event
- the OntologyEvent object containing the user, the topic and the removed occurrencepublic void synonymAdded(OntologyEvent event)
OntologyEvent.getConcept()
returns the base topic,
OntologyEvent.getSynonym()
the Synonym object that contains both synonymous topics.
event
- the OntologyEvent object containing the user, the topic and the synonympublic void synonymRemoved(OntologyEvent event)
OntologyEvent.getConcept()
returns the base topic,
OntologyEvent.getSynonym()
the removed Synonym object that contains both synonymous topics.
event
- the OntologyEvent object containing the user, the topic and the synonym
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |