Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

com::cosylab::acs::maci::MessageType Class Reference

Collaboration diagram for com::cosylab::acs::maci::MessageType:

Collaboration graph
[legend]
List of all members.

Public Member Functions

String getName ()
String getDescription ()
String toString ()

Static Public Attributes

final MessageType MSG_ERROR = new MessageType("MSG_ERROR", "Error message.")
final MessageType MSG_INFORMATION = new MessageType("MSG_INFORMATION", "Informational message.")

Protected Member Functions

 MessageType (String name, String description)

Private Attributes

String name
String description

Detailed Description

Type of the message. Can be either MSG_ERROR or MSG_INFORMATION.
Author:
Matej Sekoranja (matej.sekoranja@cosylab.com)
Version:
@VERSION@


Constructor & Destructor Documentation

com::cosylab::acs::maci::MessageType::MessageType String  name,
String  description
[inline, protected]
 

Creates a new message type with its name and description. Contructor is protected to deny creation of unsupported types

Parameters:
name name of the type, non-null
description description of the type, non-null


Member Function Documentation

String com::cosylab::acs::maci::MessageType::getDescription  )  [inline]
 

Returns the description of the type.

Returns:
String description of the type

String com::cosylab::acs::maci::MessageType::getName  )  [inline]
 

Returns the name of the type.

Returns:
String name of the type

String com::cosylab::acs::maci::MessageType::toString  )  [inline]
 

Returns a single-line rendition of this instance into text.

Returns:
internal state of this instance


Member Data Documentation

String com::cosylab::acs::maci::MessageType::description [private]
 

The description of the type.

final MessageType com::cosylab::acs::maci::MessageType::MSG_ERROR = new MessageType("MSG_ERROR", "Error message.") [static]
 

Error message.

final MessageType com::cosylab::acs::maci::MessageType::MSG_INFORMATION = new MessageType("MSG_INFORMATION", "Informational message.") [static]
 

Informational message.

String com::cosylab::acs::maci::MessageType::name [private]
 

The name of the type (e.g. MSG_ERROR).


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:11:17 2009 for ACS Java API by doxygen 1.3.8