From c1db4903856e8e0eedab385708e54e5a3c6d32bd Mon Sep 17 00:00:00 2001 From: Emerson Oliveira Date: Mon, 5 Aug 2013 16:03:58 -0300 Subject: [PATCH] Adição de javadoc para a classe br.gov.frameworkdemoiselle.management.GenericNotification --- impl/core/src/main/java/br/gov/frameworkdemoiselle/management/GenericNotification.java | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/impl/core/src/main/java/br/gov/frameworkdemoiselle/management/GenericNotification.java b/impl/core/src/main/java/br/gov/frameworkdemoiselle/management/GenericNotification.java index 18dc443..bd344b3 100644 --- a/impl/core/src/main/java/br/gov/frameworkdemoiselle/management/GenericNotification.java +++ b/impl/core/src/main/java/br/gov/frameworkdemoiselle/management/GenericNotification.java @@ -37,40 +37,44 @@ package br.gov.frameworkdemoiselle.management; /** - * * Notification that can be sent by the {@link NotificationManager}. * * @author serpro - * */ public class GenericNotification { - + private Object message; - - public GenericNotification(){ + + /** + * Constructor without params. + */ + public GenericNotification() { } - + + /** + * Constructor with message to notification. + * + * @param message + * message to notification. + */ public GenericNotification(Object message) { super(); this.message = message; } - public Object getMessage() { return message; } - public void setMessage(Object message) { this.message = message; } - public Class getType() { - if (message!=null){ + if (message != null) { return message.getClass(); } - + return null; } -- libgit2 0.21.2