ca.uhn.cache.internal.hibernate.impl
Class StringParamField
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.StringParamField
- All Implemented Interfaces:
- java.lang.Comparable
- public class StringParamField
- extends Field
Hibernate persistable object with xdoclet annotations for StringParam
.
- 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.lang.String |
getValue()
|
int |
hashCode()
|
void |
setValue(java.lang.String 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 |
StringParamField
public StringParamField(Record theRecord,
StringParam theParam)
- Constructs a
StringParamField
from a source StringParam
.
- Parameters:
theRecord
- The record this field belongs to.theParam
- The source StringParam
.
StringParamField
public StringParamField()
getValue
public java.lang.String getValue()
- Returns:
- Returns the value.
setValue
public void setValue(java.lang.String 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.