📄 shopdetail.java
字号:
/*
* @author : Neelesh
* @Version : 1.0
*
* Development Environment : Oracle9i JDeveloper
* Name of the File : ShopDetail.java
* Creation/Modification History :
*
* Neelesh 03-Oct-2002 Created
*
*/
package oracle.otnsamples.vsm.services.data;
/**
* The class is a value object for ShopDetail, and has getters and setters for
* language id, name and description
*
* @author Neelesh
* @version 1.0
*/
public class ShopDetail implements java.io.Serializable {
private String description; // shop description
private String langId; // language id
private String shopName; // name of the shop
/**
* Default constructor
*/
public ShopDetail() {
}
/**
* Constructor with arguments
*/
public ShopDetail(String langId, String name, String desc) {
this.langId = langId;
description = desc;
this.shopName = name;
}
// private Category category;
/**
* Gets the language of the shop
*
* @return <b>String</b> language id
*/
public String getLangId() {
return langId;
}
/**
* Gets the description for the shop
*
* @return <b>String</b> description of the shop
*/
public String getDescription() {
return description;
}
/**
* Sets the description for the shop
*
* @param <b>newDescription</b> new description of the shop
*/
public void setDescription(String newDescription) {
description = newDescription;
}
/**
* Sets the language of the shop
*
* @param <b>newlangId</b> new language id
*/
public void setLangId(String newLangId) {
langId = newLangId;
}
/**
* Gets the name of the shop
*
* @return <b>String</b> name of the shop
*/
public String getShopName() {
return shopName;
}
/**
* Sets the name of the shop
*
* @param <b>newShopName</b> name of the shop
*/
public void setShopName(String nesShopName) {
shopName = nesShopName;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -