📄 accountpk.java
字号:
/* * Generated by XDoclet - Do not edit! */package com.j2ee.interfaces;/** * Primary key for Account. * @xdoclet-generated at ${TODAY} * @copyright The XDoclet Team * @author XDoclet * @version ${version} */public class AccountPK extends java.lang.Object implements java.io.Serializable{ public java.lang.String userID; public AccountPK() { } public AccountPK( java.lang.String userID ) { this.userID = userID; } public java.lang.String getUserID() { return userID; } public void setUserID(java.lang.String userID) { this.userID = userID; } public int hashCode() { int _hashCode = 0; if (this.userID != null) _hashCode += this.userID.hashCode(); return _hashCode; } public boolean equals(Object obj) { if( !(obj instanceof com.j2ee.interfaces.AccountPK) ) return false; com.j2ee.interfaces.AccountPK pk = (com.j2ee.interfaces.AccountPK)obj; boolean eq = true; if( obj == null ) { eq = false; } else { if( this.userID != null ) { eq = eq && this.userID.equals( pk.getUserID() ); } else // this.userID == null { eq = eq && ( pk.getUserID() == null ); } } return eq; } /** @return String representation of this pk in the form of [.field1.field2.field3]. */ public String toString() { StringBuffer toStringValue = new StringBuffer("[."); toStringValue.append(this.userID).append('.'); toStringValue.append(']'); return toStringValue.toString(); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -