gov.nih.nci.mageom.search.Protocol.impl
Class HardwareSearchCriteriaImpl

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.Protocol.impl.ParameterizableSearchCriteriaImpl
                              extended by gov.nih.nci.mageom.search.Protocol.impl.HardwareSearchCriteriaImpl
All Implemented Interfaces:
Directable, Searchable, SessionObject, DescribableSearchCriteria, ExtendableSearchCriteria, IdentifiableSearchCriteria, HardwareSearchCriteria, ParameterizableSearchCriteria, java.io.Serializable, java.lang.Cloneable

public class HardwareSearchCriteriaImpl
extends ParameterizableSearchCriteriaImpl
implements HardwareSearchCriteria, java.io.Serializable

Represents a query for Hardware 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.Protocol.HardwareSearchCriteria
HARDWAREMANUFACTURERSID_ATTRIBUTE, ID_ATTRIBUTE, MAKE_ATTRIBUTE, MODEL_ATTRIBUTE
 
Fields inherited from interface gov.nih.nci.mageom.search.Protocol.ParameterizableSearchCriteria
URI_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
HardwareSearchCriteriaImpl()
           
 
Method Summary
 java.lang.Long getHardwareManufacturersId()
          Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Contact.id
 java.lang.Long getId()
          Returns the value of the id criterion.
 java.lang.String getMake()
          Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Protocol.Hardware.make
 java.lang.String getModel()
          Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Protocol.Hardware.model
 void setHardwareManufacturersCriteria(ContactSearchCriteria criteria)
          Constrains the search for Hardware objects to those associated with Contact objects by the association and selected by the given ContactSearchCriteria.
 void setHardwareManufacturersCriteria(ContactSearchCriteria criteria, java.lang.String booleanOp)
          Constrains the search for Hardware objects to those associated with Contact objects by the association and selected by the given ContactSearchCriteria.
 void setHardwareManufacturersId(java.lang.Long hardwareManufacturersId)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Contact.id
 void setHardwareManufacturersId(java.lang.Long hardwareManufacturersId, java.lang.String booleanOp)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Contact.id
 void setId(java.lang.Long id)
          Sets the value of the id criterion.
 void setId(java.lang.Long id, java.lang.String booleanOp)
           
 void setMake(java.lang.String make)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Protocol.Hardware.make
 void setMake(java.lang.String make, java.lang.String booleanOp, java.lang.String caseInsensitive)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Protocol.Hardware.make
 void setModel(java.lang.String model)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Protocol.Hardware.model
 void setModel(java.lang.String model, java.lang.String booleanOp, java.lang.String caseInsensitive)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Protocol.Hardware.model
 java.lang.String toString()
          Returns a String representation of this object suitable for console display.
 
Methods inherited from class gov.nih.nci.mageom.search.Protocol.impl.ParameterizableSearchCriteriaImpl
getURI, setURI, setURI
 
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.Protocol.ParameterizableSearchCriteria
getURI, setURI, setURI
 
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

HardwareSearchCriteriaImpl

public HardwareSearchCriteriaImpl()
Method Detail

getId

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

Specified by:
getId in interface DescribableSearchCriteria
Specified by:
getId in interface ExtendableSearchCriteria
Specified by:
getId in interface IdentifiableSearchCriteria
Specified by:
getId in interface HardwareSearchCriteria
Specified by:
getId in interface ParameterizableSearchCriteria
Overrides:
getId in class ParameterizableSearchCriteriaImpl
Returns:
the id criterion

setId

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

Specified by:
setId in interface DescribableSearchCriteria
Specified by:
setId in interface ExtendableSearchCriteria
Specified by:
setId in interface IdentifiableSearchCriteria
Specified by:
setId in interface HardwareSearchCriteria
Specified by:
setId in interface ParameterizableSearchCriteria
Overrides:
setId in class ParameterizableSearchCriteriaImpl
Parameters:
id -

setId

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

getModel

public java.lang.String getModel()
Description copied from interface: HardwareSearchCriteria
Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Protocol.Hardware.model

Specified by:
getModel in interface HardwareSearchCriteria
Returns:
the java.lang.String criterion value.
See Also:
gov.nih.nci.mageom.search.Protocol.HardwareSearchCriteria#model

getMake

public java.lang.String getMake()
Description copied from interface: HardwareSearchCriteria
Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Protocol.Hardware.make

Specified by:
getMake in interface HardwareSearchCriteria
Returns:
the java.lang.String criterion value.
See Also:
gov.nih.nci.mageom.search.Protocol.HardwareSearchCriteria#make

getHardwareManufacturersId

public java.lang.Long getHardwareManufacturersId()
Description copied from interface: HardwareSearchCriteria
Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Contact.id

Specified by:
getHardwareManufacturersId in interface HardwareSearchCriteria
Returns:
the java.lang.Long criterion value.
See Also:
gov.nih.nci.mageom.search.AuditAndSecurity.ContactSearchCriteria#id

setModel

public void setModel(java.lang.String model)
Description copied from interface: HardwareSearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Protocol.Hardware.model

Specified by:
setModel in interface HardwareSearchCriteria
See Also:
gov.nih.nci.mageom.search.Protocol.HardwareSearchCriteria#model

setModel

public void setModel(java.lang.String model,
                     java.lang.String booleanOp,
                     java.lang.String caseInsensitive)
Description copied from interface: HardwareSearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Protocol.Hardware.model

Specified by:
setModel in interface HardwareSearchCriteria
See Also:
gov.nih.nci.mageom.search.Protocol.HardwareSearchCriteria#model

setMake

public void setMake(java.lang.String make)
Description copied from interface: HardwareSearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Protocol.Hardware.make

Specified by:
setMake in interface HardwareSearchCriteria
See Also:
gov.nih.nci.mageom.search.Protocol.HardwareSearchCriteria#make

setMake

public void setMake(java.lang.String make,
                    java.lang.String booleanOp,
                    java.lang.String caseInsensitive)
Description copied from interface: HardwareSearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Protocol.Hardware.make

Specified by:
setMake in interface HardwareSearchCriteria
See Also:
gov.nih.nci.mageom.search.Protocol.HardwareSearchCriteria#make

setHardwareManufacturersCriteria

public void setHardwareManufacturersCriteria(ContactSearchCriteria criteria)
Description copied from interface: HardwareSearchCriteria
Constrains the search for Hardware objects to those associated with Contact objects by the association and selected by the given ContactSearchCriteria.

Specified by:
setHardwareManufacturersCriteria in interface HardwareSearchCriteria
See Also:
HardwareSearchCriteria.setHardwareManufacturersCriteria(gov.nih.nci.mageom.search.AuditAndSecurity.ContactSearchCriteria)

setHardwareManufacturersCriteria

public void setHardwareManufacturersCriteria(ContactSearchCriteria criteria,
                                             java.lang.String booleanOp)
Description copied from interface: HardwareSearchCriteria
Constrains the search for Hardware objects to those associated with Contact objects by the association and selected by the given ContactSearchCriteria.

Specified by:
setHardwareManufacturersCriteria in interface HardwareSearchCriteria
See Also:
HardwareSearchCriteria.setHardwareManufacturersCriteria(gov.nih.nci.mageom.search.AuditAndSecurity.ContactSearchCriteria)

setHardwareManufacturersId

public void setHardwareManufacturersId(java.lang.Long hardwareManufacturersId)
Description copied from interface: HardwareSearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Contact.id

Specified by:
setHardwareManufacturersId in interface HardwareSearchCriteria
See Also:
gov.nih.nci.mageom.domain.AuditAndSecurity.Contact#id

setHardwareManufacturersId

public void setHardwareManufacturersId(java.lang.Long hardwareManufacturersId,
                                       java.lang.String booleanOp)
Description copied from interface: HardwareSearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Contact.id

Specified by:
setHardwareManufacturersId in interface HardwareSearchCriteria
See Also:
gov.nih.nci.mageom.domain.AuditAndSecurity.Contact#id

toString

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

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