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
AbstractTdept.java
Package: (J2EE)oa.rar [view]
Upload User: lm2018
Upload Date: 2015-12-12
Package Size: 30449k
Code Size: 2k
Category:
Jsp/Servlet
Development Platform:
Java
- package com.oa.module.office.dept;
- /**
- * 部门持久类的抽象类
- * @author czpeng
- *
- */
- public abstract class AbstractTdept implements java.io.Serializable {
- // Fields
- private int hashValue = 0;
- private String did;
- private String dname;
- private long uno;
- private String dfunction;
- private String dmemo;
- private String dflag;
- // Constructors
- /** default constructor */
- public AbstractTdept() {
- }
- /** full constructor */
- public AbstractTdept(String dname, long uno, String dfunction,
- String dmemo, String dflag) {
- this.dname = dname;
- this.uno = uno;
- this.dfunction = dfunction;
- this.dmemo = dmemo;
- this.dflag = dflag;
- }
- // Property accessors
- public String getDid() {
- return this.did;
- }
- public void setDid(String did) {
- this.did = did;
- }
- public String getDname() {
- return this.dname;
- }
- public void setDname(String dname) {
- this.dname = dname;
- }
- public long getUno() {
- return this.uno;
- }
- public void setUno(long uno) {
- this.uno = uno;
- }
- public String getDfunction() {
- return this.dfunction;
- }
- public void setDfunction(String dfunction) {
- this.dfunction = dfunction;
- }
- public String getDmemo() {
- return this.dmemo;
- }
- public void setDmemo(String dmemo) {
- this.dmemo = dmemo;
- }
- public String getDflag() {
- return this.dflag;
- }
- public void setDflag(String dflag) {
- this.dflag = dflag;
- }
- public boolean equals(Object rhs) {
- if (rhs == null)
- return false;
- if (!(rhs instanceof Tdept))
- return false;
- Tdept that = (Tdept) rhs;
- if (this.getDid() == null || that.getDid() == null)
- return false;
- return (this.getDid().equals(that.getDid()));
- }
- public int hashCode() {
- if (this.hashValue == 0) {
- int result = 17;
- int didValue = this.getDid() == null ? 0 : this.getDid().hashCode();
- result = result * 37 + didValue;
- this.hashValue = result;
- }
- return this.hashValue;
- }
- }