?? abstractuserinfo.java
字號:
/*
* WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized
* by MyEclipse Hibernate tool integration.
*
* Created Fri Sep 02 20:09:24 CST 2005 by MyEclipse Hibernate Tool.
*/
package org.ithinking.strutsExample.entity;
import java.io.Serializable;
/**
* A class that represents a row in the userinfo table.
* You can customize the behavior of this class by editing the class, {@link Userinfo()}.
* WARNING: DO NOT EDIT THIS FILE. This is a generated file that is synchronized
* by MyEclipse Hibernate tool integration.
*/
public abstract class AbstractUserinfo
extends java.lang.Object
implements Serializable
{
/** The cached hash code value for this instance. Settting to 0 triggers re-calculation. */
private int hashValue = 0;
/** The composite primary key value. */
private java.lang.Integer id;
/** The value of the simple userloginid property. */
private java.lang.String userloginid;
/** The value of the simple username property. */
private java.lang.String username;
/** The value of the simple password property. */
private java.lang.String password;
/** The value of the simple phone property. */
private java.lang.String phone;
/** The value of the simple mobile property. */
private java.lang.String mobile;
/** The value of the simple sex property. */
private java.lang.String sex;
/** The value of the simple email property. */
private java.lang.String email;
/** The value of the simple address property. */
private java.lang.String address;
/**
* Simple constructor of AbstractUserinfo instances.
*/
public AbstractUserinfo()
{
}
/**
* Constructor of AbstractUserinfo instances given a simple primary key.
* @param id
*/
public AbstractUserinfo(java.lang.Integer id)
{
this.setId(id);
}
/**
* Return the simple primary key value that identifies this object.
* @return java.lang.Integer
*/
public java.lang.Integer getId()
{
return id;
}
/**
* Set the simple primary key value that identifies this object.
* @param id
*/
public void setId(java.lang.Integer id)
{
this.hashValue = 0;
this.id = id;
}
/**
* Return the value of the userloginId column.
* @return java.lang.String
*/
public java.lang.String getUserloginid()
{
return this.userloginid;
}
/**
* Set the value of the userloginId column.
* @param userloginid
*/
public void setUserloginid(java.lang.String userloginid)
{
this.userloginid = userloginid;
}
/**
* Return the value of the userName column.
* @return java.lang.String
*/
public java.lang.String getUsername()
{
return this.username;
}
/**
* Set the value of the userName column.
* @param username
*/
public void setUsername(java.lang.String username)
{
this.username = username;
}
/**
* Return the value of the password column.
* @return java.lang.String
*/
public java.lang.String getPassword()
{
return this.password;
}
/**
* Set the value of the password column.
* @param password
*/
public void setPassword(java.lang.String password)
{
this.password = password;
}
/**
* Return the value of the phone column.
* @return java.lang.String
*/
public java.lang.String getPhone()
{
return this.phone;
}
/**
* Set the value of the phone column.
* @param phone
*/
public void setPhone(java.lang.String phone)
{
this.phone = phone;
}
/**
* Return the value of the mobile column.
* @return java.lang.String
*/
public java.lang.String getMobile()
{
return this.mobile;
}
/**
* Set the value of the mobile column.
* @param mobile
*/
public void setMobile(java.lang.String mobile)
{
this.mobile = mobile;
}
/**
* Return the value of the sex column.
* @return java.lang.String
*/
public java.lang.String getSex()
{
return this.sex;
}
/**
* Set the value of the sex column.
* @param sex
*/
public void setSex(java.lang.String sex)
{
this.sex = sex;
}
/**
* Return the value of the email column.
* @return java.lang.String
*/
public java.lang.String getEmail()
{
return this.email;
}
/**
* Set the value of the email column.
* @param email
*/
public void setEmail(java.lang.String email)
{
this.email = email;
}
/**
* Return the value of the address column.
* @return java.lang.String
*/
public java.lang.String getAddress()
{
return this.address;
}
/**
* Set the value of the address column.
* @param address
*/
public void setAddress(java.lang.String address)
{
this.address = address;
}
/**
* Implementation of the equals comparison on the basis of equality of the primary key values.
* @param rhs
* @return boolean
*/
public boolean equals(Object rhs)
{
if (rhs == null)
return false;
if (! (rhs instanceof Userinfo))
return false;
Userinfo that = (Userinfo) rhs;
if (this.getId() == null || that.getId() == null)
return false;
return (this.getId().equals(that.getId()));
}
/**
* Implementation of the hashCode method conforming to the Bloch pattern with
* the exception of array properties (these are very unlikely primary key types).
* @return int
*/
public int hashCode()
{
if (this.hashValue == 0)
{
int result = 17;
int idValue = this.getId() == null ? 0 : this.getId().hashCode();
result = result * 37 + idValue;
this.hashValue = result;
}
return this.hashValue;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -