gov.nih.nci.mageom.search.BioMaterial
Interface BioSourceSearchCriteria

All Superinterfaces:
BioMaterialSearchCriteria, DescribableSearchCriteria, ExtendableSearchCriteria, IdentifiableSearchCriteria, Searchable, SessionObject
All Known Implementing Classes:
BioSourceSearchCriteriaImpl

public interface BioSourceSearchCriteria
extends BioMaterialSearchCriteria, Searchable

Represents a query for BioSource objects.

Version:
%I%, %G%

Field Summary
static java.lang.String ID_ATTRIBUTE
          This String name of criterion corresponding to gov.nih.nci.mageom.domain.BioMaterial.BioSource.id.
static java.lang.String SOURCECONTACTID_ATTRIBUTE
          The String name of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Contact.id.
 
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
 
Method Summary
 java.lang.Long getId()
          Returns the value of the id criterion.
 java.lang.Long getSourceContactId()
          Gets 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 setSourceContactCriteria(ContactSearchCriteria criteria)
          Constrains the search for BioSource objects to those associated with Contact objects by the association and selected by the given ContactSearchCriteria.
 void setSourceContactCriteria(ContactSearchCriteria criteria, java.lang.String booleanOp)
          Constrains the search for BioSource objects to those associated with Contact objects by the association and selected by the given ContactSearchCriteria.
 void setSourceContactId(java.lang.Long sourceContactId)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Contact.id
 void setSourceContactId(java.lang.Long sourceContactId, java.lang.String booleanOp)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Contact.id
 
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

ID_ATTRIBUTE

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

See Also:
gov.nih.nci.mageom.domain.BioMaterial.BioSource#id, Constant Field Values

SOURCECONTACTID_ATTRIBUTE

static final java.lang.String SOURCECONTACTID_ATTRIBUTE
The String name of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Contact.id.

See Also:
gov.nih.nci.mageom.domain.AuditAndSecurity.Contact#id, Constant Field Values
Method Detail

getId

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

Specified by:
getId in interface BioMaterialSearchCriteria
Specified by:
getId in interface DescribableSearchCriteria
Specified by:
getId in interface ExtendableSearchCriteria
Specified by:
getId in interface IdentifiableSearchCriteria
Returns:
the id criterion

setId

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

Specified by:
setId in interface BioMaterialSearchCriteria
Specified by:
setId in interface DescribableSearchCriteria
Specified by:
setId in interface ExtendableSearchCriteria
Specified by:
setId in interface IdentifiableSearchCriteria
Parameters:
id -

setId

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

getSourceContactId

java.lang.Long getSourceContactId()
Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Contact.id

Returns:
the java.lang.Long criterion value.
See Also:
gov.nih.nci.mageom.domain.AuditAndSecurity.Contact#id

setSourceContactCriteria

void setSourceContactCriteria(ContactSearchCriteria criteria)
Constrains the search for BioSource objects to those associated with Contact objects by the association and selected by the given ContactSearchCriteria.

Parameters:
gov.nih.nci.mageom.search.AuditAndSecurity.ContactSearchCriteria - the SearchCriteria to be nested
See Also:
ContactSearchCriteria

setSourceContactCriteria

void setSourceContactCriteria(ContactSearchCriteria criteria,
                              java.lang.String booleanOp)
Constrains the search for BioSource objects to those associated with Contact objects by the association and selected by the given ContactSearchCriteria.

Parameters:
gov.nih.nci.mageom.search.AuditAndSecurity.ContactSearchCriteria - the SearchCriteria to be nested
String - one of gov.nih.nci.common.search.CriteriaElement.AND or gov.nih.nci.common.search.CriteriaElement.OR
See Also:
ContactSearchCriteria

setSourceContactId

void setSourceContactId(java.lang.Long sourceContactId)
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Contact.id

Parameters:
sourceContactId -
See Also:
gov.nih.nci.mageom.domain.AuditAndSecurity.Contact#id

setSourceContactId

void setSourceContactId(java.lang.Long sourceContactId,
                        java.lang.String booleanOp)
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Contact.id

Parameters:
sourceContactId -
String - booleanOp one of gov.nih.nci.common.search.CriteriaElement.AND or gov.nih.nci.common.search.CriteriaElement.OR
See Also:
gov.nih.nci.mageom.domain.AuditAndSecurity.Contact#id