pt.digitalis.dif.controller.objects
Class ResultMessage

java.lang.Object
  extended by pt.digitalis.dif.controller.objects.ResultMessage

public class ResultMessage
extends Object

Result message type for all stages. Will contain erros, warns and other messages that we wish to convey to the user

Author:
Pedro Viegas pviegas@digitalis.pt
Created on:
Nov 4, 2009

Constructor Summary
ResultMessage(String type, String title, String description, boolean popupMode, String mode)
          Constructor.
 
Method Summary
 String getDescription()
          Inspector for the 'description' attribute.
 String getMode()
          Inspector for the 'mode' attribute.
 String getTitle()
          Inspector for the 'title' attribute.
 String getType()
          Inspector for the 'type' attribute.
 boolean isPopupMode()
          Inspector for the 'popupMode' attribute.
 void setDescription(String description)
          Modifier for the 'description' attribute.
 void setMode(String mode)
          Modifier for the 'mode' attribute.
 void setPopupMode(boolean popupMode)
          Modifier for the 'popupMode' attribute.
 void setTitle(String title)
          Modifier for the 'title' attribute.
 void setType(String type)
          Modifier for the 'type' attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultMessage

public ResultMessage(String type,
                     String title,
                     String description,
                     boolean popupMode,
                     String mode)
Constructor.

Parameters:
type - the type
title - the title
description - the description
popupMode - the popup mode
mode - the mode
Method Detail

getDescription

public String getDescription()
Inspector for the 'description' attribute.

Returns:
the description value

getMode

public String getMode()
Inspector for the 'mode' attribute.

Returns:
the mode value

getTitle

public String getTitle()
Inspector for the 'title' attribute.

Returns:
the title value

getType

public String getType()
Inspector for the 'type' attribute.

Returns:
the type value

isPopupMode

public boolean isPopupMode()
Inspector for the 'popupMode' attribute.

Returns:
the popupMode value

setDescription

public void setDescription(String description)
Modifier for the 'description' attribute.

Parameters:
description - the new description value to set

setMode

public void setMode(String mode)
Modifier for the 'mode' attribute.

Parameters:
mode - the new mode value to set

setPopupMode

public void setPopupMode(boolean popupMode)
Modifier for the 'popupMode' attribute.

Parameters:
popupMode - the new popupMode value to set

setTitle

public void setTitle(String title)
Modifier for the 'title' attribute.

Parameters:
title - the new title value to set

setType

public void setType(String type)
Modifier for the 'type' attribute.

Parameters:
type - the new type value to set


Copyright © 2014 Digitalis Informática Lda. All Rights Reserved.