View Javadoc

1   /*
2    * Copyright 2004 Carlos Sanchez.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *      http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package net.sf.oness.order.model.to;
17  
18  import java.math.BigDecimal;
19  
20  import net.sf.oness.order.model.bo.OrderItem;
21  
22  /***
23   * 
24   * @author Carlos Sanchez
25   * @version $Revision: 1.2 $
26   */
27  public class OrderItemWithProduct extends WithProduct {
28  
29      private OrderItem orderItem;
30  
31      private BigDecimal delivered;
32  
33      /***
34       * @param orderItem
35       *            The orderItem to set.
36       */
37      public void setOrderItem(OrderItem orderItem) {
38          this.orderItem = orderItem;
39      }
40  
41      /***
42       * @return Returns the orderItem.
43       */
44      public OrderItem getOrderItem() {
45          return orderItem;
46      }
47  
48      /***
49       * @param delivered
50       *            The delivered to set.
51       */
52      public void setDelivered(BigDecimal delivered) {
53          this.delivered = delivered;
54      }
55  
56      /***
57       * @return Returns the delivered.
58       */
59      public BigDecimal getDelivered() {
60          return delivered;
61      }
62  
63  }