⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 baseview.java

📁 一个netstore的完整代码,他使用了j2ee和webservice技术,并使用ojb o/r管理框架,很不错的
💻 JAVA
字号:
package netstore.framework.view;
import java.util.Date;
import java.util.Calendar;
/**
 *
 */
public class BaseView implements java.io.Serializable {
private String id;
  private Date timeCreated = null;
  private String description;
  private String name;

  public BaseView() {
    super();
    setTimeCreated(  new Date());
  }

  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(Date 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 Date getTimeCreated() {
    return timeCreated;
  }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -