com.jamasoftware.contour.ws.v3.domain
Class WsActivity

java.lang.Object
  extended by com.jamasoftware.contour.ws.v3.domain.WsActivity

public class WsActivity
extends java.lang.Object

This object represents a Contour event entry. These are the events listed under "Recent Activity" on your project home page.

Author:
Dylan

Constructor Summary
WsActivity()
           
 
Method Summary
 java.lang.String getAction()
          Gets the activity action.
 java.lang.String getComments()
          Gets comments associated with the activity.
 java.util.Date getDate()
          Gets the date the activity took place.
 WsEventType getEventType()
          Gets the activities event type.
 java.lang.Long getId()
          Gets the activity id.
 WsItem getItem()
          Gets the item associated with the activity (Can be null).
 WsUser getUser()
          Gets the user that fired the activity.
 java.lang.String getUserComment()
          Gets user comments associated with the activity.
 void setAction(java.lang.String action)
           
 void setComments(java.lang.String comments)
           
 void setDate(java.util.Date date)
           
 void setEventType(WsEventType eventType)
           
 void setId(java.lang.Long id)
           
 void setItem(WsItem item)
           
 void setUser(WsUser user)
           
 void setUserComment(java.lang.String userComment)
           
 java.lang.String toString()
          Gets a string representation of this activity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WsActivity

public WsActivity()
Method Detail

getId

public java.lang.Long getId()
Gets the activity id.

Returns:
activity id

setId

public void setId(java.lang.Long id)

getItem

public WsItem getItem()
Gets the item associated with the activity (Can be null).

Returns:
item associated with event entry

setItem

public void setItem(WsItem item)

getDate

public java.util.Date getDate()
Gets the date the activity took place.

Returns:
date of activity

setDate

public void setDate(java.util.Date date)

getUser

public WsUser getUser()
Gets the user that fired the activity.

Returns:
user that fired the activity

setUser

public void setUser(WsUser user)

getAction

public java.lang.String getAction()
Gets the activity action.

Returns:
the activities action

setAction

public void setAction(java.lang.String action)

getEventType

public WsEventType getEventType()
Gets the activities event type.

Returns:
event type of the activity

setEventType

public void setEventType(WsEventType eventType)

getComments

public java.lang.String getComments()
Gets comments associated with the activity. These comments list the specifics of the event, including any changes to items/modules/relationships/etc... that took place.

Returns:
activity comments

setComments

public void setComments(java.lang.String comments)

getUserComment

public java.lang.String getUserComment()
Gets user comments associated with the activity. These comments were given by the user when the event was fired.

Returns:
activity user comments

setUserComment

public void setUserComment(java.lang.String userComment)

toString

public java.lang.String toString()
Gets a string representation of this activity.

Overrides:
toString in class java.lang.Object
Returns:
String


Copyright (c) 2010 Jama Software, Inc. All Rights Reserved.