资源简介
中南大学软件学院架构jpetstore重构
代码片段和文件信息
package myPetstore_Java.domain;
import java.io.Serializable;
import java.util.List;
//import net.sourceforge.stripes.validation.Validate;
public class Account implements Serializable {
private static final long serialVersionUID = 8751282105532159742L;
private String username;
private String password;
private String email;
private String firstName;
private String lastName;
private String status;
private String address1;
private String address2;
private String city;
private String state;
private String zip;
private String country;
private String phone;
private String favouriteCategoryId;
private String languagePreference;
private boolean listOption;
private boolean bannerOption;
private String bannerName;
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getFirstName() {
return firstName;
}
//@Validate(required=true on={“newAccount“ “editAccount“})
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public String getLastName() {
return lastName;
}
//@Validate(required=true on={“newAccount“ “editAccount“})
public void setLastName(String lastName) {
this.lastName = lastName;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getAddress1() {
return address1;
}
public void setAddress1(String address1) {
this.address1 = address1;
}
public String getAddress2() {
return address2;
}
public void setAddress2(String address2) {
this.address2 = address2;
}
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
public String getZip() {
return zip;
}
public void setZip(String zip) {
this.zip = zip;
}
public String getCountry() {
return country;
}
public void setCountry(String country) {
this.country = country;
}
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public String getFavouriteCategoryId() {
return favouriteCategoryId;
}
public void setFavouriteCategoryId(String favouriteCategoryId) {
this.favouriteCategoryId = favouriteCategoryId;
}
public String getLanguagePreference() {
return languagePreference;
}
public void setLanguagePreference(String languagePreference) {
this.languagePreference = languagePreference;
}
public boolean isListOption() {
re
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2016-05-15 19:29 myPetstore_rebuilt_byStruts2\
目录 0 2016-05-17 22:49 myPetstore_rebuilt_byStruts2\.idea\
文件 28 2016-04-11 15:41 myPetstore_rebuilt_byStruts2\.idea\.name
目录 0 2016-04-22 21:43 myPetstore_rebuilt_byStruts2\.idea\artifacts\
文件 587 2016-04-11 15:41 myPetstore_rebuilt_byStruts2\.idea\artifacts\myPetstore_rebuilt_byStruts2_war_exploded.xm
文件 686 2016-04-11 15:41 myPetstore_rebuilt_byStruts2\.idea\compiler.xm
目录 0 2016-04-22 21:43 myPetstore_rebuilt_byStruts2\.idea\copyright\
文件 76 2016-04-11 15:41 myPetstore_rebuilt_byStruts2\.idea\copyright\profiles_settings.xm
文件 159 2016-04-11 15:41 myPetstore_rebuilt_byStruts2\.idea\encodings.xm
目录 0 2016-04-22 21:43 myPetstore_rebuilt_byStruts2\.idea\libraries\
文件 1363 2016-04-11 16:18 myPetstore_rebuilt_byStruts2\.idea\libraries\Struts_2.xm
文件 873 2016-04-22 08:51 myPetstore_rebuilt_byStruts2\.idea\misc.xm
文件 296 2016-04-11 15:41 myPetstore_rebuilt_byStruts2\.idea\modules.xm
文件 8792 2016-04-11 15:47 myPetstore_rebuilt_byStruts2\.idea\uiDesigner.xm
文件 92473 2016-05-17 22:49 myPetstore_rebuilt_byStruts2\.idea\workspace.xm
文件 5838 2016-05-15 19:29 myPetstore_rebuilt_byStruts2\myPetstore_rebuilt_byStruts2.iml
目录 0 2016-04-22 21:43 myPetstore_rebuilt_byStruts2\out\
目录 0 2016-04-22 21:43 myPetstore_rebuilt_byStruts2\out\artifacts\
目录 0 2016-05-09 10:05 myPetstore_rebuilt_byStruts2\out\artifacts\myPetstore_rebuilt_byStruts2_war_exploded\
目录 0 2016-04-22 21:43 myPetstore_rebuilt_byStruts2\out\artifacts\myPetstore_rebuilt_byStruts2_war_exploded\css\
文件 5427 2016-04-22 21:51 myPetstore_rebuilt_byStruts2\out\artifacts\myPetstore_rebuilt_byStruts2_war_exploded\css\myPetstore.css
文件 5836 2016-04-22 21:51 myPetstore_rebuilt_byStruts2\out\artifacts\myPetstore_rebuilt_byStruts2_war_exploded\help.html
目录 0 2016-04-22 21:43 myPetstore_rebuilt_byStruts2\out\artifacts\myPetstore_rebuilt_byStruts2_war_exploded\images\
文件 6437 2016-04-22 21:51 myPetstore_rebuilt_byStruts2\out\artifacts\myPetstore_rebuilt_byStruts2_war_exploded\images\banner_birds.gif
文件 6674 2016-04-22 21:51 myPetstore_rebuilt_byStruts2\out\artifacts\myPetstore_rebuilt_byStruts2_war_exploded\images\banner_cats.gif
文件 6161 2016-04-22 21:51 myPetstore_rebuilt_byStruts2\out\artifacts\myPetstore_rebuilt_byStruts2_war_exploded\images\banner_dogs.gif
文件 6451 2016-04-22 21:51 myPetstore_rebuilt_byStruts2\out\artifacts\myPetstore_rebuilt_byStruts2_war_exploded\images\banner_fish.gif
文件 6556 2016-04-22 21:51 myPetstore_rebuilt_byStruts2\out\artifacts\myPetstore_rebuilt_byStruts2_war_exploded\images\banner_reptiles.gif
文件 12012 2016-04-22 21:51 myPetstore_rebuilt_byStruts2\out\artifacts\myPetstore_rebuilt_byStruts2_war_exploded\images\bird1.gif
文件 11383 2016-04-22 21:51 myPetstore_rebuilt_byStruts2\out\artifacts\myPetstore_rebuilt_byStruts2_war_exploded\images\bird2.gif
文件 471 2016-04-22 21:51 myPetstore_rebuilt_byStruts2\out\artifacts\myPetstore_rebuilt_byStruts2_war_exploded\images\birds_icon.gif
............此处省略265个文件信息
- 上一篇:温湿度显示和数据库存储
- 下一篇:C_STL中文版.zip
评论
共有 条评论