gov.nih.nci.mageom.search.Description.impl
Class DatabaseSearchCriteriaImpl

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.Description.impl.DatabaseSearchCriteriaImpl
All Implemented Interfaces:
Directable, Searchable, SessionObject, DescribableSearchCriteria, DatabaseSearchCriteria, ExtendableSearchCriteria, IdentifiableSearchCriteria, java.io.Serializable, java.lang.Cloneable

public class DatabaseSearchCriteriaImpl
extends IdentifiableSearchCriteriaImpl
implements DatabaseSearchCriteria, java.io.Serializable

Represents a query for Database 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.Description.DatabaseSearchCriteria
CONTACTSID_ATTRIBUTE, ID_ATTRIBUTE, URI_ATTRIBUTE, VERSION_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
DatabaseSearchCriteriaImpl()
           
 
Method Summary
 java.lang.Long getContactsId()
          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 getURI()
          Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.Database.URI
 java.lang.String getVersion()
          Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.Database.version
 void setContactsCriteria(ContactSearchCriteria criteria)
          Constrains the search for Database objects to those associated with Contact objects by the association and selected by the given ContactSearchCriteria.
 void setContactsCriteria(ContactSearchCriteria criteria, java.lang.String booleanOp)
          Constrains the search for Database objects to those associated with Contact objects by the association and selected by the given ContactSearchCriteria.
 void setContactsId(java.lang.Long contactsId)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.AuditAndSecurity.Contact.id
 void setContactsId(java.lang.Long contactsId, 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 setURI(java.lang.String URI)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.Database.URI
 void setURI(java.lang.String URI, java.lang.String booleanOp, java.lang.String caseInsensitive)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.Database.URI
 void setVersion(java.lang.String version)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.Database.version
 void setVersion(java.lang.String version, java.lang.String booleanOp, java.lang.String caseInsensitive)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.Database.version
 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

DatabaseSearchCriteriaImpl

public DatabaseSearchCriteriaImpl()
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 DatabaseSearchCriteria
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 DescribableSearchCriteria
Specified by:
setId in interface DatabaseSearchCriteria
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 DescribableSearchCriteria
Specified by:
setId in interface DatabaseSearchCriteria
Specified by:
setId in interface ExtendableSearchCriteria
Specified by:
setId in interface IdentifiableSearchCriteria
Overrides:
setId in class IdentifiableSearchCriteriaImpl

getVersion

public java.lang.String getVersion()
Description copied from interface: DatabaseSearchCriteria
Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.Database.version

Specified by:
getVersion in interface DatabaseSearchCriteria
Returns:
the java.lang.String criterion value.
See Also:
gov.nih.nci.mageom.search.Description.DatabaseSearchCriteria#version

getURI

public java.lang.String getURI()
Description copied from interface: DatabaseSearchCriteria
Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.Database.URI

Specified by:
getURI in interface DatabaseSearchCriteria
Returns:
the java.lang.String criterion value.
See Also:
gov.nih.nci.mageom.search.Description.DatabaseSearchCriteria#URI

getContactsId

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

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

setVersion

public void setVersion(java.lang.String version)
Description copied from interface: DatabaseSearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.Database.version

Specified by:
setVersion in interface DatabaseSearchCriteria
See Also:
gov.nih.nci.mageom.search.Description.DatabaseSearchCriteria#version

setVersion

public void setVersion(java.lang.String version,
                       java.lang.String booleanOp,
                       java.lang.String caseInsensitive)
Description copied from interface: DatabaseSearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.Database.version

Specified by:
setVersion in interface DatabaseSearchCriteria
See Also:
gov.nih.nci.mageom.search.Description.DatabaseSearchCriteria#version

setURI

public void setURI(java.lang.String URI)
Description copied from interface: DatabaseSearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.Database.URI

Specified by:
setURI in interface DatabaseSearchCriteria
See Also:
gov.nih.nci.mageom.search.Description.DatabaseSearchCriteria#URI

setURI

public void setURI(java.lang.String URI,
                   java.lang.String booleanOp,
                   java.lang.String caseInsensitive)
Description copied from interface: DatabaseSearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.Database.URI

Specified by:
setURI in interface DatabaseSearchCriteria
See Also:
gov.nih.nci.mageom.search.Description.DatabaseSearchCriteria#URI

setContactsCriteria

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

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

setContactsCriteria

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

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

setContactsId

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

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

setContactsId

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

Specified by:
setContactsId in interface DatabaseSearchCriteria
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 IdentifiableSearchCriteriaImpl
Returns:
the String representation.