KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > dotmarketing > cms > product > model > Holder


1 package com.dotmarketing.cms.product.model;
2
3 import com.dotmarketing.portlets.product.model.ProductFormat;
4
5 public class Holder {
6     long inode = 0;
7     private float price;
8     private float lineTotal;
9     private int quantity;
10     private ProductFormat formatInode;
11     
12     public int getQuantity() {
13         return quantity;
14     }
15     public void setQuantity(int quantity) {
16         this.quantity = quantity;
17     }
18     public ProductFormat getFormat() {
19         return formatInode;
20     }
21     public void setFormat(ProductFormat format) {
22         this.formatInode = format;
23     }
24     public float getLineTotal() {
25         return lineTotal;
26     }
27     public void setLineTotal(float lineTotal) {
28         this.lineTotal = lineTotal;
29     }
30     public float getPrice() {
31         return price;
32     }
33     public void setPrice(float price) {
34         this.price = price;
35     }
36     public long getInode() {
37         return inode;
38     }
39     public void setInode(long inode) {
40         this.inode = inode;
41     }
42 }
43
Popular Tags