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.kernel.annotation.AutoEscape;
18  import com.liferay.portal.model.BaseModel;
19  import com.liferay.portal.service.ServiceContext;
20  
21  import com.liferay.portlet.expando.model.ExpandoBridge;
22  
23  import java.io.Serializable;
24  
25  import java.util.Date;
26  
27  /**
28   * <a href="ShoppingOrderItemModel.java.html"><b><i>View Source</i></b></a>
29   *
30   * <p>
31   * ServiceBuilder generated this class. Modifications in this class will be
32   * overwritten the next time is generated.
33   * </p>
34   *
35   * <p>
36   * This interface is a model that represents the ShoppingOrderItem table in the
37   * database.
38   * </p>
39   *
40   * @author    Brian Wing Shun Chan
41   * @see       ShoppingOrderItem
42   * @see       com.liferay.portlet.shopping.model.impl.ShoppingOrderItemImpl
43   * @see       com.liferay.portlet.shopping.model.impl.ShoppingOrderItemModelImpl
44   * @generated
45   */
46  public interface ShoppingOrderItemModel extends BaseModel<ShoppingOrderItem> {
47      public long getPrimaryKey();
48  
49      public void setPrimaryKey(long pk);
50  
51      public long getOrderItemId();
52  
53      public void setOrderItemId(long orderItemId);
54  
55      public long getOrderId();
56  
57      public void setOrderId(long orderId);
58  
59      @AutoEscape
60      public String getItemId();
61  
62      public void setItemId(String itemId);
63  
64      @AutoEscape
65      public String getSku();
66  
67      public void setSku(String sku);
68  
69      @AutoEscape
70      public String getName();
71  
72      public void setName(String name);
73  
74      @AutoEscape
75      public String getDescription();
76  
77      public void setDescription(String description);
78  
79      @AutoEscape
80      public String getProperties();
81  
82      public void setProperties(String properties);
83  
84      public double getPrice();
85  
86      public void setPrice(double price);
87  
88      public int getQuantity();
89  
90      public void setQuantity(int quantity);
91  
92      public Date getShippedDate();
93  
94      public void setShippedDate(Date shippedDate);
95  
96      public boolean isNew();
97  
98      public boolean setNew(boolean n);
99  
100     public boolean isCachedModel();
101 
102     public void setCachedModel(boolean cachedModel);
103 
104     public boolean isEscapedModel();
105 
106     public void setEscapedModel(boolean escapedModel);
107 
108     public Serializable getPrimaryKeyObj();
109 
110     public ExpandoBridge getExpandoBridge();
111 
112     public void setExpandoBridgeAttributes(ServiceContext serviceContext);
113 
114     public Object clone();
115 
116     public int compareTo(ShoppingOrderItem shoppingOrderItem);
117 
118     public int hashCode();
119 
120     public ShoppingOrderItem toEscapedModel();
121 
122     public String toString();
123 
124     public String toXmlString();
125 }