jadex.micro.benchmarks
Class Message

java.lang.Object
  extended by jadex.micro.benchmarks.Message

public class Message
extends Object


Field Summary
protected  boolean confidential
          The confidential flag.
protected  String text
          The message text.
 
Constructor Summary
Message()
          Create a new message.
Message(String text, boolean confidential)
          Create a new message.
 
Method Summary
 String getText()
          Get the text.
 boolean isConfidential()
          Set the confidential flag.
 void setConfidential(boolean confidential)
          Set the confidential flag.
 void setText(String text)
          Set the text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

text

protected String text
The message text.


confidential

protected boolean confidential
The confidential flag.

Constructor Detail

Message

public Message()
Create a new message.


Message

public Message(String text,
               boolean confidential)
Create a new message.

Method Detail

getText

public String getText()
Get the text.

Returns:
The text.

setText

public void setText(String text)
Set the text.

Parameters:
text - The text to set.

isConfidential

public boolean isConfidential()
Set the confidential flag.

Returns:
The confidential.

setConfidential

public void setConfidential(boolean confidential)
Set the confidential flag.

Parameters:
confidential - the confidential to set.


Copyright © 2010. All Rights Reserved.