public class WsActivity extends Object
Constructor and Description |
---|
WsActivity() |
Modifier and Type | Method and Description |
---|---|
String |
getAction()
Gets the activity action.
|
List<Integer> |
getAffectedItemIds() |
String |
getComments()
Gets comments associated with the activity.
|
Date |
getDate()
Gets the date the activity took place.
|
WsEventType |
getEventType()
Gets the activities event type.
|
Long |
getId()
Gets the activity id.
|
WsItem |
getItem()
Gets the item associated with the activity (Can be null).
|
Integer |
getObjectType() |
WsUser |
getUser()
Gets the user that fired the activity.
|
String |
getUserComment()
Gets user comments associated with the activity.
|
void |
setAction(String action) |
void |
setAffectedItemIds(List<Integer> affectedItemIds) |
void |
setComments(String comments) |
void |
setDate(Date date) |
void |
setEventType(WsEventType eventType) |
void |
setId(Long id) |
void |
setItem(WsItem item) |
void |
setObjectType(Integer objectType) |
void |
setUser(WsUser user) |
void |
setUserComment(String userComment) |
String |
toString()
Gets a string representation of this activity.
|
public Long getId()
public void setId(Long id)
public WsItem getItem()
public void setItem(WsItem item)
public Date getDate()
public void setDate(Date date)
public WsUser getUser()
public void setUser(WsUser user)
public String getAction()
public void setAction(String action)
public WsEventType getEventType()
public void setEventType(WsEventType eventType)
public String getComments()
public void setComments(String comments)
public String getUserComment()
public void setUserComment(String userComment)
public String toString()
public void setObjectType(Integer objectType)
public Integer getObjectType()
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.