Class MultiQueryMetaData

    • Constructor Detail

      • MultiQueryMetaData

        public MultiQueryMetaData​(java.lang.Class<?> scope,
                                  java.lang.String logicalName,
                                  java.lang.String procedureName,
                                  boolean isTemporary)
        Create this meta data given a scope of definition, a logical identifier, a procedure name and whether its usage is temporary.
        Parameters:
        scope - defining scope
        logicalName - name as an identifier
        procedureName - name of the database procedure
    • Method Detail

      • getProcedureName

        public java.lang.String getProcedureName()
      • getComponents

        public java.util.List<QueryMetaData> getComponents()
      • isEphimeral

        public boolean isEphimeral()
        Affirms if this metadata is ephimeral. Ephimenral metadata is removed from the repository after usage.
        Returns:
      • setResultType

        public void setResultType​(java.lang.Class cls)
        Description copied from class: QueryMetaData
        The query result class, or null if none.
        Overrides:
        setResultType in class QueryMetaData
      • addComponent

        public void addComponent​(java.lang.Class<?> resultClass)
      • addComponent

        public void addComponent​(java.lang.String mappingName)
      • getComponent

        public QueryMetaData getComponent​(int i)
        Gets the component metadata at the given part index.
        Parameters:
        i - a valid integer index
        Returns:
      • getComponentCount

        public int getComponentCount()
        Gets the number of component metadata contained in this metada.
      • getParameterCount

        public int getParameterCount()