org.apache.cocoon.components.notification
Class SimpleNotifyingBean

java.lang.Object
  |
  +--org.apache.cocoon.components.notification.SimpleNotifyingBean
All Implemented Interfaces:
Notifying
Direct Known Subclasses:
Notification

public class SimpleNotifyingBean
extends java.lang.Object
implements Notifying

A simple bean implementation of Notifying.

Version:
CVS $Id: SimpleNotifyingBean.java,v 1.5.2.1 2002/07/15 14:52:59 cziegeler Exp $
Author:
Nicola Ken Barozzi

Fields inherited from interface org.apache.cocoon.components.notification.Notifying
DEBUG_NOTIFICATION, ERROR_NOTIFICATION, FATAL_NOTIFICATION, INFO_NOTIFICATION, UNKNOWN_NOTIFICATION, WARN_NOTIFICATION
 
Constructor Summary
SimpleNotifyingBean()
           
SimpleNotifyingBean(java.lang.Object sender)
           
 
Method Summary
 void addExtraDescription(java.lang.String extraDescriptionDescription, java.lang.String extraDescription)
          Sets the ExtraDescriptions of the SimpleNotifyingBean object
 java.lang.String getDescription()
          Gets the Description of the SimpleNotifyingBean object
 java.util.Map getExtraDescriptions()
          Gets the ExtraDescriptions of the SimpleNotifyingBean object
 java.lang.String getMessage()
          Gets the Message of the SimpleNotifyingBean object
 java.lang.String getSender()
          Gets the Sender of the SimpleNotifyingBean object
 java.lang.String getSource()
          Gets the Source of the SimpleNotifyingBean object
 java.lang.String getTitle()
          Gets the Title of the SimpleNotifyingBean object
 java.lang.String getType()
          Gets the Type of the SimpleNotifyingBean object
protected  void replaceExtraDescriptions(java.util.HashMap extraDescriptions)
          replaces the ExtraDescriptions of the SimpleNotifyingBean object
protected  void replaceExtraDescriptions(java.util.Map extraDescriptions)
          replaces the ExtraDescriptions of the SimpleNotifyingBean object
 void setDescription(java.lang.String description)
          Sets the Description of the SimpleNotifyingBean object
 void setMessage(java.lang.String message)
          Sets the Message of the SimpleNotifyingBean object
 void setSource(java.lang.String source)
          Sets the Source of the SimpleNotifyingBean object
 void setTitle(java.lang.String title)
          Sets the Title of the SimpleNotifyingBean object
 void setType(java.lang.String type)
          Sets the Type of the SimpleNotifyingBean object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleNotifyingBean

public SimpleNotifyingBean()

SimpleNotifyingBean

public SimpleNotifyingBean(java.lang.Object sender)
Method Detail

setType

public void setType(java.lang.String type)
Sets the Type of the SimpleNotifyingBean object
Parameters:
type - The new Type value

setTitle

public void setTitle(java.lang.String title)
Sets the Title of the SimpleNotifyingBean object
Parameters:
title - The new Title value

setSource

public void setSource(java.lang.String source)
Sets the Source of the SimpleNotifyingBean object
Parameters:
source - The new Source value

setMessage

public void setMessage(java.lang.String message)
Sets the Message of the SimpleNotifyingBean object
Parameters:
message - The new Message value

setDescription

public void setDescription(java.lang.String description)
Sets the Description of the SimpleNotifyingBean object
Parameters:
description - The new Description value

addExtraDescription

public void addExtraDescription(java.lang.String extraDescriptionDescription,
                                java.lang.String extraDescription)
Sets the ExtraDescriptions of the SimpleNotifyingBean object
Parameters:
extraDescriptions - The new ExtraDescriptions value

replaceExtraDescriptions

protected void replaceExtraDescriptions(java.util.Map extraDescriptions)
replaces the ExtraDescriptions of the SimpleNotifyingBean object

replaceExtraDescriptions

protected void replaceExtraDescriptions(java.util.HashMap extraDescriptions)
replaces the ExtraDescriptions of the SimpleNotifyingBean object

getType

public java.lang.String getType()
Gets the Type of the SimpleNotifyingBean object
Specified by:
getType in interface Notifying

getTitle

public java.lang.String getTitle()
Gets the Title of the SimpleNotifyingBean object
Specified by:
getTitle in interface Notifying

getSource

public java.lang.String getSource()
Gets the Source of the SimpleNotifyingBean object
Specified by:
getSource in interface Notifying

getSender

public java.lang.String getSender()
Gets the Sender of the SimpleNotifyingBean object
Specified by:
getSender in interface Notifying

getMessage

public java.lang.String getMessage()
Gets the Message of the SimpleNotifyingBean object
Specified by:
getMessage in interface Notifying

getDescription

public java.lang.String getDescription()
Gets the Description of the SimpleNotifyingBean object
Specified by:
getDescription in interface Notifying

getExtraDescriptions

public java.util.Map getExtraDescriptions()
Gets the ExtraDescriptions of the SimpleNotifyingBean object
Specified by:
getExtraDescriptions in interface Notifying


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.