1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   * 
13   */
14  
15  package com.liferay.portlet.shopping.model;
16  
17  import com.liferay.portal.model.BaseModel;
18  
19  import java.io.Serializable;
20  
21  import java.util.Date;
22  
23  /**
24   * <a href="ShoppingOrderItemModel.java.html"><b><i>View Source</i></b></a>
25   *
26   * <p>
27   * ServiceBuilder generated this class. Modifications in this class will be
28   * overwritten the next time is generated.
29   * </p>
30   *
31   * <p>
32   * This interface is a model that represents the ShoppingOrderItem table in the
33   * database.
34   * </p>
35   *
36   * @author    Brian Wing Shun Chan
37   * @see       ShoppingOrderItem
38   * @see       com.liferay.portlet.shopping.model.impl.ShoppingOrderItemImpl
39   * @see       com.liferay.portlet.shopping.model.impl.ShoppingOrderItemModelImpl
40   * @generated
41   */
42  public interface ShoppingOrderItemModel extends BaseModel<ShoppingOrderItem> {
43      public long getPrimaryKey();
44  
45      public void setPrimaryKey(long pk);
46  
47      public long getOrderItemId();
48  
49      public void setOrderItemId(long orderItemId);
50  
51      public long getOrderId();
52  
53      public void setOrderId(long orderId);
54  
55      public String getItemId();
56  
57      public void setItemId(String itemId);
58  
59      public String getSku();
60  
61      public void setSku(String sku);
62  
63      public String getName();
64  
65      public void setName(String name);
66  
67      public String getDescription();
68  
69      public void setDescription(String description);
70  
71      public String getProperties();
72  
73      public void setProperties(String properties);
74  
75      public double getPrice();
76  
77      public void setPrice(double price);
78  
79      public int getQuantity();
80  
81      public void setQuantity(int quantity);
82  
83      public Date getShippedDate();
84  
85      public void setShippedDate(Date shippedDate);
86  
87      public ShoppingOrderItem toEscapedModel();
88  
89      public boolean isNew();
90  
91      public boolean setNew(boolean n);
92  
93      public boolean isCachedModel();
94  
95      public void setCachedModel(boolean cachedModel);
96  
97      public boolean isEscapedModel();
98  
99      public void setEscapedModel(boolean escapedModel);
100 
101     public Serializable getPrimaryKeyObj();
102 
103     public Object clone();
104 
105     public int compareTo(ShoppingOrderItem shoppingOrderItem);
106 
107     public int hashCode();
108 
109     public String toString();
110 
111     public String toXmlString();
112 }