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

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

public class DatabaseEntrySearchCriteriaImpl
extends ExtendableSearchCriteriaImpl
implements DatabaseEntrySearchCriteria, java.io.Serializable

Represents a query for DatabaseEntry 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.DatabaseEntrySearchCriteria
ACCESSION_ATTRIBUTE, ACCESSIONVERSION_ATTRIBUTE, DATABASEID_ATTRIBUTE, ID_ATTRIBUTE, URI_ATTRIBUTE
 
Constructor Summary
DatabaseEntrySearchCriteriaImpl()
           
 
Method Summary
 java.lang.String getAccession()
          Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.DatabaseEntry.accession
 java.lang.String getAccessionVersion()
          Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.DatabaseEntry.accessionVersion
 java.lang.Long getDatabaseId()
          Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.Database.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.DatabaseEntry.URI
 void setAccession(java.lang.String accession)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.DatabaseEntry.accession
 void setAccession(java.lang.String accession, java.lang.String booleanOp, java.lang.String caseInsensitive)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.DatabaseEntry.accession
 void setAccessionVersion(java.lang.String accessionVersion)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.DatabaseEntry.accessionVersion
 void setAccessionVersion(java.lang.String accessionVersion, java.lang.String booleanOp, java.lang.String caseInsensitive)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.DatabaseEntry.accessionVersion
 void setDatabaseCriteria(DatabaseSearchCriteria criteria)
          Constrains the search for DatabaseEntry objects to those associated with Database objects by the association and selected by the given DatabaseSearchCriteria.
 void setDatabaseCriteria(DatabaseSearchCriteria criteria, java.lang.String booleanOp)
          Constrains the search for DatabaseEntry objects to those associated with Database objects by the association and selected by the given DatabaseSearchCriteria.
 void setDatabaseId(java.lang.Long databaseId)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.Database.id
 void setDatabaseId(java.lang.Long databaseId, java.lang.String booleanOp)
          Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.Database.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.DatabaseEntry.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.DatabaseEntry.URI
 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.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.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

DatabaseEntrySearchCriteriaImpl

public DatabaseEntrySearchCriteriaImpl()
Method Detail

getId

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

Specified by:
getId in interface DatabaseEntrySearchCriteria
Specified by:
getId in interface ExtendableSearchCriteria
Overrides:
getId in class ExtendableSearchCriteriaImpl
Returns:
the id criterion

setId

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

Specified by:
setId in interface DatabaseEntrySearchCriteria
Specified by:
setId in interface ExtendableSearchCriteria
Overrides:
setId in class ExtendableSearchCriteriaImpl
Parameters:
id -

setId

public void setId(java.lang.Long id,
                  java.lang.String booleanOp)
Specified by:
setId in interface DatabaseEntrySearchCriteria
Specified by:
setId in interface ExtendableSearchCriteria
Overrides:
setId in class ExtendableSearchCriteriaImpl

getAccession

public java.lang.String getAccession()
Description copied from interface: DatabaseEntrySearchCriteria
Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.DatabaseEntry.accession

Specified by:
getAccession in interface DatabaseEntrySearchCriteria
Returns:
the java.lang.String criterion value.
See Also:
gov.nih.nci.mageom.search.Description.DatabaseEntrySearchCriteria#accession

getAccessionVersion

public java.lang.String getAccessionVersion()
Description copied from interface: DatabaseEntrySearchCriteria
Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.DatabaseEntry.accessionVersion

Specified by:
getAccessionVersion in interface DatabaseEntrySearchCriteria
Returns:
the java.lang.String criterion value.
See Also:
gov.nih.nci.mageom.search.Description.DatabaseEntrySearchCriteria#accessionVersion

getURI

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

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

getDatabaseId

public java.lang.Long getDatabaseId()
Description copied from interface: DatabaseEntrySearchCriteria
Gets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.Database.id

Specified by:
getDatabaseId in interface DatabaseEntrySearchCriteria
Returns:
the java.lang.Long criterion value.
See Also:
gov.nih.nci.mageom.search.Description.DatabaseSearchCriteria#id

setAccession

public void setAccession(java.lang.String accession)
Description copied from interface: DatabaseEntrySearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.DatabaseEntry.accession

Specified by:
setAccession in interface DatabaseEntrySearchCriteria
See Also:
gov.nih.nci.mageom.search.Description.DatabaseEntrySearchCriteria#accession

setAccession

public void setAccession(java.lang.String accession,
                         java.lang.String booleanOp,
                         java.lang.String caseInsensitive)
Description copied from interface: DatabaseEntrySearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.DatabaseEntry.accession

Specified by:
setAccession in interface DatabaseEntrySearchCriteria
See Also:
gov.nih.nci.mageom.search.Description.DatabaseEntrySearchCriteria#accession

setAccessionVersion

public void setAccessionVersion(java.lang.String accessionVersion)
Description copied from interface: DatabaseEntrySearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.DatabaseEntry.accessionVersion

Specified by:
setAccessionVersion in interface DatabaseEntrySearchCriteria
See Also:
gov.nih.nci.mageom.search.Description.DatabaseEntrySearchCriteria#accessionVersion

setAccessionVersion

public void setAccessionVersion(java.lang.String accessionVersion,
                                java.lang.String booleanOp,
                                java.lang.String caseInsensitive)
Description copied from interface: DatabaseEntrySearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.DatabaseEntry.accessionVersion

Specified by:
setAccessionVersion in interface DatabaseEntrySearchCriteria
See Also:
gov.nih.nci.mageom.search.Description.DatabaseEntrySearchCriteria#accessionVersion

setURI

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

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

setURI

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

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

setDatabaseCriteria

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

Specified by:
setDatabaseCriteria in interface DatabaseEntrySearchCriteria
See Also:
DatabaseEntrySearchCriteria.setDatabaseCriteria(gov.nih.nci.mageom.search.Description.DatabaseSearchCriteria)

setDatabaseCriteria

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

Specified by:
setDatabaseCriteria in interface DatabaseEntrySearchCriteria
See Also:
DatabaseEntrySearchCriteria.setDatabaseCriteria(gov.nih.nci.mageom.search.Description.DatabaseSearchCriteria)

setDatabaseId

public void setDatabaseId(java.lang.Long databaseId)
Description copied from interface: DatabaseEntrySearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.Database.id

Specified by:
setDatabaseId in interface DatabaseEntrySearchCriteria
See Also:
gov.nih.nci.mageom.domain.Description.Database#id

setDatabaseId

public void setDatabaseId(java.lang.Long databaseId,
                          java.lang.String booleanOp)
Description copied from interface: DatabaseEntrySearchCriteria
Sets the value of the criterion corresponding to gov.nih.nci.mageom.domain.Description.Database.id

Specified by:
setDatabaseId in interface DatabaseEntrySearchCriteria
See Also:
gov.nih.nci.mageom.domain.Description.Database#id

toString

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

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