1 16 package com.ibatis.sqlmap.engine.mapping.parameter; 17 18 19 import com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate; 20 import com.ibatis.sqlmap.engine.scope.RequestScope; 21 22 public class NoParameterMap extends BasicParameterMap { 23 24 private static final ParameterMapping[] NO_PARAMETERS = new ParameterMapping[0]; 25 private static final Object [] NO_DATA = new Object [0]; 26 27 public NoParameterMap(SqlMapExecutorDelegate delegate) { 28 super(delegate); 29 } 30 31 public ParameterMapping[] getParameterMappings() { 32 return NO_PARAMETERS; 33 } 34 35 public Object [] getParameterObjectValues(RequestScope request, Object parameterObject) { 36 return NO_DATA; 37 } 38 39 40 } 41 | Popular Tags |