productbean.java
来自「对学习 VC有所帮助的几个例子」· Java 代码 · 共 112 行
JAVA
112 行
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi
// Source File Name: productBean.java
package myshop.product_sys;
public class productBean
{
int id;
float price;
String name;
String description;
String catalogP;
String catalogC;
String catalogPC;
String imgPath;
public productBean()
{
id = 0;
name = null;
description = null;
catalogP = null;
catalogC = null;
catalogPC = null;
imgPath = null;
}
public String getCatalogC()
{
return catalogC;
}
public String getCatalogP()
{
return catalogP;
}
public String getCatalogPC()
{
return catalogPC;
}
public String getDescription()
{
return description;
}
public int getId()
{
return id;
}
public String getImgPath()
{
return imgPath;
}
public String getName()
{
return name;
}
public float getPrice()
{
return price;
}
public void setCatalogC(String s)
{
catalogC = s;
}
public void setCatalogP(String s)
{
catalogP = s;
}
public void setCatalogPC(String s)
{
catalogPC = s;
}
public void setDescription(String s)
{
description = s;
}
public void setId(int i)
{
id = i;
}
public void setImgPath(String s)
{
imgPath = s;
}
public void setName(String s)
{
name = s;
}
public void setPrice(float f)
{
price = f;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?