Class ActivityListDataItem

All Implemented Interfaces:
RepositoryEntity, Serializable

public class ActivityListDataItem extends BeCPGDataObject
Activity list of project
Version:
$Id: $Id
Author:
matthieu
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • activityType

      private ActivityType activityType
    • activityData

      private String activityData
    • userId

      private String userId
    • createdDate

      private Date createdDate
    • id

      private Long id
  • Constructor Details

    • ActivityListDataItem

      public ActivityListDataItem()

      Constructor for ActivityListDataItem.

  • Method Details

    • setId

      public void setId(Long id)

      Setter for the field id.

      Parameters:
      id - a Long object
    • getId

      public Long getId()

      Getter for the field id.

      Returns:
      a Long object
    • setCreated

      public void setCreated(Date created)

      setCreated.

      Parameters:
      created - a Date object
    • getCreatedDate

      public Date getCreatedDate()

      Getter for the field createdDate.

      Returns:
      a Date object
    • getActivityType

      public ActivityType getActivityType()

      Getter for the field activityType.

      Returns:
      a ActivityType object.
    • setActivityType

      public void setActivityType(ActivityType activityType)

      Setter for the field activityType.

      Parameters:
      activityType - a ActivityType object.
    • getActivityData

      public String getActivityData()

      Getter for the field activityData.

      Returns:
      a String object.
    • setActivityData

      public void setActivityData(String activityData)

      Setter for the field activityData.

      Parameters:
      activityData - a String object.
    • getJSONData

      public org.json.JSONObject getJSONData() throws org.json.JSONException

      getJSONData.

      Returns:
      a JSONObject object.
      Throws:
      org.json.JSONException - if any.
    • getUserId

      public String getUserId()

      Getter for the field userId.

      Returns:
      a String object.
    • setUserId

      public void setUserId(String userId)

      Setter for the field userId.

      Parameters:
      userId - a String object.
    • hashCode

      public int hashCode()

      hashCode.

      Overrides:
      hashCode in class BeCPGDataObject
      Returns:
      a int.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class BeCPGDataObject
    • toString

      public String toString()

      toString.

      Overrides:
      toString in class BeCPGDataObject
      Returns:
      a String object.