public class QueryRefinementConfigurationContainer extends java.lang.Object implements RefinementConfigurationContainer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
| Constructor and Description |
|---|
QueryRefinementConfigurationContainer(RepositoryItemDescriptor pItemDescriptor,
Query pQuery,
java.lang.String pMappingValue,
java.lang.String pName)
Create a new refinement configuration container whose item lives in the given
item descriptor, and is retrieved by the given query.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object pObject)
Test to see if the item descriptor and query matches.
|
RepositoryItemDescriptor |
getItemDescriptor()
Gets the item descriptor of the repository item.
|
java.lang.String |
getMappingValue()
Get the mapping value for the refinement configuration.
|
java.lang.String |
getName() |
Query |
getQuery()
Get the query used to find the repository item.
|
RepositoryItem |
getRefinementConfigurationItem()
Issue the query against the repository item, and return the first item from the
result set.
|
int |
hashCode()
Return the hashCode of this container.
|
void |
setName(java.lang.String pName) |
java.lang.String |
toString()
Return a string representation of the item descriptor and query.
|
public QueryRefinementConfigurationContainer(RepositoryItemDescriptor pItemDescriptor, Query pQuery, java.lang.String pMappingValue, java.lang.String pName)
public RepositoryItemDescriptor getItemDescriptor()
public Query getQuery()
public java.lang.String getMappingValue()
getMappingValue in interface RefinementConfigurationContainerpublic void setName(java.lang.String pName)
setName in interface RefinementConfigurationContainerpublic java.lang.String getName()
getName in interface RefinementConfigurationContainerpublic RepositoryItem getRefinementConfigurationItem() throws RepositoryException
getRefinementConfigurationItem in interface RefinementConfigurationContainerRepositoryExceptionpublic boolean equals(java.lang.Object pObject)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object