001    /**
002     * Copyright (c) 2000-2013 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.bean.AutoEscape;
018    import com.liferay.portal.model.BaseModel;
019    import com.liferay.portal.model.CacheModel;
020    import com.liferay.portal.service.ServiceContext;
021    
022    import com.liferay.portlet.expando.model.ExpandoBridge;
023    
024    import java.io.Serializable;
025    
026    /**
027     * 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.
028     *
029     * <p>
030     * 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}.
031     * </p>
032     *
033     * @author Brian Wing Shun Chan
034     * @see ShoppingItemField
035     * @see com.liferay.portlet.shopping.model.impl.ShoppingItemFieldImpl
036     * @see com.liferay.portlet.shopping.model.impl.ShoppingItemFieldModelImpl
037     * @generated
038     */
039    public interface ShoppingItemFieldModel extends BaseModel<ShoppingItemField> {
040            /*
041             * NOTE FOR DEVELOPERS:
042             *
043             * Never modify or reference this interface directly. All methods that expect a shopping item field model instance should use the {@link ShoppingItemField} interface instead.
044             */
045    
046            /**
047             * Returns the primary key of this shopping item field.
048             *
049             * @return the primary key of this shopping item field
050             */
051            public long getPrimaryKey();
052    
053            /**
054             * Sets the primary key of this shopping item field.
055             *
056             * @param primaryKey the primary key of this shopping item field
057             */
058            public void setPrimaryKey(long primaryKey);
059    
060            /**
061             * Returns the item field ID of this shopping item field.
062             *
063             * @return the item field ID of this shopping item field
064             */
065            public long getItemFieldId();
066    
067            /**
068             * Sets the item field ID of this shopping item field.
069             *
070             * @param itemFieldId the item field ID of this shopping item field
071             */
072            public void setItemFieldId(long itemFieldId);
073    
074            /**
075             * Returns the item ID of this shopping item field.
076             *
077             * @return the item ID of this shopping item field
078             */
079            public long getItemId();
080    
081            /**
082             * Sets the item ID of this shopping item field.
083             *
084             * @param itemId the item ID of this shopping item field
085             */
086            public void setItemId(long itemId);
087    
088            /**
089             * Returns the name of this shopping item field.
090             *
091             * @return the name of this shopping item field
092             */
093            @AutoEscape
094            public String getName();
095    
096            /**
097             * Sets the name of this shopping item field.
098             *
099             * @param name the name of this shopping item field
100             */
101            public void setName(String name);
102    
103            /**
104             * Returns the values of this shopping item field.
105             *
106             * @return the values of this shopping item field
107             */
108            @AutoEscape
109            public String getValues();
110    
111            /**
112             * Sets the values of this shopping item field.
113             *
114             * @param values the values of this shopping item field
115             */
116            public void setValues(String values);
117    
118            /**
119             * Returns the description of this shopping item field.
120             *
121             * @return the description of this shopping item field
122             */
123            @AutoEscape
124            public String getDescription();
125    
126            /**
127             * Sets the description of this shopping item field.
128             *
129             * @param description the description of this shopping item field
130             */
131            public void setDescription(String description);
132    
133            public boolean isNew();
134    
135            public void setNew(boolean n);
136    
137            public boolean isCachedModel();
138    
139            public void setCachedModel(boolean cachedModel);
140    
141            public boolean isEscapedModel();
142    
143            public Serializable getPrimaryKeyObj();
144    
145            public void setPrimaryKeyObj(Serializable primaryKeyObj);
146    
147            public ExpandoBridge getExpandoBridge();
148    
149            public void setExpandoBridgeAttributes(ServiceContext serviceContext);
150    
151            public Object clone();
152    
153            public int compareTo(ShoppingItemField shoppingItemField);
154    
155            public int hashCode();
156    
157            public CacheModel<ShoppingItemField> toCacheModel();
158    
159            public ShoppingItemField toEscapedModel();
160    
161            public ShoppingItemField toUnescapedModel();
162    
163            public String toString();
164    
165            public String toXmlString();
166    }