Package net.ontopia.persistence.proxy
Class QueryDeclarations
java.lang.Object
net.ontopia.persistence.proxy.QueryDeclarations
INTERNAL: Class that is able to read named query definitions from an XML representation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddIndicator(String name, Map<String, Class<?>> indicator) INTERNAL: Adds the class indicator map by name.voidaddQuery(QueryDescriptor qdesc) INTERNAL: Adds the query descriptor.getIndicator(String name) INTERNAL: Looks up the class indicator map by name.getQueryDescriptor(String name) INTERNAL: Gets the query descriptor by name.voidloadQueries(InputStream stream) protected voidloadQueries(InputSource isource)
-
Field Details
-
queries
-
indicators
-
-
Constructor Details
-
QueryDeclarations
-
-
Method Details
-
getQueryDescriptor
INTERNAL: Gets the query descriptor by name. -
addQuery
INTERNAL: Adds the query descriptor. -
getIndicator
INTERNAL: Looks up the class indicator map by name. -
addIndicator
INTERNAL: Adds the class indicator map by name. The indicator map is keyed by strings and has Class object values. -
loadQueries
-
loadQueries
-