@Embeddable @Entity @Indexed public class ResourceIndexedSearchParamString extends BaseResourceIndexedSearchParam
Modifier and Type | Field and Description |
---|---|
static int |
HASH_PREFIX_LENGTH |
static int |
MAX_LENGTH |
Constructor and Description |
---|
ResourceIndexedSearchParamString() |
ResourceIndexedSearchParamString(DaoConfig theDaoConfig,
String theName,
String theValueNormalized,
String theValueExact) |
Modifier and Type | Method and Description |
---|---|
void |
calculateHashes() |
static long |
calculateHashExact(String theResourceType,
String theParamName,
String theValueExact) |
static long |
calculateHashNormalized(DaoConfig theDaoConfig,
String theResourceType,
String theParamName,
String theValueNormalized) |
protected void |
clearHashes()
Subclasses may override
|
boolean |
equals(Object theObj) |
Long |
getHashExact() |
Long |
getHashNormalizedPrefix() |
protected Long |
getId() |
String |
getValueExact() |
String |
getValueNormalized() |
int |
hashCode() |
BaseResourceIndexedSearchParam |
setDaoConfig(DaoConfig theDaoConfig) |
void |
setHashExact(Long theHashExact) |
void |
setHashIdentity(Long theHashIdentity) |
void |
setHashNormalizedPrefix(Long theHashNormalizedPrefix) |
void |
setValueExact(String theValueExact) |
void |
setValueNormalized(String theValueNormalized) |
IQueryParameterType |
toQueryParameterType() |
String |
toString() |
calculateHashIdentity, getParamName, getResource, getResourcePid, getResourceType, getUpdated, isMissing, setMissing, setParamName, setResource, setUpdated
public static final int MAX_LENGTH
public static final int HASH_PREFIX_LENGTH
public void setHashIdentity(Long theHashIdentity)
public void calculateHashes()
calculateHashes
in class BaseResourceIndexedSearchParam
protected void clearHashes()
BaseResourceIndexedSearchParam
clearHashes
in class BaseResourceIndexedSearchParam
public Long getHashExact()
public void setHashExact(Long theHashExact)
public Long getHashNormalizedPrefix()
public void setHashNormalizedPrefix(Long theHashNormalizedPrefix)
protected Long getId()
getId
in class BaseResourceIndexedSearchParam
public String getValueExact()
public void setValueExact(String theValueExact)
public String getValueNormalized()
public void setValueNormalized(String theValueNormalized)
public BaseResourceIndexedSearchParam setDaoConfig(DaoConfig theDaoConfig)
public IQueryParameterType toQueryParameterType()
toQueryParameterType
in class BaseResourceIndexedSearchParam
public static long calculateHashExact(String theResourceType, String theParamName, String theValueExact)
Copyright © 2014–2018 University Health Network. All rights reserved.