Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5fbf02c
commit e91c616
Showing
49 changed files
with
675 additions
and
545 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
package org.jfaster.mango.binding; | ||
|
||
import org.jfaster.mango.type.TypeHandler; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* @author ash | ||
*/ | ||
public class BoundSql { | ||
|
||
private String sql; | ||
private List<Object> args; | ||
private List<TypeHandler<?>> typeHandlers; | ||
|
||
public BoundSql(String sql, List<Object> args, List<TypeHandler<?>> typeHandlers) { | ||
this.sql = sql; | ||
this.args = args; | ||
this.typeHandlers = typeHandlers; | ||
} | ||
|
||
public String getSql() { | ||
return sql; | ||
} | ||
|
||
public void setSql(String sql) { | ||
this.sql = sql; | ||
} | ||
|
||
public List<Object> getArgs() { | ||
return args; | ||
} | ||
|
||
public void setArgs(List<Object> args) { | ||
this.args = args; | ||
} | ||
|
||
public List<TypeHandler<?>> getTypeHandlers() { | ||
return typeHandlers; | ||
} | ||
|
||
public void setTypeHandlers(List<TypeHandler<?>> typeHandlers) { | ||
this.typeHandlers = typeHandlers; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.