org.activemath.events.types
Class UserBookRenamedEvent

java.lang.Object
  extended by org.activemath.events.ActivemathEvent
      extended by org.activemath.events.types.UserBookRenamedEvent
All Implemented Interfaces:
Serializable, Comparable, BookEventTag, InteractionBookEventTag, InteractionEventTag, SessionEventTag, UserEventTag

public class UserBookRenamedEvent
extends ActivemathEvent
implements InteractionBookEventTag

Describe me!

See Also:
Serialized Form

Field Summary
protected  String bookId
           
static String EVENT_TYPE
           
protected  String newTitle
           
protected  String oldTitle
           
 
Fields inherited from class org.activemath.events.ActivemathEvent
groupId, id, itemId, sessionId, source, timestamp, type, userId
 
Constructor Summary
UserBookRenamedEvent()
           
UserBookRenamedEvent(String bookId, String oldTitle, String newTitle)
           
 
Method Summary
 String getBookId()
           
 String getNewTitle()
           
 String getOldTitle()
           
 String getSessionId()
           
 String getUserId()
           
 void setBookId(String string)
           
 void setNewTitle(String value)
           
 void setOldTitle(String value)
           
 void setSessionId(String string)
           
 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

bookId

protected String bookId

oldTitle

protected String oldTitle

newTitle

protected String newTitle
Constructor Detail

UserBookRenamedEvent

public UserBookRenamedEvent()

UserBookRenamedEvent

public UserBookRenamedEvent(String bookId,
                            String oldTitle,
                            String newTitle)
Method Detail

getOldTitle

public String getOldTitle()

getNewTitle

public String getNewTitle()

toString

public String toString()
Overrides:
toString in class ActivemathEvent

getUserId

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

setUserId

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

getSessionId

public String getSessionId()
Specified by:
getSessionId in interface SessionEventTag

setSessionId

public void setSessionId(String string)
Specified by:
setSessionId in interface SessionEventTag

getBookId

public String getBookId()
Specified by:
getBookId in interface BookEventTag

setBookId

public void setBookId(String string)
Specified by:
setBookId in interface BookEventTag

setOldTitle

public void setOldTitle(String value)

setNewTitle

public void setNewTitle(String value)