📄 sequencenumdata.java
字号:
/* * Generated by XDoclet - Do not edit! */package com.sample.cmp.sequencenum;/** * Data object for SequenceNum. * @generated * @lomboz generated */public class SequenceNumData extends java.lang.Object implements java.io.Serializable{ private java.lang.Integer indexNum; private java.lang.Integer maxUserID; private java.lang.Integer maxAccountID; /* begin value object */ /* end value object */ public SequenceNumData() { } public SequenceNumData( java.lang.Integer indexNum,java.lang.Integer maxUserID,java.lang.Integer maxAccountID ) { setIndexNum(indexNum); setMaxUserID(maxUserID); setMaxAccountID(maxAccountID); } public SequenceNumData( SequenceNumData otherData ) { setIndexNum(otherData.getIndexNum()); setMaxUserID(otherData.getMaxUserID()); setMaxAccountID(otherData.getMaxAccountID()); } public java.lang.Integer getPrimaryKey() { return getIndexNum(); } public java.lang.Integer getIndexNum() { return this.indexNum; } public void setIndexNum( java.lang.Integer indexNum ) { this.indexNum = indexNum; } public java.lang.Integer getMaxUserID() { return this.maxUserID; } public void setMaxUserID( java.lang.Integer maxUserID ) { this.maxUserID = maxUserID; } public java.lang.Integer getMaxAccountID() { return this.maxAccountID; } public void setMaxAccountID( java.lang.Integer maxAccountID ) { this.maxAccountID = maxAccountID; } public String toString() { StringBuffer str = new StringBuffer("{"); str.append("indexNum=" + getIndexNum() + " " + "maxUserID=" + getMaxUserID() + " " + "maxAccountID=" + getMaxAccountID()); str.append('}'); return(str.toString()); } public boolean equals( Object pOther ) { if( pOther instanceof SequenceNumData ) { SequenceNumData lTest = (SequenceNumData) pOther; boolean lEquals = true; if( this.indexNum == null ) { lEquals = lEquals && ( lTest.indexNum == null ); } else { lEquals = lEquals && this.indexNum.equals( lTest.indexNum ); } if( this.maxUserID == null ) { lEquals = lEquals && ( lTest.maxUserID == null ); } else { lEquals = lEquals && this.maxUserID.equals( lTest.maxUserID ); } if( this.maxAccountID == null ) { lEquals = lEquals && ( lTest.maxAccountID == null ); } else { lEquals = lEquals && this.maxAccountID.equals( lTest.maxAccountID ); } return lEquals; } else { return false; } } public int hashCode() { int result = 17; result = 37*result + ((this.indexNum != null) ? this.indexNum.hashCode() : 0); result = 37*result + ((this.maxUserID != null) ? this.maxUserID.hashCode() : 0); result = 37*result + ((this.maxAccountID != null) ? this.maxAccountID.hashCode() : 0); return result; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -