gov.nih.nci.caarray.external.v1_0.query
Class ExampleSearchCriteria<T extends AbstractCaArrayEntity>
java.lang.Object
gov.nih.nci.caarray.external.v1_0.query.ExampleSearchCriteria<T>
- Type Parameters:
T
- class of the example entity
- All Implemented Interfaces:
- java.io.Serializable
public class ExampleSearchCriteria<T extends AbstractCaArrayEntity>
- extends java.lang.Object
- implements java.io.Serializable
Criteria for searching by example.
- Author:
- dkokotov
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExampleSearchCriteria
public ExampleSearchCriteria()
- Empty constructor.
ExampleSearchCriteria
public ExampleSearchCriteria(T example)
- Parameters:
example
- the example
ExampleSearchCriteria
public ExampleSearchCriteria(T example,
MatchMode matchMode)
- Parameters:
example
- the examplematchMode
- the match mode
ExampleSearchCriteria
public ExampleSearchCriteria(T example,
MatchMode matchMode,
boolean excludeNulls)
- Parameters:
example
- the examplematchMode
- the match modeexcludeNulls
- whether to exclude null properties from being used in the search
ExampleSearchCriteria
public ExampleSearchCriteria(T example,
MatchMode matchMode,
boolean excludeNulls,
boolean excludeZeroes)
- Parameters:
example
- the examplematchMode
- the match modeexcludeNulls
- whether to exclude null properties from being used in the searchexcludeZeroes
- whether to exclude zero-valued properties from being used in the search
getExample
public T getExample()
- Returns:
- the example
setExample
public void setExample(T example)
- Parameters:
example
- the example to set
getMatchMode
public MatchMode getMatchMode()
- Returns:
- the matchMode
setMatchMode
public void setMatchMode(MatchMode matchMode)
- Parameters:
matchMode
- the matchMode to set
isExcludeNulls
public boolean isExcludeNulls()
- Returns:
- the excludeNulls
setExcludeNulls
public void setExcludeNulls(boolean excludeNulls)
- Parameters:
excludeNulls
- the excludeNulls to set
isExcludeZeroes
public boolean isExcludeZeroes()
- Returns:
- the excludeZeroes
setExcludeZeroes
public void setExcludeZeroes(boolean excludeZeroes)
- Parameters:
excludeZeroes
- the excludeZeroes to set