ca.uhn.cache.internal.hibernate.impl
Class DateParamField
java.lang.Object
ca.uhn.cache.impl.CommonsLangObject
ca.uhn.cache.internal.hibernate.impl.HibernateObject
ca.uhn.cache.internal.hibernate.impl.Field
ca.uhn.cache.internal.hibernate.impl.DateParamField
- All Implemented Interfaces:
- java.lang.Comparable
- public class DateParamField
- extends Field
Hibernate persistable object with xdoclet annotations for DateParam
.
- Version:
- $Revision: 1.1 $ updated on $Date: 2005/01/24 22:52:40 $ by $Author: bryan_tripp $
- Author:
- Alexei Guevara
Method Summary |
boolean |
equals(java.lang.Object theObj)
|
java.sql.Timestamp |
getValue()
|
int |
hashCode()
|
void |
setValue(java.sql.Timestamp theValue)
|
IQueryParam |
toQueryParam(java.util.Map theDimensionNameToDimensionMap)
TODO refactor the parameter theDimensionNameToDimensionMap to use a typed map! |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
DateParamField
public DateParamField(Record theRecord,
DateParam theParam)
- Constructs a
DateParamField
from a source DateParam
.
- Parameters:
theRecord
- The record this field belongs to.theParam
- The source DateParam
.
DateParamField
public DateParamField()
getValue
public java.sql.Timestamp getValue()
- Returns:
- Returns the value.
setValue
public void setValue(java.sql.Timestamp theValue)
- Parameters:
theValue
- The value to set.
toQueryParam
public IQueryParam toQueryParam(java.util.Map theDimensionNameToDimensionMap)
- TODO refactor the parameter theDimensionNameToDimensionMap to use a typed map!
- Specified by:
toQueryParam
in class Field
- Parameters:
theDimensionNameToDimensionMap
- Map of dimension name to dimension.
- Returns:
- The
IQueryParam
implementation corresponding to this field.
hashCode
public int hashCode()
-
- Overrides:
hashCode
in class Field
equals
public boolean equals(java.lang.Object theObj)
-
- Overrides:
equals
in class Field
toString
public java.lang.String toString()
-
- Overrides:
toString
in class Field
Copyright © 2004-2005 University Health Network. All Rights Reserved.