?? guestbook.java
字號:
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi
// Source File Name: GuestBook.java
package com.laoer.bbscs.bean;
import java.io.Serializable;
import org.apache.commons.lang.builder.*;
public class GuestBook
implements Serializable
{
private Long id;
private long fromID;
private String fromUserName;
private String fromNickName;
private long toID;
private String toUserName;
private String toNickName;
private short mtype;
private String note;
private long stime;
private short isNew;
public GuestBook(long fromID, String fromUserName, String fromNickName, long toID, String toUserName,
String toNickName, short mtype, String note, long stime, short isNew)
{
this.fromID = fromID;
this.fromUserName = fromUserName;
this.fromNickName = fromNickName;
this.toID = toID;
this.toUserName = toUserName;
this.toNickName = toNickName;
this.mtype = mtype;
this.note = note;
this.stime = stime;
this.isNew = isNew;
}
public GuestBook()
{
}
public Long getId()
{
return id;
}
public void setId(Long id)
{
this.id = id;
}
public long getFromID()
{
return fromID;
}
public void setFromID(long fromID)
{
this.fromID = fromID;
}
public String getFromUserName()
{
return fromUserName;
}
public void setFromUserName(String fromUserName)
{
this.fromUserName = fromUserName;
}
public String getFromNickName()
{
return fromNickName;
}
public void setFromNickName(String fromNickName)
{
this.fromNickName = fromNickName;
}
public long getToID()
{
return toID;
}
public void setToID(long toID)
{
this.toID = toID;
}
public String getToUserName()
{
return toUserName;
}
public void setToUserName(String toUserName)
{
this.toUserName = toUserName;
}
public String getToNickName()
{
return toNickName;
}
public void setToNickName(String toNickName)
{
this.toNickName = toNickName;
}
public short getMtype()
{
return mtype;
}
public void setMtype(short mtype)
{
this.mtype = mtype;
}
public String getNote()
{
return note;
}
public void setNote(String note)
{
this.note = note;
}
public long getStime()
{
return stime;
}
public void setStime(long stime)
{
this.stime = stime;
}
public short getIsNew()
{
return isNew;
}
public void setIsNew(short isNew)
{
this.isNew = isNew;
}
public String toString()
{
return (new ToStringBuilder(this)).append("id", getId()).toString();
}
public boolean equals(Object other)
{
if(!(other instanceof GuestBook))
{
return false;
} else
{
GuestBook castOther = (GuestBook)other;
return (new EqualsBuilder()).append(getId(), castOther.getId()).isEquals();
}
}
public int hashCode()
{
return (new HashCodeBuilder()).append(getId()).toHashCode();
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -