Class Notification
- java.lang.Object
-
- io.naradrama.prologue.domain.granule.Notification
-
- All Implemented Interfaces:
JsonSerializable
public class Notification extends java.lang.Object implements JsonSerializable
-
-
Constructor Summary
Constructors Constructor Description Notification(java.lang.String denizenId, java.lang.String title, NotieType notieType, java.lang.String message, IdName drama, long time)Notification(java.lang.String denizenId, java.lang.String title, NotieType notieType, java.lang.String message, IdName drama, IdName sender, long time)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NotificationfromJson(java.lang.String json)static voidmain(java.lang.String[] args)static Notificationsample()java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.naradrama.prologue.util.json.JsonSerializable
toJson, toPrettyJson
-
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
fromJson
public static Notification fromJson(java.lang.String json)
-
sample
public static Notification sample()
-
main
public static void main(java.lang.String[] args)
-
-