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 RefinementConfigurationContainer
public void setName(java.lang.String pName)
setName
in interface RefinementConfigurationContainer
public java.lang.String getName()
getName
in interface RefinementConfigurationContainer
public RepositoryItem getRefinementConfigurationItem() throws RepositoryException
getRefinementConfigurationItem
in interface RefinementConfigurationContainer
RepositoryException
public boolean equals(java.lang.Object pObject)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object