Advertisement
Guest User

afdsj

a guest
Feb 5th, 2013
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 3.54 KB | None | 0 0
  1. package database.in;
  2.  
  3. public class GetProductInfo {
  4.     //private variables
  5.         String _product_sku;
  6.         int _product_Id;
  7.         String _product_Name;
  8.         String _thumbnail_image;
  9.         String _product_Disciption;
  10.         float _product_weight;
  11.         String _product_Created_At;
  12.         String _product_Updated_At;
  13.         float _product_Price;
  14.         float _product_special_price;
  15.         int _product_tax_id;
  16.         String _product_cat_id;
  17.         String _product_cat_name;
  18.        
  19.         // Empty constructor
  20.         public GetProductInfo(){
  21.            
  22.         }
  23.         // constructor
  24.         public GetProductInfo(String product_sku, int product_Id,String product_Name, String thumbnail_image,String product_Disciption,float product_weight,String product_Created_At,String product_Updated_At,float product_Price,float product_special_price,int product_tax_id,String product_cat_id,String product_cat_name){
  25.             this._product_sku = product_sku;
  26.             this._product_Id = product_Id;
  27.             this._product_Name = product_Name;
  28.             this._thumbnail_image=thumbnail_image;
  29.             this._product_Disciption=product_Disciption;
  30.             this._product_weight=product_weight;
  31.             this._product_Created_At=product_Created_At;
  32.             this._product_Price=product_Price;
  33.             this._product_special_price=product_special_price;
  34.             this._product_tax_id=product_tax_id;
  35.             this._product_cat_id=product_cat_id;
  36.             this._product_cat_name=product_cat_name;
  37.         }
  38.         public String getProductSku(){
  39.             return this._product_sku;
  40.         }
  41.         public void setProductSku(String product_sku){
  42.             this._product_sku=product_sku;
  43.         }
  44.         public int getProductID(){
  45.             return this._product_Id;
  46.         }
  47.         public void setProductID(int product_Id){
  48.             this._product_Id=product_Id;
  49.         }
  50.         public String getProductName(){
  51.             return this._product_Name;
  52.         }
  53.         public void setProductName(String product_Name){
  54.             this._product_Name=product_Name;
  55.         }
  56.         public String getThumbnail(){
  57.             return this._thumbnail_image;
  58.         }
  59.         public void setThumbnail(String thumbnail_image){
  60.             this._thumbnail_image=thumbnail_image;
  61.         }
  62.         public String getProductDiscription(){
  63.             return this._product_Disciption;
  64.         }
  65.         public void setProductDiscription(String product_Disciption){
  66.             this._product_Disciption=product_Disciption;
  67.         }
  68.         public float getProductWeight(){
  69.             return this._product_weight;
  70.         }
  71.         public void setProductWeight(float f){
  72.             this._product_weight=f;
  73.         }
  74.         public String getProductCreatedAt(){
  75.             return this._product_Created_At;
  76.         }
  77.         public void setProductCreatedAt(String product_Created_At){
  78.             this._product_Created_At=product_Created_At;
  79.         }
  80.         public String getProductUpdatedAt(){
  81.             return this._product_Updated_At;
  82.         }
  83.         public void setProductUpdatedAt(String product_Updated_At){
  84.             this._product_Updated_At=product_Updated_At;
  85.         }
  86.         public float getProductPrice(){
  87.             return this._product_Price;
  88.         }
  89.         public void setProductPrice(float f ){
  90.             this._product_Price=f;
  91.         }
  92.         public float getProductSpecialPrice(){
  93.             return this._product_special_price;
  94.         }
  95.         public void setProductSpecialPrice(float f){
  96.             this._product_special_price=f;
  97.         }
  98.         public int getProductTexId(){
  99.             return this._product_tax_id;
  100.         }
  101.         public void setProductTexId(int product_tax_id){
  102.             this._product_tax_id=product_tax_id;
  103.         }
  104.         public String getProductCategoryId(){
  105.             return this._product_cat_id;
  106.         }
  107.         public void setProductCategoryId(String product_cat_id){
  108.             this._product_cat_id=product_cat_id;
  109.         }
  110.         public String getProductCategoryName(){
  111.             return this._product_cat_name;
  112.         }
  113.         public void setProductCategoryName(String product_cat_name){
  114.             this._product_cat_name=product_cat_name;
  115.         }
  116.        
  117. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement