public class KeyedRefinementConfigurationContainer extends PropertyRefinementConfigurationContainer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
static java.lang.String |
MAPPING_VALUE_DELIMITER |
protected java.lang.String |
mKey
Gets the key of the mapped item to find in the map.
|
protected java.lang.String |
mMapPropertyName |
mItemDescriptor, mLogger, mPropertyName, mRepositoryId| Constructor and Description |
|---|
KeyedRefinementConfigurationContainer(RepositoryItem pItem,
java.lang.String pPropertyName,
java.lang.String pRepositoryId,
java.lang.String pKey,
java.lang.String pMapPropertyName,
int pSpecificity)
Create a new refinement configuration container whose item is a property value of
an item of a map, which itself is a property value of another item.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object pOther)
Tests the equailty of another container
|
java.lang.String |
getKey() |
java.lang.String |
getMappingValue()
Returns a value in the form "itemId:key"
|
java.lang.String |
getMapPropertyName()
Gets the property name of the refinement configuration item within the mapped item
|
RepositoryItem |
getRefinementConfigurationItem()
Gets the refinement configuration item by first finding a map property of the
given item, then looking up a subitem by key, and returning the refinement configuration
property of that subitem.
|
int |
hashCode()
Gets the hashCode of this container.
|
java.lang.String |
toString()
Returns a string representation of this item.
|
getContainingItem, getItemDescriptor, getName, getPropertyName, getRepositoryId, getSourceItem, getSpecificity, setName, setSourceItem, setSpecificitypublic static java.lang.String CLASS_VERSION
public static java.lang.String MAPPING_VALUE_DELIMITER
protected java.lang.String mMapPropertyName
protected java.lang.String mKey
public KeyedRefinementConfigurationContainer(RepositoryItem pItem, java.lang.String pPropertyName, java.lang.String pRepositoryId, java.lang.String pKey, java.lang.String pMapPropertyName, int pSpecificity)
public java.lang.String getMapPropertyName()
public java.lang.String getKey()
public RepositoryItem getRefinementConfigurationItem() throws RepositoryException
getRefinementConfigurationItem in interface RefinementConfigurationContainergetRefinementConfigurationItem in class PropertyRefinementConfigurationContainerRepositoryExceptionpublic java.lang.String getMappingValue()
getMappingValue in interface RefinementConfigurationContainergetMappingValue in class PropertyRefinementConfigurationContainerpublic boolean equals(java.lang.Object pOther)
equals in class PropertyRefinementConfigurationContainerpublic int hashCode()
hashCode in class PropertyRefinementConfigurationContainerpublic java.lang.String toString()
toString in class PropertyRefinementConfigurationContainer