public class PropertyRefinementConfigurationContainer extends java.lang.Object implements RefinementConfigurationContainer
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
protected RepositoryItemDescriptor |
mItemDescriptor |
static ApplicationLoggingImpl |
mLogger
Logger
|
protected java.lang.String |
mPropertyName |
protected java.lang.String |
mRepositoryId |
Constructor and Description |
---|
PropertyRefinementConfigurationContainer(RepositoryItem pItem,
java.lang.String pPropertyName,
java.lang.String pRepositoryId,
int pSpecificity)
Create a new refinement configuration container whose item is referenced from the
property of the item of the given descriptor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object pOther)
Test to see of the other object has the same item descriptor, id, and property name
|
protected RepositoryItem |
getContainingItem()
Get the item that contains the refinement configuration property.
|
RepositoryItemDescriptor |
getItemDescriptor()
Gets the descriptor of the item that contains the refinement configuration.
|
java.lang.String |
getMappingValue()
Returns the repository id of the containing item.
|
java.lang.String |
getName() |
java.lang.String |
getPropertyName()
Gets the name of the property whose value is the refinement configuration.
|
RepositoryItem |
getRefinementConfigurationItem()
Gets the refinement configuration by retrieving the repository item with the
given item descriptor and id, and getting the value of the given property.
|
java.lang.String |
getRepositoryId()
Gets the repository id of the item that contains the refinement configuration.
|
RepositoryItem |
getSourceItem() |
int |
getSpecificity() |
int |
hashCode()
Gets the hashCode of this container.
|
void |
setName(java.lang.String pName) |
void |
setSourceItem(RepositoryItem pSourceItem) |
void |
setSpecificity(int pSpecificity) |
java.lang.String |
toString()
Return a string containing the values of this container.
|
public static java.lang.String CLASS_VERSION
public static ApplicationLoggingImpl mLogger
protected RepositoryItemDescriptor mItemDescriptor
protected java.lang.String mPropertyName
protected java.lang.String mRepositoryId
public PropertyRefinementConfigurationContainer(RepositoryItem pItem, java.lang.String pPropertyName, java.lang.String pRepositoryId, int pSpecificity)
public RepositoryItemDescriptor getItemDescriptor()
public java.lang.String getPropertyName()
public java.lang.String getRepositoryId()
public void setName(java.lang.String pName)
setName
in interface RefinementConfigurationContainer
public java.lang.String getName()
getName
in interface RefinementConfigurationContainer
public void setSpecificity(int pSpecificity)
public int getSpecificity()
public void setSourceItem(RepositoryItem pSourceItem)
public RepositoryItem getSourceItem()
public RepositoryItem getRefinementConfigurationItem() throws RepositoryException
getRefinementConfigurationItem
in interface RefinementConfigurationContainer
RepositoryException
public java.lang.String getMappingValue()
getMappingValue
in interface RefinementConfigurationContainer
protected RepositoryItem getContainingItem() throws RepositoryException
RepositoryException
public boolean equals(java.lang.Object pOther)
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