Advertisement
Guest User

Untitled

a guest
Oct 30th, 2014
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.08 KB | None | 0 0
  1. package com.rabin.eventservice;
  2.  
  3. public class Products {
  4.  
  5.     private String productID;
  6.     private String productName;
  7.     private String productDescription;
  8.     private String price;
  9.    
  10.    
  11.     public Products(String productID, String productName,
  12.             String productDescription, String price) {
  13.         super();
  14.         this.productID = productID;
  15.         this.productName = productName;
  16.         this.productDescription = productDescription;
  17.         this.price = price;
  18.     }
  19.  
  20.  
  21.     public String getProductID() {
  22.         return productID;
  23.     }
  24.  
  25.  
  26.     public void setProductID(String productID) {
  27.         this.productID = productID;
  28.     }
  29.  
  30.  
  31.     public String getProductName() {
  32.         return productName;
  33.     }
  34.  
  35.  
  36.     public void setProductName(String productName) {
  37.         this.productName = productName;
  38.     }
  39.  
  40.  
  41.     public String getProductDescription() {
  42.         return productDescription;
  43.     }
  44.  
  45.  
  46.     public void setProductDescription(String productDescription) {
  47.         this.productDescription = productDescription;
  48.     }
  49.  
  50.  
  51.     public String getPrice() {
  52.         return price;
  53.     }
  54.  
  55.  
  56.     public void setPrice(String price) {
  57.         this.price = price;
  58.     }
  59.    
  60.    
  61.    
  62.    
  63.    
  64.    
  65.    
  66. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement