gov.nih.nci.mageom.search.Measurement
Interface UnitSearchCriteria

All Superinterfaces:
ExtendableSearchCriteria, Searchable, SessionObject
All Known Subinterfaces:
ConcentrationUnitSearchCriteria, DistanceUnitSearchCriteria, MassUnitSearchCriteria, QuantityUnitSearchCriteria, TemperatureUnitSearchCriteria, TimeUnitSearchCriteria, VolumeUnitSearchCriteria
All Known Implementing Classes:
ConcentrationUnitSearchCriteriaImpl, DistanceUnitSearchCriteriaImpl, MassUnitSearchCriteriaImpl, QuantityUnitSearchCriteriaImpl, TemperatureUnitSearchCriteriaImpl, TimeUnitSearchCriteriaImpl, UnitSearchCriteriaImpl, VolumeUnitSearchCriteriaImpl

public interface UnitSearchCriteria
extends ExtendableSearchCriteria, Searchable

Represents a query for Unit objects.

Version:
%I%, %G%

Field Summary
static java.lang.String ID_ATTRIBUTE
          This String name of criterion corresponding to gov.nih.nci.mageom.domain.Measurement.Unit.id.
static java.lang.String UNITNAME_ATTRIBUTE
          This String name of criterion corresponding to gov.nih.nci.mageom.domain.Measurement.Unit.unitName.
 
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
 
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

ID_ATTRIBUTE

static final java.lang.String ID_ATTRIBUTE
This String name of criterion corresponding to gov.nih.nci.mageom.domain.Measurement.Unit.id.

See Also:
gov.nih.nci.mageom.domain.Measurement.Unit#id, Constant Field Values

UNITNAME_ATTRIBUTE

static final java.lang.String UNITNAME_ATTRIBUTE
This String name of criterion corresponding to gov.nih.nci.mageom.domain.Measurement.Unit.unitName.

See Also:
gov.nih.nci.mageom.domain.Measurement.Unit#unitName, Constant Field Values
Method Detail

getId

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

Specified by:
getId in interface ExtendableSearchCriteria
Returns:
the id criterion

setId

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

Specified by:
setId in interface ExtendableSearchCriteria
Parameters:
id -

setId

void setId(java.lang.Long id,
           java.lang.String booleanOp)
Specified by:
setId in interface ExtendableSearchCriteria

getUnitName

java.lang.String getUnitName()
Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Measurement.Unit.unitName

Returns:
the java.lang.String criterion value.
See Also:
gov.nih.nci.mageom.domain.Measurement.Unit#unitName

setUnitName

void setUnitName(java.lang.String unitName)
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Measurement.Unit.unitName

Parameters:
unitName -
See Also:
gov.nih.nci.mageom.domain.Measurement.Unit#unitName

setUnitName

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

Parameters:
String - unitName the criterion value
String - booleanOp one of gov.nih.nci.common.search.CriteriaElement.AND or gov.nih.nci.common.search.CriteriaElement.OR
String - caseInsensitive one of gov.nih.nci.common.search.CriteriaElement.CASESENSITIVE or gov.nih.nci.common.search.CriteriaElement.CASEINSENSITIVE
See Also:
gov.nih.nci.mageom.domain.Measurement.Unit#unitName