org.tm4j.panckoucke.notification .StateChangedNotification

Description

Datastructure which is passes as the related object of a Notification from Type TM_STATE_CHANGED. The two fields oldState and newState hold the old and the new state of the TopicmapReference at the time the notification was scheduled to be send. Nevertheless it is quite possible, that the TopicmapReference did change the state again, while the notification waited in the Queue. So to determine the most actual state of a TopicMapReference, you shoud query the Reference directly. However if your Application depends on a strict order of states, its safe to check the newState-Field. Every change of the state of a TopicmapReference will cause a notification to be fired.

Inheritance Hierarchy

Method Summary
org.tm4j.panckoucke.store.StoreState getNewState()
org.tm4j.panckoucke.store.StoreState getOldState()
org.tm4j.panckoucke.store.TopicMapReference getTopicmapRef()