com.softwareag.centrasite.appl.framework.persistence.search.impl
Class DefaultPredicate
java.lang.Object
com.softwareag.centrasite.appl.framework.persistence.search.impl.DefaultPredicate
- All Implemented Interfaces:
- Predicate
- Direct Known Subclasses:
- IntToStringPredicate, KeyPredicate, NestedPredicate, RegistryObjectPropertySlotPredicate, SlotValuePredicate, SupportTypePredicate
public class DefaultPredicate
- extends java.lang.Object
- implements Predicate
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPredicate
public DefaultPredicate(Property property,
Operation operation,
java.lang.Object value)
- Creates a DefaultPredicate instance
- Parameters:
property
- value
- operation
-
getOperation
public Operation getOperation()
- Returns:
- the operation
getValue
public java.lang.Object getValue()
- Returns:
- the value of the property the user is comparing
getQueryString
public java.lang.String getQueryString(SearchQuery searchQuery)
throws CSAppFrameworkException
- Description copied from interface:
Predicate
- Generates a specific query string depending on the predicate data
- Specified by:
getQueryString
in interface Predicate
- Returns:
- String
- Throws:
CSAppFrameworkException
getProperty
public Property getProperty()