Class QueryDeclarations


  • public class QueryDeclarations
    extends Object
    INTERNAL: Class that is able to read named query definitions from an XML representation.
    • Constructor Detail

      • QueryDeclarations

        public QueryDeclarations​(InputStream istream)
    • Method Detail

      • getQueryDescriptor

        public QueryDescriptor getQueryDescriptor​(String name)
        INTERNAL: Gets the query descriptor by name.
      • addQuery

        public void addQuery​(QueryDescriptor qdesc)
        INTERNAL: Adds the query descriptor.
      • getIndicator

        public Map<String,​Class<?>> getIndicator​(String name)
        INTERNAL: Looks up the class indicator map by name.
      • addIndicator

        public void addIndicator​(String name,
                                 Map<String,​Class<?>> indicator)
        INTERNAL: Adds the class indicator map by name. The indicator map is keyed by strings and has Class object values.
      • loadQueries

        protected void loadQueries​(InputSource isource)
      • loadQueries

        public void loadQueries​(InputStream stream)