|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PropertyPredicate
represents a single meta-data constraint or a preference.
An ordered list of property predicates together with additional settings forms a QueryTemplate
.
A QueryTemplate
can instantiate a particular multi-variant resource Query
.
QueryTemplate
,
Query
Method Summary | |
java.lang.Object |
getArguments()
Additional arguments (besides the Property and the property value)
required to evaluate the predicate. |
PropertyOperator |
getOperator()
A PropertyOperator this predicate applies to its associated Property |
Property |
getProperty()
A Property this predicate applies to. |
java.lang.Object |
getPropertyValue()
Returns the actual Property value.
|
void |
setPropertyValue(java.lang.Object value)
Sets the actual Property value.
|
Method Detail |
public Property getProperty()
Property
this predicate applies to.
Property
this predicate applies topublic PropertyOperator getOperator()
PropertyOperator
this predicate applies to its associated Property
PropertyOperator
used by this predicatePropertyOperators
public java.lang.Object getArguments()
Property
and the property value)
required to evaluate the predicate.
null
PropertyOperators
public java.lang.Object getPropertyValue()
Property
value.
The value is determined at the time of Query
instantiation which means
that if this method is invoked on a PropertyPredicate
while being a part
of a QueryTemplate
, the method most likely returns null
.
Property
value at the time of Query
instantiation.public void setPropertyValue(java.lang.Object value)
Property
value.
This method is invoked during Query
creation process when the actual
property values are being substituted from the DeliveryContext
.
value
- the actual Property
valueQueryTemplate.newQuery(String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |