⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 choice.java

📁 j2ee项目应用 使用struts hibernate构建的轻量级j2ee项目
💻 JAVA
字号:
package com.emis.model.vote.hibernate;

import java.util.HashSet;
import java.util.Set;


/**
 * Choice generated by MyEclipse - Hibernate Tools
 */

public class Choice  implements java.io.Serializable {


    // Fields    

     private Integer id;
     private Theme theme;
     private String name;
     private Set results = new HashSet(0);


    // Constructors

    /** default constructor */
    public Choice() {
    }

	/** minimal constructor */
    public Choice(Integer id, Theme theme, String name) {
        this.id = id;
        this.theme = theme;
        this.name = name;
    }
    
    /** full constructor */
    public Choice(Integer id, Theme theme, String name, Set results) {
        this.id = id;
        this.theme = theme;
        this.name = name;
        this.results = results;
    }

   
    // Property accessors

    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public Theme getTheme() {
        return this.theme;
    }
    
    public void setTheme(Theme theme) {
        this.theme = theme;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public Set getResults() {
        return this.results;
    }
    
    public void setResults(Set results) {
        this.results = results;
    }
   








}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -