public class PropertiesBasedNamedQueries extends Object implements NamedQueries
NamedQueries implementation backed by a Properties instance.| Modifier and Type | Field and Description |
|---|---|
static NamedQueries |
EMPTY |
| Constructor and Description |
|---|
PropertiesBasedNamedQueries(Properties properties)
Creates a new
PropertiesBasedNamedQueries for the given Properties instance. |
public static final NamedQueries EMPTY
public PropertiesBasedNamedQueries(Properties properties)
PropertiesBasedNamedQueries for the given Properties instance.properties - public boolean hasQuery(String queryName)
NamedQueriesNamedQueries.getQuery(String) to return a non-null query for the very same name.hasQuery in interface NamedQueriespublic String getQuery(String queryName)
NamedQueriesgetQuery in interface NamedQueriesCopyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.