com.softwareag.centrasite.appl.framework.persistence.search.impl
Class NestedPredicate

java.lang.Object
  extended by com.softwareag.centrasite.appl.framework.persistence.search.impl.DefaultPredicate
      extended by com.softwareag.centrasite.appl.framework.persistence.search.impl.NestedPredicate
All Implemented Interfaces:
Predicate

public class NestedPredicate
extends DefaultPredicate

*


Constructor Summary
NestedPredicate(Property property, Operation operation, java.lang.Object value)
          Creates a NestedProperty instance
 
Method Summary
 java.lang.String getQueryString(SearchQuery searchQuery)
          The nested predicate holds information about the real property it represents and if present the next nested property.By calling getQueryString all nested predicates except the last one will provide a specific path for the query.
 
Methods inherited from class com.softwareag.centrasite.appl.framework.persistence.search.impl.DefaultPredicate
getOperation, getProperty, getValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NestedPredicate

public NestedPredicate(Property property,
                       Operation operation,
                       java.lang.Object value)
Creates a NestedProperty instance

Parameters:
property -
operation -
value -
Method Detail

getQueryString

public java.lang.String getQueryString(SearchQuery searchQuery)
                                throws CSAppFrameworkException
The nested predicate holds information about the real property it represents and if present the next nested property.By calling getQueryString all nested predicates except the last one will provide a specific path for the query. This path will be used to create a context object in Centra Site Business Query The last nested predicate will provide the where clause

Specified by:
getQueryString in interface Predicate
Overrides:
getQueryString in class DefaultPredicate
Returns:
String
Throws:
CSAppFrameworkException