org.gcube.messaging.common.consumer.notifier
Class Notification

java.lang.Object
  extended by org.gcube.messaging.common.consumer.notifier.Notification
Direct Known Subclasses:
GHNNotification, RINotification

public abstract class Notification
extends java.lang.Object

Author:
Andrea Manzi(CERN)

Constructor Summary
Notification()
          default constructor
 
Method Summary
 java.lang.String getMessage()
          get the message
 GCUBEScope getScope()
          return the scope
 java.lang.String getSourceGHN()
          Get the source GHN
 java.lang.String getTime()
          The Notification time
 java.lang.String getType()
          type
 void setMessage(java.lang.String message)
          set the message
 void setScope(GCUBEScope scope)
          set the scope
 void setSourceGHN(java.lang.String sourceGHN)
          Set the source GHN
 void setTime(java.lang.String time)
          The Notification time
 void setType(java.lang.String type)
          set the type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Notification

public Notification()
default constructor

Method Detail

getTime

public java.lang.String getTime()
The Notification time

Returns:

setTime

public void setTime(java.lang.String time)
The Notification time

Parameters:
time -

getType

public java.lang.String getType()
type

Returns:
the notification type

setType

public void setType(java.lang.String type)
set the type

Parameters:
type - the type

getSourceGHN

public java.lang.String getSourceGHN()
Get the source GHN

Returns:
the source GHN

setSourceGHN

public void setSourceGHN(java.lang.String sourceGHN)
Set the source GHN

Parameters:
sourceGHN - the source GHN

getMessage

public java.lang.String getMessage()
get the message

Returns:
the message

setMessage

public void setMessage(java.lang.String message)
set the message

Parameters:
message -

getScope

public GCUBEScope getScope()
return the scope

Returns:
the scope

setScope

public void setScope(GCUBEScope scope)
set the scope

Parameters:
scope - the scope