KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openbravo > erpCommon > ws > externalSales > Product


1 /*
2  *************************************************************************
3  * The contents of this file are subject to the Openbravo Public License
4  * Version 1.0 (the "License"), being the Mozilla Public License
5  * Version 1.1 with a permitted attribution clause; you may not use this
6  * file except in compliance with the License. You may obtain a copy of
7  * the License at http://www.openbravo.com/legal/license.html
8  * Software distributed under the License is distributed on an "AS IS"
9  * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
10  * License for the specific language governing rights and limitations
11  * under the License.
12  * The Original Code is Openbravo ERP.
13  * The Initial Developer of the Original Code is Openbravo SL
14  * All portions are Copyright (C) 2001-2006 Openbravo SL
15  * All Rights Reserved.
16  * Contributor(s): ______________________________________.
17  ************************************************************************
18 */

19
20 package org.openbravo.erpCommon.ws.externalSales;
21
22 import java.io.Serializable JavaDoc;
23
24 public class Product extends Object JavaDoc implements Serializable JavaDoc {
25     private int id;
26     private String JavaDoc name;
27     private String JavaDoc number;
28     private String JavaDoc description;
29     private double listPrice;
30     private double purchasePrice;
31     private Tax tax;
32     private String JavaDoc imageUrl;
33     private String JavaDoc ean;
34     private Category category;
35     
36     
37     public int getId(){
38         return id;
39     }
40     
41     public void setId(int id) {
42         this.id = id;
43     }
44     
45     public String JavaDoc getName() {
46         return name;
47     }
48     
49     public void setName( String JavaDoc name ) {
50         this.name = name;
51     }
52     
53     public String JavaDoc getNumber() {
54         return number;
55     }
56     
57     public void setNumber(String JavaDoc number) {
58         this.number = number;
59     }
60     
61     public String JavaDoc getDescription() {
62         return description;
63     }
64     
65     public void setDescription(String JavaDoc description) {
66         this.description = description;
67     }
68     
69     public double getListPrice(){
70         return listPrice;
71     }
72     
73     public void setListPrice(double listPrice) {
74         this.listPrice = listPrice;
75     }
76     
77     public double getPurchasePrice(){
78         return purchasePrice;
79     }
80     
81     public void setPurchasePrice(double purchasePrice) {
82         this.purchasePrice = purchasePrice;
83     }
84     
85     public Tax getTax() {
86         return tax;
87     }
88     
89     public void setTax( Tax tax ) {
90         this.tax = tax;
91     }
92     
93     public String JavaDoc getImageUrl() {
94         return imageUrl;
95     }
96     
97     public void setImageUrl( String JavaDoc imageUrl) {
98         this.imageUrl = imageUrl;
99     }
100     
101     public String JavaDoc getEan() {
102         return ean;
103     }
104     
105     public void setEan( String JavaDoc ean ) {
106         this.ean = ean;
107     }
108     
109     public Category getCategory() {
110         return category;
111     }
112     
113     public void setCategory( Category category ) {
114         this.category = category;
115     }
116 }
117
118
119
Popular Tags