Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
Question.java
Package: exams.rar [view]
Upload User: nbxinmin
Upload Date: 2021-10-09
Package Size: 46k
Code Size: 3k
Category:
ISAPI-IE
Development Platform:
Java
- package com.xdf.exams.bean;
- import java.util.HashSet;
- import java.util.Set;
- /**
- * Question generated by MyEclipse - Hibernate Tools
- */
- public class Question implements java.io.Serializable {
- // Fields
- private Long questionid;
- private Subject subject;
- private String content;
- private int score;
- private int qtype;
- private String rightanswer;
- private String sdate;
- private Set optionses = new HashSet(0);
- private Set examrecords = new HashSet(0);
- // Constructors
- /** default constructor */
- public Question() {
- }
- /** minimal constructor */
- public Question(Subject subject, String content, int score, String rightanswer, String sdate) {
- this.subject = subject;
- this.content = content;
- this.score = score;
- this.rightanswer = rightanswer;
- this.sdate = sdate;
- }
- /** full constructor */
- public Question(Subject subject, String content, int score, String rightanswer, String sdate, Set optionses, Set examrecords) {
- this.subject = subject;
- this.content = content;
- this.score = score;
- this.rightanswer = rightanswer;
- this.sdate = sdate;
- this.optionses = optionses;
- this.examrecords = examrecords;
- }
- // Property accessors
- public Long getQuestionid() {
- return this.questionid;
- }
- public void setQuestionid(Long questionid) {
- this.questionid = questionid;
- }
- public Subject getSubject() {
- return this.subject;
- }
- public void setSubject(Subject subject) {
- this.subject = subject;
- }
- public String getContent() {
- return this.content;
- }
- public void setContent(String content) {
- this.content = content;
- }
- public int getScore() {
- return this.score;
- }
- public void setScore(int score) {
- this.score = score;
- }
- public String getRightanswer() {
- return this.rightanswer;
- }
- public void setRightanswer(String rightanswer) {
- this.rightanswer = rightanswer;
- }
- public String getSdate() {
- return this.sdate;
- }
- public void setSdate(String sdate) {
- this.sdate = sdate;
- }
- public Set getOptionses() {
- return this.optionses;
- }
- public void setOptionses(Set optionses) {
- this.optionses = optionses;
- }
- public Set getExamrecords() {
- return this.examrecords;
- }
- public void setExamrecords(Set examrecords) {
- this.examrecords = examrecords;
- }
- public int getQtype() {
- return qtype;
- }
- public void setQtype(int qtype) {
- this.qtype = qtype;
- }
- }