ca.uhn.cache.internal.hibernate.impl
Class Field
java.lang.Object
  
ca.uhn.cache.impl.CommonsLangObject
      
ca.uhn.cache.internal.hibernate.impl.HibernateObject
          
ca.uhn.cache.internal.hibernate.impl.Field
- All Implemented Interfaces: 
 - java.lang.Comparable
 
- Direct Known Subclasses: 
 - DateParamField, StringParamField
 
- public abstract class Field
- extends HibernateObject
- implements java.lang.Comparable
   
Base class for all kinds of persistent fields.
 
 Subclasses must provide made the Field's constructor public
 and provide default constructor as well.
- Version:
 
  - $Revision: 1.1 $ updated on $Date: 2005/01/24 22:52:40 $ by $Author: bryan_tripp $
 
- Author:
 
  - Alexei Guevara
 
| 
Constructor Summary | 
protected  | 
Field(Record theRecord,
      java.lang.String theDimensionName)
 
            | 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
 
Field
protected Field(Record theRecord,
                java.lang.String theDimensionName)
- Parameters:
 theRecord - The record this field belongs to.theDimensionName - The name of the dimension of this field.
toQueryParam
public abstract IQueryParam toQueryParam(java.util.Map theDimensionNameToDimensionMap)
- TODO refactor the parameter theDimensionNameToDimensionMap to use a typed map!
 
- Parameters:
 theDimensionNameToDimensionMap - Map of dimension name to dimension.
- Returns:
 - The 
IQueryParam implementation corresponding to this field. 
 
 
getDimensionName
public java.lang.String getDimensionName()
 
- Returns:
 - Returns the dimensionName.
 
 
setDimensionName
public void setDimensionName(java.lang.String theDimensionName)
 
- Parameters:
 theDimensionName - The dimensionName to set.
 
getRecord
public Record getRecord()
 
- Returns:
 - Returns the record.
 
 
setRecord
public void setRecord(Record theRecord)
 
- Parameters:
 theRecord - The record to set.
 
hashCode
public int hashCode()
- 
- Overrides:
 hashCode in class CommonsLangObject
 
 
 
equals
public boolean equals(java.lang.Object theObj)
- 
- Overrides:
 equals in class CommonsLangObject
 
 
 
toString
public java.lang.String toString()
- 
- Overrides:
 toString in class CommonsLangObject
 
 
 
compareTo
public int compareTo(java.lang.Object theObj)
- 
- Specified by:
 compareTo in interface java.lang.Comparable
 
 
 
Copyright © 2004-2005 University Health Network. All Rights Reserved.