?? file.java
字號:
package com.david.bo;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
/**
* File generated by MyEclipse Persistence Tools
*/
public class File implements java.io.Serializable {
// Fields
private Integer id;
private Category category;
private String fileName;
private String fileIntro;
private String fileUrl;
private Integer fileSize;
private Date addTime;
private String contentType;
//private Set downtimeses = new HashSet(0);
private Downtimes downtimes;
private Set comments = new HashSet(0);
//private Set filepoints = new HashSet(0);
private Filepoint filepoint;
// Constructors
/** default constructor */
public File() {
}
/** full constructor */
public File(Category category, String fileName, String fileIntro,
String fileUrl, Integer fileSize, Date addTime, Downtimes downtimes,
Set comments, Filepoint filepoint) {
this.category = category;
this.fileName = fileName;
this.fileIntro = fileIntro;
this.fileUrl = fileUrl;
this.fileSize = fileSize;
this.addTime = addTime;
this.downtimes=downtimes;
this.comments = comments;
this.filepoint = filepoint;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public Category getCategory() {
return this.category;
}
public void setCategory(Category category) {
this.category = category;
}
public String getFileName() {
return this.fileName;
}
public void setFileName(String fileName) {
this.fileName = fileName;
}
public String getFileIntro() {
return this.fileIntro;
}
public void setFileIntro(String fileIntro) {
this.fileIntro = fileIntro;
}
public String getFileUrl() {
return this.fileUrl;
}
public void setFileUrl(String fileUrl) {
this.fileUrl = fileUrl;
}
public Integer getFileSize() {
return this.fileSize;
}
public void setFileSize(Integer fileSize) {
this.fileSize = fileSize;
}
public Date getAddTime() {
return this.addTime;
}
public void setAddTime(Date addTime) {
this.addTime = addTime;
}
/**
public Set getDowntimeses() {
return this.downtimeses;
}
public void setDowntimeses(Set downtimeses) {
this.downtimeses = downtimeses;
}
*/
public Set getComments() {
return this.comments;
}
public void setComments(Set comments) {
this.comments = comments;
}
public Downtimes getDowntimes() {
return downtimes;
}
public void setDowntimes(Downtimes downtimes) {
this.downtimes = downtimes;
}
public Filepoint getFilepoint() {
return filepoint;
}
public void setFilepoint(Filepoint filepoint) {
this.filepoint = filepoint;
}
public String getContentType() {
return contentType;
}
public void setContentType(String contentType) {
this.contentType = contentType;
}
/**
public Set getFilepoints() {
return this.filepoints;
}
public void setFilepoints(Set filepoints) {
this.filepoints = filepoints;
}
*/
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -