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     * The base model interface for the ShoppingItemField service. Represents a row in the "ShoppingItemField" database table, with each column mapped to a property of this class.
027     *
028     * <p>
029     * This interface and its corresponding implementation {@link com.liferay.portlet.shopping.model.impl.ShoppingItemFieldModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.portlet.shopping.model.impl.ShoppingItemFieldImpl}.
030     * </p>
031     *
032     * <p>
033     * Never modify or reference this interface directly. All methods that expect a shopping item field model instance should use the {@link ShoppingItemField} interface instead.
034     * </p>
035     *
036     * @author Brian Wing Shun Chan
037     * @see ShoppingItemField
038     * @see com.liferay.portlet.shopping.model.impl.ShoppingItemFieldImpl
039     * @see com.liferay.portlet.shopping.model.impl.ShoppingItemFieldModelImpl
040     * @generated
041     */
042    public interface ShoppingItemFieldModel extends BaseModel<ShoppingItemField> {
043            /**
044             * Gets the primary key of this shopping item field.
045             *
046             * @return the primary key of this shopping item field
047             */
048            public long getPrimaryKey();
049    
050            /**
051             * Sets the primary key of this shopping item field
052             *
053             * @param pk the primary key of this shopping item field
054             */
055            public void setPrimaryKey(long pk);
056    
057            /**
058             * Gets the item field id of this shopping item field.
059             *
060             * @return the item field id of this shopping item field
061             */
062            public long getItemFieldId();
063    
064            /**
065             * Sets the item field id of this shopping item field.
066             *
067             * @param itemFieldId the item field id of this shopping item field
068             */
069            public void setItemFieldId(long itemFieldId);
070    
071            /**
072             * Gets the item id of this shopping item field.
073             *
074             * @return the item id of this shopping item field
075             */
076            public long getItemId();
077    
078            /**
079             * Sets the item id of this shopping item field.
080             *
081             * @param itemId the item id of this shopping item field
082             */
083            public void setItemId(long itemId);
084    
085            /**
086             * Gets the name of this shopping item field.
087             *
088             * @return the name of this shopping item field
089             */
090            @AutoEscape
091            public String getName();
092    
093            /**
094             * Sets the name of this shopping item field.
095             *
096             * @param name the name of this shopping item field
097             */
098            public void setName(String name);
099    
100            /**
101             * Gets the values of this shopping item field.
102             *
103             * @return the values of this shopping item field
104             */
105            @AutoEscape
106            public String getValues();
107    
108            /**
109             * Sets the values of this shopping item field.
110             *
111             * @param values the values of this shopping item field
112             */
113            public void setValues(String values);
114    
115            /**
116             * Gets the description of this shopping item field.
117             *
118             * @return the description of this shopping item field
119             */
120            @AutoEscape
121            public String getDescription();
122    
123            /**
124             * Sets the description of this shopping item field.
125             *
126             * @param description the description of this shopping item field
127             */
128            public void setDescription(String description);
129    
130            /**
131             * Gets a copy of this shopping item field as an escaped model instance by wrapping it with an {@link com.liferay.portal.kernel.bean.AutoEscapeBeanHandler}.
132             *
133             * @return the escaped model instance
134             * @see com.liferay.portal.kernel.bean.AutoEscapeBeanHandler
135             */
136            public ShoppingItemField toEscapedModel();
137    
138            public boolean isNew();
139    
140            public void setNew(boolean n);
141    
142            public boolean isCachedModel();
143    
144            public void setCachedModel(boolean cachedModel);
145    
146            public boolean isEscapedModel();
147    
148            public void setEscapedModel(boolean escapedModel);
149    
150            public Serializable getPrimaryKeyObj();
151    
152            public ExpandoBridge getExpandoBridge();
153    
154            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
155    
156            public Object clone();
157    
158            public int compareTo(ShoppingItemField shoppingItemField);
159    
160            public int hashCode();
161    
162            public String toString();
163    
164            public String toXmlString();
165    }