?? baseview.java
字號:
package com.free.struts.storefront.framework.view;
import java.sql.Timestamp;
/**
* <p>Title: Eclipse Plugin Development</p>
* <p>Description: Free download</p>
* <p>Copyright: Copyright (c) 2006</p>
* <p>Company: Free</p>
* @author gan.shu.man
* @version 1.0
*/
public class BaseView implements java.io.Serializable {
private String id;
private Timestamp timeCreated = null;
private String description;
private String name;
public BaseView() {
super();
setTimeCreated(new Timestamp(System.currentTimeMillis()));
}
public BaseView(String id,
String name,
String desc) {
this();
this.id = id;
this.name = name;
this.description = desc;
}
public void setName(String name) {
this.name = name;
}
public void setTimeCreated(Timestamp now) {
timeCreated = now;
}
public void setDescription(String description) {
this.description = description;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return name;
}
public String getDescription() {
return description;
}
public String getId() {
return id;
}
public Timestamp getTimeCreated() {
return timeCreated;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -