com.silverpeas.socialnetwork.status
Class Status

java.lang.Object
  extended by com.silverpeas.socialnetwork.status.Status

public class Status
extends Object


Constructor Summary
Status()
           
Status(int userId, Date creationDate, String description)
           
 
Method Summary
 boolean equals(Object obj)
           
 Date getCreationDate()
           
 String getDescription()
           
 int getId()
           
 int getUserId()
           
 int hashCode()
           
 void setCreationDate(Date creationDate)
           
 void setDescription(String description)
           
 void setId(int id)
           
 void setUserId(int userId)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Status

public Status()

Status

public Status(int userId,
              Date creationDate,
              String description)
Method Detail

getId

public int getId()
Returns:
the id

setId

public void setId(int id)
Parameters:
id - the id to set

getUserId

public int getUserId()
Returns:
the userId

setUserId

public void setUserId(int userId)
Parameters:
userId - the userId to set

getCreationDate

public Date getCreationDate()
Returns:
the creationDate

setCreationDate

public void setCreationDate(Date creationDate)
Parameters:
creationDate - the creationDate to set

getDescription

public String getDescription()
Returns:
the description

setDescription

public void setDescription(String description)
Parameters:
description - the description to set

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016 Silverpeas. All Rights Reserved.