java网上考试系统

源代码在线查看: role.java

软件大小: 10322 K
上传用户: ac3698
关键词: java 网上考试系统
下载地址: 免注册下载 普通下载 VIP

相关代码

				/*
				 * @(#)Role.java Dec 14, 2006
				 * Copyright 2006 qingdaosoftware, Inc. All rights reserved
				 */
				package com.qrsx.exam.model;
				
				import java.util.Set;
				
				/**
				 *  
				 * 功能:The POJO about role
				 * 
				 *  View Source  
				 * 
				 * Company  : QingdaoSoftware
				 * Author   : WangXitao
				 * Version  : 1.0
				 * Date     : Dec 14, 2006
				 * 
				 * @hibernate.class table="ROLES"
				 * 
				 */
				public class Role extends Base {
				    /**
				     * Generated serialVersionUID
				     */
				    private static final long serialVersionUID = -9029926683362698688L;
				
				    /**
				     * @hibernate.property column="NAME"
				     */
				    private String name;
				
				    /**
				     * @hibernate.property column="TITLE"
				     */
				    private String title;
				
				    /**
				     * @return Returns the name.
				     */
				    public String getName() {
				        return name;
				    }
				
				    /**
				     * @param name
				     *            The name to set.
				     */
				    public void setName(String name) {
				        this.name = name;
				    }
				
				    /**
				     * @return Returns the title.
				     */
				    public String getTitle() {
				        return title;
				    }
				
				    /**
				     * @param title
				     *            The title to set.
				     */
				    public void setTitle(String title) {
				        this.title = title;
				    }
				
				    /**
				     * @hibernate.set table="ROLE_FUNCTION" inverse="true" lazy="false"
				     * @hibernate.key column="ROLE_ID"
				     * @hibernate.many-to-many column="FUNCTION_ID"
				     *                         class="com.qrsx.exam.model.Function"
				     */
				    private Set functions;
				
				    /**
				     * @return Returns the functions.
				     */
				    public Set getFunctions() {
				        return functions;
				    }
				
				    /**
				     * @param functions
				     *            The functions to set.
				     */
				    public void setFunctions(Set functions) {
				        this.functions = functions;
				    }
				}
							

相关资源