Java 2 Platform
v1.3

edu.umich.visualsoar.misc
Class FeedbackListObject

java.lang.Object
  |
  +--edu.umich.visualsoar.misc.FeedbackListObject

public class FeedbackListObject
extends java.lang.Object

Just used to pass some things around


Field Summary
private  boolean d_isError
           
private  boolean d_isGenerated
           
private  int lineNumber
           
private  java.lang.String message
           
private  boolean msgEnough
           
private  edu.umich.visualsoar.operatorwindow.OperatorNode node
           
 
Constructor Summary
private FeedbackListObject()
           
  FeedbackListObject(edu.umich.visualsoar.operatorwindow.OperatorNode in_node, int in_ln, java.lang.String msg)
          Create the List Object with the given parameters
  FeedbackListObject(edu.umich.visualsoar.operatorwindow.OperatorNode in_node, int in_ln, java.lang.String msg, boolean _msgEnough)
           
  FeedbackListObject(edu.umich.visualsoar.operatorwindow.OperatorNode in_node, int in_ln, java.lang.String msg, boolean _msgEnough, boolean isError)
           
  FeedbackListObject(edu.umich.visualsoar.operatorwindow.OperatorNode in_node, int in_ln, java.lang.String msg, boolean _msgEnough, boolean isError, boolean isGenerated)
           
 
Method Summary
 java.lang.String getFileName()
          returns the filename of the file for which the node of this list object is associated
 int getLine()
          returns the line number for which this object is associated
 java.lang.String getMessage()
          returns the message for this object
 edu.umich.visualsoar.operatorwindow.OperatorNode getNode()
          returns the node for which this object is associated
 boolean isError()
           
 boolean isGenerated()
           
 void setMessage(java.lang.String s)
          lets you set a new message
 java.lang.String toString()
          returns a string to represent this object, it is a combination of the file, line number and the message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

node

private edu.umich.visualsoar.operatorwindow.OperatorNode node

lineNumber

private int lineNumber

message

private java.lang.String message

msgEnough

private boolean msgEnough

d_isError

private boolean d_isError

d_isGenerated

private boolean d_isGenerated
Constructor Detail

FeedbackListObject

private FeedbackListObject()

FeedbackListObject

public FeedbackListObject(edu.umich.visualsoar.operatorwindow.OperatorNode in_node,
                          int in_ln,
                          java.lang.String msg)
Create the List Object with the given parameters


FeedbackListObject

public FeedbackListObject(edu.umich.visualsoar.operatorwindow.OperatorNode in_node,
                          int in_ln,
                          java.lang.String msg,
                          boolean _msgEnough)

FeedbackListObject

public FeedbackListObject(edu.umich.visualsoar.operatorwindow.OperatorNode in_node,
                          int in_ln,
                          java.lang.String msg,
                          boolean _msgEnough,
                          boolean isError)

FeedbackListObject

public FeedbackListObject(edu.umich.visualsoar.operatorwindow.OperatorNode in_node,
                          int in_ln,
                          java.lang.String msg,
                          boolean _msgEnough,
                          boolean isError,
                          boolean isGenerated)
Method Detail

isError

public boolean isError()

isGenerated

public boolean isGenerated()

getFileName

public java.lang.String getFileName()
returns the filename of the file for which the node of this list object is associated

Returns:
a string which is the file name of the file of which this object is associated

getNode

public edu.umich.visualsoar.operatorwindow.OperatorNode getNode()
returns the node for which this object is associated

Returns:
a reference to the node

getLine

public int getLine()
returns the line number for which this object is associated

Returns:
an int that is positive

getMessage

public java.lang.String getMessage()
returns the message for this object

Returns:
a string that is additional information for the user

setMessage

public void setMessage(java.lang.String s)
lets you set a new message

Parameters:
s - a string that is the new message

toString

public java.lang.String toString()
returns a string to represent this object, it is a combination of the file, line number and the message

Overrides:
toString in class java.lang.Object
Returns:
a string that represents this object

Java 2 Platform
v1.3