sf logo

sf.qof.mapping
Class Mapper

java.lang.Object
  extended by sf.qof.mapping.Mapper

public class Mapper
extends Object


Constructor Summary
Mapper(MethodInfo methodInfo, QueryType type, String sql, List<ParameterMapping> parameters, List<ResultMapping> results)
           
 
Method Summary
 void acceptParameterMappers(MappingVisitor visitor)
           
 void acceptResultMappers(MappingVisitor visitor)
           
 Constructor<?> getConstructor()
           
 int getMaxParameterSqlIndex()
           
 MethodInfo getMethod()
           
 int getNumberOfConstructorParameters()
           
 List<ParameterMapping> getParameters()
           
 QueryType getQueryType()
           
 List<ResultMapping> getResults()
           
 String getSql()
           
 void printMappingInfo(OutputStream out)
           
 boolean usesArray()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mapper

public Mapper(MethodInfo methodInfo,
              QueryType type,
              String sql,
              List<ParameterMapping> parameters,
              List<ResultMapping> results)
Method Detail

getMethod

public MethodInfo getMethod()

getSql

public String getSql()

getQueryType

public QueryType getQueryType()

getParameters

public List<ParameterMapping> getParameters()

getResults

public List<ResultMapping> getResults()

getNumberOfConstructorParameters

public int getNumberOfConstructorParameters()

getConstructor

public Constructor<?> getConstructor()

acceptParameterMappers

public void acceptParameterMappers(MappingVisitor visitor)

acceptResultMappers

public void acceptResultMappers(MappingVisitor visitor)

printMappingInfo

public void printMappingInfo(OutputStream out)

getMaxParameterSqlIndex

public int getMaxParameterSqlIndex()

usesArray

public boolean usesArray()

sf logo

Copyright © 2007 brunella ltd. All Rights Reserved.