gov.nih.nci.mageom.search.Measurement.impl
Class UnitSearchCriteriaImpl

java.lang.Object
  extended by gov.nih.nci.caBIO.util.PermissionObject
      extended by gov.nih.nci.common.search.SearchCriteria
          extended by gov.nih.nci.mageom.search.impl.MAGEOMSearchCriteria
              extended by gov.nih.nci.mageom.search.impl.ExtendableSearchCriteriaImpl
                  extended by gov.nih.nci.mageom.search.Measurement.impl.UnitSearchCriteriaImpl
All Implemented Interfaces:
Directable, Searchable, SessionObject, ExtendableSearchCriteria, UnitSearchCriteria, java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
ConcentrationUnitSearchCriteriaImpl, DistanceUnitSearchCriteriaImpl, MassUnitSearchCriteriaImpl, QuantityUnitSearchCriteriaImpl, TemperatureUnitSearchCriteriaImpl, TimeUnitSearchCriteriaImpl, VolumeUnitSearchCriteriaImpl

public class UnitSearchCriteriaImpl
extends ExtendableSearchCriteriaImpl
implements UnitSearchCriteria, java.io.Serializable

Represents a query for Unit objects.

Version:
%I%, %G%
See Also:
Serialized Form

Field Summary
protected  MAGESCUtils _scUtils
           
 
Fields inherited from class gov.nih.nci.mageom.search.impl.MAGEOMSearchCriteria
currentHandler
 
Fields inherited from class gov.nih.nci.common.search.SearchCriteria
_ands, _groups, _ors, _sessionId, criteriaCollection, fillInAllObjects, fillInObjects, myObjects, orderBy
 
Fields inherited from interface gov.nih.nci.mageom.search.Measurement.UnitSearchCriteria
ID_ATTRIBUTE, UNITNAME_ATTRIBUTE
 
Constructor Summary
UnitSearchCriteriaImpl()
           
 
Method Summary
 java.lang.Long getId()
          Returns the value of the id criterion.
 java.lang.String getUnitName()
          Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Measurement.Unit.unitName
 void setId(java.lang.Long id)
          Sets the value of the id criterion.
 void setId(java.lang.Long id, java.lang.String booleanOp)
           
 void setUnitName(java.lang.String unitName)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Measurement.Unit.unitName
 void setUnitName(java.lang.String unitName, java.lang.String booleanOp, java.lang.String caseInsensitive)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Measurement.Unit.unitName
 java.lang.String toString()
          Returns a String representation of this object suitable for console display.
 
Methods inherited from class gov.nih.nci.mageom.search.impl.MAGEOMSearchCriteria
defaultHandler, direct, getBeanClassName, getBeanName, getHandler, main, putCriterion, search, setHandler
 
Methods inherited from class gov.nih.nci.common.search.SearchCriteria
addCriteriaGroup, clone, equals, findCriterion, getAnds, getAvailableCriteria, getAvailableCriteria, getClassName, getCount, getCount, getCriteriaCollection, getCriteriaGroups, getCriterion, getCriterion, getCriterionValue, getFillInAllObjects, getFillInObjects, getMaxRecordset, getObjects, getOrderBy, getOrs, getReturnCount, getReturnObjects, getSearchCriteria, getSearchCriteria, getSessionId, getStartAt, hasElement, hashCode, putCriteria, putCriteria, putCriteria, putCriterion, putCriterion, putCriterion, putCriterion, putCriterion, putCriterion, putCriterion, putCriterion, putCriterion, putCriterion, putCriterion, putCriterion, putSearchCriteria, removeCriterion, removeElement, runSearch, search, setBeanClassName, setClassName, setFillInAllObjects, setFillInObjects, setMaxRecordset, setObjects, setOrderBy, setReturnCount, setReturnObjects, setSessionId, setStartAt
 
Methods inherited from class gov.nih.nci.caBIO.util.PermissionObject
getUserAccess, setArrayAccess, setUserAccess
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface gov.nih.nci.common.search.Searchable
getMaxRecordset, getOrderBy, getReturnCount, getReturnObjects, putCriterion, putCriterion, search, setMaxRecordset, setOrderBy, setReturnCount, setReturnObjects
 
Methods inherited from interface gov.nih.nci.common.search.session.SessionObject
getSessionId, setSessionId
 

Field Detail

_scUtils

protected MAGESCUtils _scUtils
Constructor Detail

UnitSearchCriteriaImpl

public UnitSearchCriteriaImpl()
Method Detail

getId

public java.lang.Long getId()
Returns the value of the id criterion.

Specified by:
getId in interface ExtendableSearchCriteria
Specified by:
getId in interface UnitSearchCriteria
Overrides:
getId in class ExtendableSearchCriteriaImpl
Returns:
the id criterion

setId

public void setId(java.lang.Long id)
Sets the value of the id criterion.

Specified by:
setId in interface ExtendableSearchCriteria
Specified by:
setId in interface UnitSearchCriteria
Overrides:
setId in class ExtendableSearchCriteriaImpl
Parameters:
id -

setId

public void setId(java.lang.Long id,
                  java.lang.String booleanOp)
Specified by:
setId in interface ExtendableSearchCriteria
Specified by:
setId in interface UnitSearchCriteria
Overrides:
setId in class ExtendableSearchCriteriaImpl

getUnitName

public java.lang.String getUnitName()
Description copied from interface: UnitSearchCriteria
Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Measurement.Unit.unitName

Specified by:
getUnitName in interface UnitSearchCriteria
Returns:
the java.lang.String criterion value.
See Also:
gov.nih.nci.mageom.search.Measurement.UnitSearchCriteria#unitName

setUnitName

public void setUnitName(java.lang.String unitName)
Description copied from interface: UnitSearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Measurement.Unit.unitName

Specified by:
setUnitName in interface UnitSearchCriteria
See Also:
gov.nih.nci.mageom.search.Measurement.UnitSearchCriteria#unitName

setUnitName

public void setUnitName(java.lang.String unitName,
                        java.lang.String booleanOp,
                        java.lang.String caseInsensitive)
Description copied from interface: UnitSearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Measurement.Unit.unitName

Specified by:
setUnitName in interface UnitSearchCriteria
See Also:
gov.nih.nci.mageom.search.Measurement.UnitSearchCriteria#unitName

toString

public java.lang.String toString()
Returns a String representation of this object suitable for console display.

Overrides:
toString in class ExtendableSearchCriteriaImpl
Returns:
the String representation.