gov.nih.nci.mageom.search.BioMaterial.impl
Class CompoundSearchCriteriaImpl

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.impl.DescribableSearchCriteriaImpl
                      extended by gov.nih.nci.mageom.search.impl.IdentifiableSearchCriteriaImpl
                          extended by gov.nih.nci.mageom.search.BioMaterial.impl.CompoundSearchCriteriaImpl
All Implemented Interfaces:
Directable, Searchable, SessionObject, CompoundSearchCriteria, DescribableSearchCriteria, ExtendableSearchCriteria, IdentifiableSearchCriteria, java.io.Serializable, java.lang.Cloneable

public class CompoundSearchCriteriaImpl
extends IdentifiableSearchCriteriaImpl
implements CompoundSearchCriteria, java.io.Serializable

Represents a query for Compound 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.BioMaterial.CompoundSearchCriteria
ID_ATTRIBUTE, ISSOLVENT_ATTRIBUTE
 
Fields inherited from interface gov.nih.nci.mageom.search.IdentifiableSearchCriteria
IDENTIFIER_ATTRIBUTE, NAME_ATTRIBUTE
 
Fields inherited from interface gov.nih.nci.mageom.search.DescribableSearchCriteria
SECURITYID_ATTRIBUTE
 
Constructor Summary
CompoundSearchCriteriaImpl()
           
 
Method Summary
 java.lang.Long getId()
          Returns the value of the id criterion.
 java.lang.Boolean getIsSolvent()
          Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.BioMaterial.Compound.isSolvent
 void setId(java.lang.Long id)
          Sets the value of the id criterion.
 void setId(java.lang.Long id, java.lang.String booleanOp)
           
 void setIsSolvent()
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.BioMaterial.Compound.isSolvent to a Boolean value of true.
 void setIsSolvent(java.lang.Boolean isSolvent)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.BioMaterial.Compound.isSolvent
 void setIsSolvent(java.lang.Boolean isSolvent, java.lang.String booleanOp)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.BioMaterial.Compound.isSolvent
 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.IdentifiableSearchCriteriaImpl
getIdentifier, getName, setIdentifier, setIdentifier, setName, setName
 
Methods inherited from class gov.nih.nci.mageom.search.impl.DescribableSearchCriteriaImpl
getSecurityId, setSecurityCriteria, setSecurityCriteria, setSecurityId, setSecurityId
 
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.mageom.search.IdentifiableSearchCriteria
getIdentifier, getName, setIdentifier, setIdentifier, setName, setName
 
Methods inherited from interface gov.nih.nci.mageom.search.DescribableSearchCriteria
getSecurityId, setSecurityCriteria, setSecurityCriteria, setSecurityId, setSecurityId
 
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

CompoundSearchCriteriaImpl

public CompoundSearchCriteriaImpl()
Method Detail

getId

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

Specified by:
getId in interface CompoundSearchCriteria
Specified by:
getId in interface DescribableSearchCriteria
Specified by:
getId in interface ExtendableSearchCriteria
Specified by:
getId in interface IdentifiableSearchCriteria
Overrides:
getId in class IdentifiableSearchCriteriaImpl
Returns:
the id criterion

setId

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

Specified by:
setId in interface CompoundSearchCriteria
Specified by:
setId in interface DescribableSearchCriteria
Specified by:
setId in interface ExtendableSearchCriteria
Specified by:
setId in interface IdentifiableSearchCriteria
Overrides:
setId in class IdentifiableSearchCriteriaImpl
Parameters:
id -

setId

public void setId(java.lang.Long id,
                  java.lang.String booleanOp)
Specified by:
setId in interface CompoundSearchCriteria
Specified by:
setId in interface DescribableSearchCriteria
Specified by:
setId in interface ExtendableSearchCriteria
Specified by:
setId in interface IdentifiableSearchCriteria
Overrides:
setId in class IdentifiableSearchCriteriaImpl

getIsSolvent

public java.lang.Boolean getIsSolvent()
Description copied from interface: CompoundSearchCriteria
Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.BioMaterial.Compound.isSolvent

Specified by:
getIsSolvent in interface CompoundSearchCriteria
Returns:
the java.lang.Boolean criterion value.
See Also:
gov.nih.nci.mageom.search.BioMaterial.CompoundSearchCriteria#isSolvent

setIsSolvent

public void setIsSolvent()
Description copied from interface: CompoundSearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.BioMaterial.Compound.isSolvent to a Boolean value of true.

Specified by:
setIsSolvent in interface CompoundSearchCriteria
See Also:
gov.nih.nci.mageom.search.BioMaterial.CompoundSearchCriteria#isSolvent

setIsSolvent

public void setIsSolvent(java.lang.Boolean isSolvent)
Description copied from interface: CompoundSearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.BioMaterial.Compound.isSolvent

Specified by:
setIsSolvent in interface CompoundSearchCriteria
See Also:
gov.nih.nci.mageom.search.BioMaterial.CompoundSearchCriteria#isSolvent

setIsSolvent

public void setIsSolvent(java.lang.Boolean isSolvent,
                         java.lang.String booleanOp)
Description copied from interface: CompoundSearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.BioMaterial.Compound.isSolvent

Specified by:
setIsSolvent in interface CompoundSearchCriteria
Parameters:
isSolvent - the criterion value
See Also:
gov.nih.nci.mageom.search.BioMaterial.CompoundSearchCriteria#isSolvent

toString

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

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