org.rhq.enterprise.server.search.translation.jpql
Class SearchFragment
java.lang.Object
org.rhq.enterprise.server.search.translation.jpql.SearchFragment
public class SearchFragment
- extends Object
A construct used by SearchTranslators which helps to classify the type of condition that should be generated
as part of the larger JPQL statement generated during translation. As each SearchTranslator is passed the
various bits that were parsed out of the user's search expression, it has the responsibility to return a valid JPQL
fragment
- Author:
- Joseph Marques
- See Also:
SearchFragment.Type
|
Nested Class Summary |
static class |
SearchFragment.Type
This indicates the representative form of the JPQL fragment. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchFragment
public SearchFragment(SearchFragment.Type type,
String jpqlFragment)
getType
public SearchFragment.Type getType()
getJPQLFragment
public String getJPQLFragment()
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.