com.arunta.base.search
Class SearchRangeResult

java.lang.Object
  extended by com.arunta.base.search.SearchRangeResult
All Implemented Interfaces:
java.io.Serializable

public class SearchRangeResult
extends java.lang.Object
implements java.io.Serializable

Search result bean which is a combination of a date range and a record count in the date range.

It may be useful to know the number of records in the database that exists in a specified date range. For example, the number of recordings between two dates. This information can be useful when showing data on a screen one page at a time.

See Also:
Serialized Form

Constructor Summary
SearchRangeResult(java.lang.String startDate, java.lang.String endDate, int count)
          Creates an instance with the specified date range and record count.
 
Method Summary
 int getCount()
           
 java.lang.String getEndDate()
           
 java.lang.String getStartDate()
           
 void setCount(int count)
           
 void setEndDate(java.lang.String maxDate)
           
 void setStartDate(java.lang.String minDate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchRangeResult

public SearchRangeResult(java.lang.String startDate,
                         java.lang.String endDate,
                         int count)
Creates an instance with the specified date range and record count.

Parameters:
startDate - A date in the yyyy.MM.dd format. This is the start date of the range.
endDate - A date in the yyyy.MM.dd format. This is the end date of the range.
count - Number of records in the range.
Method Detail

getStartDate

public java.lang.String getStartDate()

setStartDate

public void setStartDate(java.lang.String minDate)

getEndDate

public java.lang.String getEndDate()

setEndDate

public void setEndDate(java.lang.String maxDate)

getCount

public int getCount()

setCount

public void setCount(int count)


Copyright ©, 2005-2012 Prolancer Pty Ltd, Sydney Australia.