org.displaytag.sample
Class ReportableListObject

java.lang.Object
  extended byorg.displaytag.sample.ReportableListObject
All Implemented Interfaces:
java.lang.Comparable

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

A test class that has data that looks more like information that comes back in a report.

Version:
$Revision: 1.11 $ ($Author: fgiust $)
Author:
epesh, Fabrizio Giustina

Constructor Summary
ReportableListObject()
          Constructor for ReportableListObject.
 
Method Summary
 int compareTo(java.lang.Object object)
           
 double getAmount()
          getter for amount.
 java.lang.String getCity()
          getter for city.
 java.lang.String getProject()
          getter for project.
 java.lang.String getTask()
          getter for task.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReportableListObject

public ReportableListObject()
Constructor for ReportableListObject.

Method Detail

getCity

public java.lang.String getCity()
getter for city.

Returns:
String city

getProject

public java.lang.String getProject()
getter for project.

Returns:
String project

getTask

public java.lang.String getTask()
getter for task.

Returns:
String task

getAmount

public double getAmount()
getter for amount.

Returns:
double amount

compareTo

public int compareTo(java.lang.Object object)
Specified by:
compareTo in interface java.lang.Comparable
See Also:
Comparable.compareTo(Object)

toString

public java.lang.String toString()
See Also:
Object.toString()


Copyright © 2002-2005 the Displaytag team. All Rights Reserved.