openfuture.bugbase.model
Class Result
java.lang.Object
|
+--openfuture.bugbase.model.Result
- All Implemented Interfaces:
- java.io.Serializable
- public class Result
- extends java.lang.Object
- implements java.io.Serializable
Object containing a boolean flag and a message.
Created: Tue Jun 20 17:25:28 2000
- Version:
- $Revision: 1.3 $
- Author:
- Wolfgang Reissenberger
- See Also:
- Serialized Form
Constructor Summary |
Result()
Constructor settung the value to true and
the message to the empty string. |
Result(boolean v,
java.lang.String message)
Constructor |
Method Summary |
java.lang.String |
getMessage()
Get the value of message. |
boolean |
getValue()
Get the value of value. |
void |
setMessage(java.lang.String v)
Set the value of message. |
void |
setValue(boolean v)
Set the value of value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Result
public Result(boolean v,
java.lang.String message)
- Constructor
- Parameters:
v
- value of the result.message
- result message.
Result
public Result()
- Constructor settung the value to
true
and
the message to the empty string.
getValue
public boolean getValue()
- Get the value of value.
- Returns:
- Value of value.
setValue
public void setValue(boolean v)
- Set the value of value.
- Parameters:
v
- Value to assign to value.
getMessage
public java.lang.String getMessage()
- Get the value of message.
- Returns:
- Value of message.
setMessage
public void setMessage(java.lang.String v)
- Set the value of message.
- Parameters:
v
- Value to assign to message.
Copyright © 2000 -- 2003 openfuture.de. All Rights Reserved.