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    /**
026     * <p>
027     * This interface is a model that represents the ShoppingItemField table in the
028     * database.
029     * </p>
030     *
031     * @author    Brian Wing Shun Chan
032     * @see       ShoppingItemField
033     * @see       com.liferay.portlet.shopping.model.impl.ShoppingItemFieldImpl
034     * @see       com.liferay.portlet.shopping.model.impl.ShoppingItemFieldModelImpl
035     * @generated
036     */
037    public interface ShoppingItemFieldModel extends BaseModel<ShoppingItemField> {
038            public long getPrimaryKey();
039    
040            public void setPrimaryKey(long pk);
041    
042            public long getItemFieldId();
043    
044            public void setItemFieldId(long itemFieldId);
045    
046            public long getItemId();
047    
048            public void setItemId(long itemId);
049    
050            @AutoEscape
051            public String getName();
052    
053            public void setName(String name);
054    
055            @AutoEscape
056            public String getValues();
057    
058            public void setValues(String values);
059    
060            @AutoEscape
061            public String getDescription();
062    
063            public void setDescription(String description);
064    
065            public ShoppingItemField toEscapedModel();
066    
067            public boolean isNew();
068    
069            public void setNew(boolean n);
070    
071            public boolean isCachedModel();
072    
073            public void setCachedModel(boolean cachedModel);
074    
075            public boolean isEscapedModel();
076    
077            public void setEscapedModel(boolean escapedModel);
078    
079            public Serializable getPrimaryKeyObj();
080    
081            public ExpandoBridge getExpandoBridge();
082    
083            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
084    
085            public Object clone();
086    
087            public int compareTo(ShoppingItemField shoppingItemField);
088    
089            public int hashCode();
090    
091            public String toString();
092    
093            public String toXmlString();
094    }