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