001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.shopping.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link ShoppingItemField}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       ShoppingItemField
024     * @generated
025     */
026    public class ShoppingItemFieldWrapper implements ShoppingItemField {
027            public ShoppingItemFieldWrapper(ShoppingItemField shoppingItemField) {
028                    _shoppingItemField = shoppingItemField;
029            }
030    
031            /**
032            * Gets the primary key of this shopping item field.
033            *
034            * @return the primary key of this shopping item field
035            */
036            public long getPrimaryKey() {
037                    return _shoppingItemField.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this shopping item field
042            *
043            * @param pk the primary key of this shopping item field
044            */
045            public void setPrimaryKey(long pk) {
046                    _shoppingItemField.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the item field id of this shopping item field.
051            *
052            * @return the item field id of this shopping item field
053            */
054            public long getItemFieldId() {
055                    return _shoppingItemField.getItemFieldId();
056            }
057    
058            /**
059            * Sets the item field id of this shopping item field.
060            *
061            * @param itemFieldId the item field id of this shopping item field
062            */
063            public void setItemFieldId(long itemFieldId) {
064                    _shoppingItemField.setItemFieldId(itemFieldId);
065            }
066    
067            /**
068            * Gets the item id of this shopping item field.
069            *
070            * @return the item id of this shopping item field
071            */
072            public long getItemId() {
073                    return _shoppingItemField.getItemId();
074            }
075    
076            /**
077            * Sets the item id of this shopping item field.
078            *
079            * @param itemId the item id of this shopping item field
080            */
081            public void setItemId(long itemId) {
082                    _shoppingItemField.setItemId(itemId);
083            }
084    
085            /**
086            * Gets the name of this shopping item field.
087            *
088            * @return the name of this shopping item field
089            */
090            public java.lang.String getName() {
091                    return _shoppingItemField.getName();
092            }
093    
094            /**
095            * Sets the name of this shopping item field.
096            *
097            * @param name the name of this shopping item field
098            */
099            public void setName(java.lang.String name) {
100                    _shoppingItemField.setName(name);
101            }
102    
103            /**
104            * Gets the values of this shopping item field.
105            *
106            * @return the values of this shopping item field
107            */
108            public java.lang.String getValues() {
109                    return _shoppingItemField.getValues();
110            }
111    
112            /**
113            * Sets the values of this shopping item field.
114            *
115            * @param values the values of this shopping item field
116            */
117            public void setValues(java.lang.String values) {
118                    _shoppingItemField.setValues(values);
119            }
120    
121            /**
122            * Gets the description of this shopping item field.
123            *
124            * @return the description of this shopping item field
125            */
126            public java.lang.String getDescription() {
127                    return _shoppingItemField.getDescription();
128            }
129    
130            /**
131            * Sets the description of this shopping item field.
132            *
133            * @param description the description of this shopping item field
134            */
135            public void setDescription(java.lang.String description) {
136                    _shoppingItemField.setDescription(description);
137            }
138    
139            public boolean isNew() {
140                    return _shoppingItemField.isNew();
141            }
142    
143            public void setNew(boolean n) {
144                    _shoppingItemField.setNew(n);
145            }
146    
147            public boolean isCachedModel() {
148                    return _shoppingItemField.isCachedModel();
149            }
150    
151            public void setCachedModel(boolean cachedModel) {
152                    _shoppingItemField.setCachedModel(cachedModel);
153            }
154    
155            public boolean isEscapedModel() {
156                    return _shoppingItemField.isEscapedModel();
157            }
158    
159            public void setEscapedModel(boolean escapedModel) {
160                    _shoppingItemField.setEscapedModel(escapedModel);
161            }
162    
163            public java.io.Serializable getPrimaryKeyObj() {
164                    return _shoppingItemField.getPrimaryKeyObj();
165            }
166    
167            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
168                    return _shoppingItemField.getExpandoBridge();
169            }
170    
171            public void setExpandoBridgeAttributes(
172                    com.liferay.portal.service.ServiceContext serviceContext) {
173                    _shoppingItemField.setExpandoBridgeAttributes(serviceContext);
174            }
175    
176            public java.lang.Object clone() {
177                    return _shoppingItemField.clone();
178            }
179    
180            public int compareTo(
181                    com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField) {
182                    return _shoppingItemField.compareTo(shoppingItemField);
183            }
184    
185            public int hashCode() {
186                    return _shoppingItemField.hashCode();
187            }
188    
189            public com.liferay.portlet.shopping.model.ShoppingItemField toEscapedModel() {
190                    return _shoppingItemField.toEscapedModel();
191            }
192    
193            public java.lang.String toString() {
194                    return _shoppingItemField.toString();
195            }
196    
197            public java.lang.String toXmlString() {
198                    return _shoppingItemField.toXmlString();
199            }
200    
201            public java.lang.String[] getValuesArray() {
202                    return _shoppingItemField.getValuesArray();
203            }
204    
205            public void setValuesArray(java.lang.String[] valuesArray) {
206                    _shoppingItemField.setValuesArray(valuesArray);
207            }
208    
209            public ShoppingItemField getWrappedShoppingItemField() {
210                    return _shoppingItemField;
211            }
212    
213            private ShoppingItemField _shoppingItemField;
214    }