KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > dotmarketing > portlets > order_manager > model > OrderItem


1 package com.dotmarketing.portlets.order_manager.model;
2
3 import com.dotmarketing.beans.Inode;
4
5 public class OrderItem extends Inode {
6     private static final long serialVersionUID = 1L;
7     private long inode; //identifier
8
private long orderInode; //persistent
9
private long productInode; //persistent
10
private int itemQty; //persistent
11
private float itemPrice; //persistent
12

13     public OrderItem() {
14         setType("ecom_order_item");
15     }
16
17     public long getInode() {
18         return this.inode;
19     }
20
21     public void setInode(long inode) {
22         this.inode = inode;
23     }
24     public long getOrderInode() {
25         return this.orderInode;
26     }
27
28     public void setOrderInode(long orderInode) {
29         this.orderInode = orderInode;
30     }
31     public long getProductInode() {
32         return this.productInode;
33     }
34
35     public void setProductInode(long productInode) {
36         this.productInode = productInode;
37     }
38     public int getItemQty() {
39         return this.itemQty;
40     }
41
42     public void setItemQty(int itemQty) {
43         this.itemQty = itemQty;
44     }
45     public float getItemPrice() {
46         return this.itemPrice;
47     }
48     public void setItemPrice(float itemPrice) {
49         this.itemPrice = itemPrice;
50     }
51
52 }
53
Popular Tags