📄 user.java
字号:
/*
* Created on May 21, 2004
*/
package com.arcmind.jsfquickstart.model;
import java.io.Serializable;
import java.util.Date;
/**
* @author Richard Hightower
*
*/
public class User implements Serializable {
private String firstName;
private String lastName;
private String creditCardNumber;
private String password;
private short age;
private String zipCode;
private String email;
private Date birthDate;
private float salary;
private PhoneNumber phone;
/**
* @return Returns the age.
*/
public short getAge() {
return age;
}
/**
* @param age The age to set.
*/
public void setAge(short age) {
this.age = age;
}
/**
* @return Returns the creditCardNumber.
*/
public String getCreditCardNumber() {
return creditCardNumber;
}
/**
* @param creditCardNumber The creditCardNumber to set.
*/
public void setCreditCardNumber(String creditCardNumber) {
this.creditCardNumber = creditCardNumber;
}
/**
* @return Returns the firstName.
*/
public String getFirstName() {
return firstName;
}
/**
* @param firstName The firstName to set.
*/
public void setFirstName(String firstName) {
this.firstName = firstName;
}
/**
* @return Returns the lastName.
*/
public String getLastName() {
return lastName;
}
/**
* @param lastName The lastName to set.
*/
public void setLastName(String lastName) {
this.lastName = lastName;
}
/**
* @return Returns the password.
*/
public String getPassword() {
return password;
}
/**
* @param password The password to set.
*/
public void setPassword(String password) {
this.password = password;
}
/**
* @return Returns the zipCode.
*/
public String getZipCode() {
return zipCode;
}
/**
* @param zipCode The zipCode to set.
*/
public void setZipCode(String zipCode) {
this.zipCode = zipCode;
}
/**
* @return Returns the email.
*/
public String getEmail() {
return email;
}
/**
* @param email The email to set.
*/
public void setEmail(String email) {
this.email = email;
}
/**
* @return Returns the birthDate.
*/
public Date getBirthDate() {
return birthDate;
}
/**
* @param birthDate The birthDate to set.
*/
public void setBirthDate(Date birthDate) {
this.birthDate = birthDate;
}
/**
* @return Returns the salary.
*/
public float getSalary() {
return salary;
}
/**
* @param salary The salary to set.
*/
public void setSalary(float salary) {
this.salary = salary;
}
/**
* @return Returns the phone.
*/
public PhoneNumber getPhone() {
return phone;
}
/**
* @param phone The phone to set.
*/
public void setPhone(PhoneNumber phone) {
this.phone = phone;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -