最全三大框架整合(使用映射)——Dept.java
2017-05-31 19:01
429 查看
package org.entity; import java.util.HashSet; import java.util.Set; /** * Dept entity. @author MyEclipse Persistence Tools */ public class Dept implements java.io.Serializable { // Fields private Integer deptno; private String dname; private String loc; private Set<Emp> emps = new HashSet<Emp>(0); // Constructors /** default constructor */ public Dept() { } /** minimal constructor */ public Dept(Integer deptno) { this.deptno = deptno; } /** full constructor */ public Dept(Integer deptno, String dname, String loc, Set emps) { this.deptno = deptno; this.dname = dname; this.loc = loc; this.emps = emps; } // Property accessors public Integer getDeptno() { return this.deptno; } public void setDeptno(Integer deptno) { this.deptno = deptno; } public String getDname() { return this.dname; } public void setDname(String dname) { this.dname = dname; } public String getLoc() { return this.loc; } public void setLoc(String loc) { this.loc = loc; } public Set<Emp> getEmps() { return emps; } public void setEmps(Set<Emp> emps) { this.emps = emps; } }
相关文章推荐
- 最全三大框架整合(使用映射)——DeptDaoImpl.java
- 最全三大框架整合(使用映射)——DeptServiceImpl.java
- 最全三大框架整合(使用映射)——DeptAction.java
- 最全三大框架整合(使用映射)——Dept.hbm.xml
- 最全三大框架整合(使用映射)——IDeptService.java
- 最全三大框架整合(使用映射)——Emp.java
- 最全三大框架整合(使用映射)——IDeptDao.java
- 最全三大框架整合(使用映射)——Emp.hbm.xml
- 最全三大框架整合(使用映射)——struts.xml和web.xml配置
- 最全三大框架整合(使用映射)——applicationContext.xml里面的配置
- 最全三大框架整合(使用映射)——index.jsp
- 最全三大框架整合(使用映射)——数据库资源文件jdbc.properties
- Java的Hibernate框架中复合主键映射的创建和使用教程
- Spring框架使用内幕之事务管理以及三大框架整合
- 三大框架整合出现错误processing request: null java.lang.reflect.InvocationTargetException
- 使用MyEclipse整合ssh(Struts、Spring、Hibernate)三大框架(环境搭载+实例源码下载)
- java 的 struts2 Spring Hibernate 三大框架的整合
- 框架整合——Java中json的使用
- 使用maven,实现ssm(spring+springmvc+mybatis)三大框架的整合DEMO
- 使用MyEclipse整合ssh(Struts、Spring、Hibernate)三大框架(环境搭载+实例源码下载)