com.arunta.base.search
Class DateExtensionCriteria

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

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

Search criteria that is a combination of a date and an extension.

See Also:
Serialized Form

Constructor Summary
DateExtensionCriteria(java.lang.String date, java.lang.String extension)
          Creates an instance with the specified date and extension.
 
Method Summary
 java.util.Date getDate()
           
 java.lang.String getExtension()
           
 void setDate(java.lang.String date)
          Sets the date part of the criteria.
 void setExtension(java.lang.String extension)
          Sets the extension part of the criteria.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateExtensionCriteria

public DateExtensionCriteria(java.lang.String date,
                             java.lang.String extension)
Creates an instance with the specified date and extension.

Parameters:
date - A date in the yyyy.MM.dd format.
extension - An extension. For example: 2000.
Method Detail

getDate

public java.util.Date getDate()
Returns:
Returns the date part of the criteria.

setDate

public void setDate(java.lang.String date)
Sets the date part of the criteria.

Parameters:
date - A date in the yyyy.MM.dd format.

getExtension

public java.lang.String getExtension()
Returns:
Returns the extension part of the criteria.

setExtension

public void setExtension(java.lang.String extension)
Sets the extension part of the criteria.

Parameters:
extension - An extension. For example: 2000.


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