info.magnolia.jcr.predicate
Class StringPropertyValueFilterPredicate
java.lang.Object
info.magnolia.jcr.predicate.AbstractPredicate<javax.jcr.Property>
info.magnolia.jcr.predicate.StringPropertyValueFilterPredicate
- All Implemented Interfaces:
- org.apache.jackrabbit.commons.predicate.Predicate
public class StringPropertyValueFilterPredicate
- extends AbstractPredicate<javax.jcr.Property>
Simple predicate implementation that filter property based on the desired value.
Return only properties that have a value equals to the value passed as constructor.
If value is set to null, return only properties that have a null value.
If the property is not of the type return false.
Fields inherited from interface org.apache.jackrabbit.commons.predicate.Predicate |
FALSE, TRUE |
Method Summary |
boolean |
evaluateTyped(javax.jcr.Property property)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringPropertyValueFilterPredicate
public StringPropertyValueFilterPredicate(String value)
evaluateTyped
public boolean evaluateTyped(javax.jcr.Property property)
- Specified by:
evaluateTyped
in class AbstractPredicate<javax.jcr.Property>
Copyright © 2003-2013 Magnolia International Ltd.. All Rights Reserved.