public class ContextFilteringRule
extends java.lang.Object
A structure representing a single context filtering rule in a ContextFiltetringRules object. Contains the value of the context property to look for.
ContextFilteringRules
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Constructor and Description |
---|
ContextFilteringRule(java.lang.String pFilterPropertyValue)
Create a filtering rule with the given filter value.
|
ContextFilteringRule(java.lang.String pFilterPropertyValue,
boolean pExclusion)
Constructs a new ContextFilteringRule with the specified property to
filter by.
|
Modifier and Type | Method and Description |
---|---|
ContextFilteringRule |
copy()
Return a deep copy of this object.
|
boolean |
equals(java.lang.Object obj)
Returns true if the given ContextFilteringRule has the same properties
as this one.
|
java.lang.String |
getFilterPropertyValue() |
QueryExpression |
getPropertyExpression()
Get property
propertyExpression |
int |
hashCode()
Get an integer hash code for this object
|
boolean |
isExclusion() |
void |
setFilterPropertyValue(java.lang.String pFilterPropertyValue) |
void |
setPropertyExpression(QueryExpression pPropertyExpression)
Set property
propertyExpression |
java.lang.String |
toString()
Returns the string representation of the object.
|
java.lang.String |
toString(java.lang.String pIndent)
Returns the string representation of the object.
|
public ContextFilteringRule(java.lang.String pFilterPropertyValue)
pFilterPropertyValue
- public ContextFilteringRule(java.lang.String pFilterPropertyValue, boolean pExclusion)
property
- to filter bypublic java.lang.String getFilterPropertyValue()
public void setFilterPropertyValue(java.lang.String pFilterPropertyValue)
public void setPropertyExpression(QueryExpression pPropertyExpression)
propertyExpression
pPropertyExpression
- new value to setpublic QueryExpression getPropertyExpression()
propertyExpression
propertyExpression
public boolean isExclusion()
public ContextFilteringRule copy()
public java.lang.String toString(java.lang.String pIndent)
pIndent
- string to place in front of string representation
of this objectpublic boolean equals(java.lang.Object obj)
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