public class SemanticIdentifierMapEvent
extends java.util.EventObject
SemanticIdentifierMapEvent
class implements an event
object for the SemanticIdentifierMapListener
interface to
make use of. The events are fired from the SemanticIdentifierMap
class.Constructor and Description |
---|
SemanticIdentifierMapEvent(SemanticIdentifierMap map,
SemanticIdentifierMapEventType eventType,
SemanticIdentifier identifier)
Creates a new instance of CognitiveModelStateChangeEvent.
|
Modifier and Type | Method and Description |
---|---|
SemanticIdentifierMapEventType |
getEventType()
Gets the type of the event.
|
SemanticIdentifier |
getIdentifier()
Gets the SemanticIdentifier involved in the event.
|
SemanticIdentifierMap |
getMap()
Gets the SemanticIdentifierMap that the event happened in.
|
void |
setEventType(SemanticIdentifierMapEventType eventType)
Sets the type of the event.
|
void |
setIdentifier(SemanticIdentifier identifier)
Sets the SemanticIdentifier involved in the event.
|
void |
setMap(SemanticIdentifierMap map)
Sets the SemanticIdentifierMap that the event happened in.
|
public SemanticIdentifierMapEvent(SemanticIdentifierMap map, SemanticIdentifierMapEventType eventType, SemanticIdentifier identifier)
map
- The map that the event happened in.eventType
- The type of event that this is.identifier
- The identifier that caused the event.public SemanticIdentifierMap getMap()
public SemanticIdentifierMapEventType getEventType()
public SemanticIdentifier getIdentifier()
public void setMap(SemanticIdentifierMap map)
map
- SemanticIdentifierMap the event happened in.public void setEventType(SemanticIdentifierMapEventType eventType)
eventType
- the event type.public void setIdentifier(SemanticIdentifier identifier)
identifier
- The SemanticIdentifier involved in the event.