package org.qiuqiu.vo;
import java.util.ArrayList;
import java.util.List;
public class PersonExample {
private int start;
private int limit;
public int getStart() {
return start;
}
public void setStart(int start) {
this.start = start;
}
public int getLimit() {
return limit;
}
public void setLimit(int limit) {
this.limit = limit;
}
/**
* This field was generated by MyBatis Generator. This field corresponds to
* the database table person
*
* @mbggenerated Thu Sep 01 10:08:21 CST 2011
*/
protected String orderByClause;
/**
* This field was generated by MyBatis Generator. This field corresponds to
* the database table person
*
* @mbggenerated Thu Sep 01 10:08:21 CST 2011
*/
protected boolean distinct;
/**
* This field was generated by MyBatis Generator. This field corresponds to
* the database table person
*
* @mbggenerated Thu Sep 01 10:08:21 CST 2011
*/
protected List<Criteria> oredCriteria;
/**
* This method was generated by MyBatis Generator. This method corresponds
* to the database table person
*
* @mbggenerated Thu Sep 01 10:08:21 CST 2011
*/
public PersonExample() {
oredCriteria = new ArrayList<Criteria>();
}
/**
* This method was generated by MyBatis Generator. This method corresponds
* to the database table person
*
* @mbggenerated Thu Sep 01 10:08:21 CST 2011
*/
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
/**
* This method was generated by MyBatis Generator. This method corresponds
* to the database table person
*
* @mbggenerated Thu Sep 01 10:08:21 CST 2011
*/
public String getOrderByClause() {
return orderByClause;
}
/**
* This method was generated by MyBatis Generator. This method corresponds
* to the database table person
*
* @mbggenerated Thu Sep 01 10:08:21 CST 2011
*/
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
/**
* This method was generated by MyBatis Generator. This method corresponds
* to the database table person
*
* @mbggenerated Thu Sep 01 10:08:21 CST 2011
*/
public boolean isDistinct() {
return distinct;
}
/**
* This method was generated by MyBatis Generator. This method corresponds
* to the database table person
*
* @mbggenerated Thu Sep 01 10:08:21 CST 2011
*/
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
/**
* This method was generated by MyBatis Generator. This method corresponds
* to the database table person
*
* @mbggenerated Thu Sep 01 10:08:21 CST 2011
*/
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
/**
* This method was generated by MyBatis Generator. This method corresponds
* to the database table person
*
* @mbggenerated Thu Sep 01 10:08:21 CST 2011
*/
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
/**
* This method was generated by MyBatis Generator. This method corresponds
* to the database table person
*
* @mbggenerated Thu Sep 01 10:08:21 CST 2011
*/
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
/**
* This method was generated by MyBatis Generator. This method corresponds
* to the database table person
*
* @mbggenerated Thu Sep 01 10:08:21 CST 2011
*/
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
/**
* This method was generated by MyBatis Generator. This method corresponds
* to the database table person
*
* @mbggenerated Thu Sep 01 10:08:21 CST 2011
*/
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
/**
* This class was generated by MyBatis Generator. This class corresponds to
* the database table person
*
* @mbggenerated Thu Sep 01 10:08:21 CST 2011
*/
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value,
String property) {
if (value == null) {
throw new RuntimeException("Value for " + property
+ " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1,
Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property
+ " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Integer value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Integer> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Integer> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Integer value1, Integer value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Integer value1, Integer value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andNameIsNull() {
addCriterion("name is null");
return (Criteria) this;
}
public Criteria andNameIsNotNull() {
addCriterion("name is not null");
return (Criteria) this;
}
public Criteria andNameEqualTo(String value) {
addCriterion("name =", value, "name");
return (Criteria) this;
}
public Criteria andNameNotEqualTo(String value) {
addCriterion("name <>", value, "name");
return (Criteria) this;
}
public Criteria andNameGreaterThan(String value) {
addCriterion("name >", value, "name");
return (Criteria) this;
}
public Criteria andNameGreaterThanOrEqualTo(St
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
Struts2_Spring3_MyBatis.rar (69个子文件)
Struts_Spring_MyBatis
.project 2KB
.mystrutsdata 240B
.springBeans 472B
.mymetadata 336B
src
org
qiuqiu
service
PersonService.java 163B
impl
PersonServiceImpl.java 1KB
action
LoginAction.java 1KB
dao
PersonMapper.xml 10KB
PersonMapper.java 3KB
vo
Person.java 4KB
PersonExample.java 17KB
WebRoot
WEB-INF
spring-form.tld 69KB
spring.tld 17KB
classes
generatorConfig.xml 1KB
struts.xml 493B
Configuration.xml 689B
applicationContext.xml 2KB
log4j.properties 208B
org
qiuqiu
service
PersonService.class 205B
impl
PersonServiceImpl.class 2KB
action
LoginAction.class 2KB
dao
PersonMapper.xml 10KB
PersonMapper.class 923B
vo
PersonExample$Criteria.class 446B
PersonExample.class 2KB
PersonExample$Criterion.class 2KB
PersonExample$GeneratedCriteria.class 11KB
Person.class 1KB
lib
log4j.jar 350KB
org.springframework.jdbc-3.1.0.M2.jar 389KB
struts2-core-2.2.3.jar 756KB
org.springframework.context-3.1.0.M2.jar 791KB
org.springframework.asm-3.1.0.M2.jar 52KB
org.springframework.web-3.1.0.M2.jar 480KB
c3p0-0.9.1.jar 594KB
org.springframework.expression-3.1.0.M2.jar 172KB
javassist-3.11.0.GA.jar 600KB
commons-io-2.0.1.jar 156KB
javassist.jar 460KB
mysql-connector-java-5.0.8-bin.jar 528KB
org.springframework.beans-3.1.0.M2.jar 571KB
commons-fileupload-1.2.2.jar 58KB
org.springframework.transaction-3.1.0.M2.jar 241KB
struts2-spring-plugin-2.2.3.jar 21KB
mybatis-3.0.5.jar 620KB
freemarker-2.3.16.jar 860KB
org.springframework.core-3.1.0.M2.jar 420KB
xwork-core-2.2.3.jar 602KB
org.springframework.aop-3.1.0.M2.jar 322KB
commons-lang-2.5.jar 273KB
mybatis-generator-core-1.3.1.jar 470KB
commons-logging-1.0.4.jar 37KB
mybatis-spring-1.0.1.jar 34KB
ognl-3.0.1.jar 224KB
web.xml 1KB
error.jsp 820B
index.jsp 1002B
success.jsp 820B
META-INF
MANIFEST.MF 36B
.myeclipse
.settings
org.eclipse.jdt.core.prefs 330B
org.eclipse.core.resources.prefs 88B
org.springframework.ide.eclipse.core.prefs 217B
configuration
generatorConfig.xml 1KB
struts.xml 493B
Configuration.xml 689B
applicationContext.xml 2KB
log4j.properties 208B
.classpath 2KB
person.sql 1KB
共 69 条
- 1
匠心零度
- 粉丝: 9459
- 资源: 305
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
- 5
- 6
前往页