Package fit

Examples of fit.Binding


      // next evaluate output params
      for (int column = 0; column < accessors.length; column++, cell = cell.more) {
        int direction = accessors[column].getDirection();
        if (direction == DbParameterAccessor.OUTPUT || direction == DbParameterAccessor.RETURN_VALUE
            || direction == DbParameterAccessor.SEQUENCE) {
          Binding binding = columnBindings[column];
          if (binding instanceof SymbolAccessQueryBinding) {
            String keyName = accessors[column].getName();
            ((SymbolAccessQueryBinding) binding).doCell(this, cell, keyName, rowNum);
          } else {
            columnBindings[column].doCell(this, cell);
View Full Code Here


     * bind db accessors to columns based on the text in the header
     */
    private Map<DbParameterAccessor, Binding> getColumnBindings() throws Exception {
        Map<DbParameterAccessor, Binding> bindings = new HashMap<DbParameterAccessor, Binding>();
        for (DbParameterAccessor accessor : accessors.toArray()) {
            Binding binding = (accessor.hasDirection(INPUT) ? new SymbolAccessSetBinding() : new SymbolAccessQueryBinding());
            binding.adapter = new DbParameterAccessorTypeAdapter(accessor, this);
            bindings.put(accessor, binding);
        }
        return bindings;
    }
View Full Code Here

TOP

Related Classes of fit.Binding

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.