public class SearchFragment extends Object
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
fragmentSearchFragment.Type| Modifier and Type | Class and Description |
|---|---|
static class |
SearchFragment.Type
This indicates the representative form of the JPQL fragment.
|
| Constructor and Description |
|---|
SearchFragment(SearchFragment.Type type,
String jpqlFragment) |
public SearchFragment(SearchFragment.Type type, String jpqlFragment)
public SearchFragment.Type getType()
public String getJPQLFragment()
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.