001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.shopping.model;
016    
017    import com.liferay.portal.kernel.annotation.AutoEscape;
018    import com.liferay.portal.model.BaseModel;
019    import com.liferay.portal.service.ServiceContext;
020    
021    import com.liferay.portlet.expando.model.ExpandoBridge;
022    
023    import java.io.Serializable;
024    
025    import java.util.Date;
026    
027    /**
028     * <p>
029     * This interface is a model that represents the ShoppingOrderItem table in the
030     * database.
031     * </p>
032     *
033     * @author    Brian Wing Shun Chan
034     * @see       ShoppingOrderItem
035     * @see       com.liferay.portlet.shopping.model.impl.ShoppingOrderItemImpl
036     * @see       com.liferay.portlet.shopping.model.impl.ShoppingOrderItemModelImpl
037     * @generated
038     */
039    public interface ShoppingOrderItemModel extends BaseModel<ShoppingOrderItem> {
040            public long getPrimaryKey();
041    
042            public void setPrimaryKey(long pk);
043    
044            public long getOrderItemId();
045    
046            public void setOrderItemId(long orderItemId);
047    
048            public long getOrderId();
049    
050            public void setOrderId(long orderId);
051    
052            @AutoEscape
053            public String getItemId();
054    
055            public void setItemId(String itemId);
056    
057            @AutoEscape
058            public String getSku();
059    
060            public void setSku(String sku);
061    
062            @AutoEscape
063            public String getName();
064    
065            public void setName(String name);
066    
067            @AutoEscape
068            public String getDescription();
069    
070            public void setDescription(String description);
071    
072            @AutoEscape
073            public String getProperties();
074    
075            public void setProperties(String properties);
076    
077            public double getPrice();
078    
079            public void setPrice(double price);
080    
081            public int getQuantity();
082    
083            public void setQuantity(int quantity);
084    
085            public Date getShippedDate();
086    
087            public void setShippedDate(Date shippedDate);
088    
089            public ShoppingOrderItem toEscapedModel();
090    
091            public boolean isNew();
092    
093            public void setNew(boolean n);
094    
095            public boolean isCachedModel();
096    
097            public void setCachedModel(boolean cachedModel);
098    
099            public boolean isEscapedModel();
100    
101            public void setEscapedModel(boolean escapedModel);
102    
103            public Serializable getPrimaryKeyObj();
104    
105            public ExpandoBridge getExpandoBridge();
106    
107            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
108    
109            public Object clone();
110    
111            public int compareTo(ShoppingOrderItem shoppingOrderItem);
112    
113            public int hashCode();
114    
115            public String toString();
116    
117            public String toXmlString();
118    }