category.java
来自「这是一些关于JSF实例的源代码,很难得的,对学习Web页面编程很有帮助」· Java 代码 · 共 46 行
JAVA
46 行
/*
* JCatalog Project
*/
package catalog.model.businessobject;
/**
* Category business object.
*
* @author <a href="mailto:derek_shen@hotmail.com">Derek Y. Shen</a>
*/
public class Category {
private String id;
private String name;
private String description;
/**
* Default constructor.
*/
public Category() {
}
public String getId() {
return this.id;
}
public void setId(String newId) {
this.id = newId;
}
public String getName() {
return this.name;
}
public void setName(String newName) {
this.name = newName;
}
public String getDescription() {
return this.description;
}
public void setDescription(String newDescription) {
this.description = newDescription;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?