uk.ac.liv.auction.stats
Class ReportVariable

java.lang.Object
  extended byuk.ac.liv.auction.stats.ReportVariable
All Implemented Interfaces:
java.lang.Comparable

public class ReportVariable
extends java.lang.Object
implements java.lang.Comparable

A class representing a variable produced by an AuctionReport.

Version:
$Revision: 1.5 $
Author:
Steve Phelps
See Also:
AuctionReport.getVariables(), AuctionImpl.getResults()

Field Summary
protected  java.lang.String description
           
protected  java.lang.String name
           
 
Constructor Summary
ReportVariable(java.lang.String name, java.lang.String description)
           
 
Method Summary
 int compareTo(java.lang.Object other)
           
 boolean equals(java.lang.Object other)
           
 java.lang.String getDescription()
           
 java.lang.String getName()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

description

protected java.lang.String description
Constructor Detail

ReportVariable

public ReportVariable(java.lang.String name,
                      java.lang.String description)
Method Detail

getDescription

public java.lang.String getDescription()

getName

public java.lang.String getName()

toString

public java.lang.String toString()

compareTo

public int compareTo(java.lang.Object other)
Specified by:
compareTo in interface java.lang.Comparable

equals

public boolean equals(java.lang.Object other)

hashCode

public int hashCode()