com.silverpeas.notification
Class MyResource

java.lang.Object
  extended by com.silverpeas.notification.MyResource
All Implemented Interfaces:
Serializable

public class MyResource
extends Object
implements Serializable

It defines a resource in Silverpeas from which notifications can be triggered. It is dedicated to test the serialization of POJO through the notification API.

See Also:
Serialized Form

Constructor Summary
MyResource(String name)
           
 
Method Summary
 Date getCreationDate()
           
 String getId()
           
 Date getLastModificationDate()
           
 String getName()
           
 void setCreationDate(Date creationDate)
           
 void setId(String id)
           
 void setLastModificationDate(Date lastModificationDate)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyResource

public MyResource(String name)
Method Detail

getCreationDate

public Date getCreationDate()

setCreationDate

public void setCreationDate(Date creationDate)

getId

public String getId()

setId

public void setId(String id)

getLastModificationDate

public Date getLastModificationDate()

setLastModificationDate

public void setLastModificationDate(Date lastModificationDate)

getName

public String getName()

setName

public void setName(String name)


Copyright © 2016 Silverpeas. All Rights Reserved.