org.activemath.events.types
Class UserPropertyChangedEvent

java.lang.Object
  extended by org.activemath.events.ActivemathEvent
      extended by org.activemath.events.types.UserPropertyChangedEvent
All Implemented Interfaces:
Serializable, Comparable, ApplicationEventTag, UserEventTag

public class UserPropertyChangedEvent
extends ActivemathEvent
implements ApplicationEventTag, UserEventTag

Event: a user property has changed

See Also:
Serialized Form

Field Summary
static String EVENT_TYPE
           
 
Fields inherited from class org.activemath.events.ActivemathEvent
bookId, groupId, id, itemId, sessionId, source, timestamp, type, userId
 
Constructor Summary
UserPropertyChangedEvent()
           
UserPropertyChangedEvent(String property, String oldValue, String newValue)
           
 
Method Summary
 String getNewValue()
           
 String getOldValue()
           
 String getProperty()
           
 String getUserId()
           
 void setNewValue(String newValue)
           
 void setOldValue(String oldValue)
           
 void setProperty(String property)
           
 void setUserId(String string)
           
 String toString()
           
 
Methods inherited from class org.activemath.events.ActivemathEvent
compareTo, dispatchFinished, getGroupId, getId, getItemId, getSource, getTimestamp, getType, setGroupId, setId, setItemId, setSource, setTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.activemath.events.tags.UserEventTag
getGroupId, setGroupId
 

Field Detail

EVENT_TYPE

public static final String EVENT_TYPE
See Also:
Constant Field Values
Constructor Detail

UserPropertyChangedEvent

public UserPropertyChangedEvent()

UserPropertyChangedEvent

public UserPropertyChangedEvent(String property,
                                String oldValue,
                                String newValue)
Method Detail

getProperty

public String getProperty()
Returns:
Returns the property.

getOldValue

public String getOldValue()
Returns:
Returns the from.

getNewValue

public String getNewValue()
Returns:
Returns the to.

getUserId

public String getUserId()
Specified by:
getUserId in interface UserEventTag

setUserId

public void setUserId(String string)
Specified by:
setUserId in interface UserEventTag

setNewValue

public void setNewValue(String newValue)

setOldValue

public void setOldValue(String oldValue)

setProperty

public void setProperty(String property)

toString

public String toString()
Overrides:
toString in class ActivemathEvent