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    /**
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            public long getPrimaryKey() {
032                    return _shoppingItemField.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(long pk) {
036                    _shoppingItemField.setPrimaryKey(pk);
037            }
038    
039            public long getItemFieldId() {
040                    return _shoppingItemField.getItemFieldId();
041            }
042    
043            public void setItemFieldId(long itemFieldId) {
044                    _shoppingItemField.setItemFieldId(itemFieldId);
045            }
046    
047            public long getItemId() {
048                    return _shoppingItemField.getItemId();
049            }
050    
051            public void setItemId(long itemId) {
052                    _shoppingItemField.setItemId(itemId);
053            }
054    
055            public java.lang.String getName() {
056                    return _shoppingItemField.getName();
057            }
058    
059            public void setName(java.lang.String name) {
060                    _shoppingItemField.setName(name);
061            }
062    
063            public java.lang.String getValues() {
064                    return _shoppingItemField.getValues();
065            }
066    
067            public void setValues(java.lang.String values) {
068                    _shoppingItemField.setValues(values);
069            }
070    
071            public java.lang.String getDescription() {
072                    return _shoppingItemField.getDescription();
073            }
074    
075            public void setDescription(java.lang.String description) {
076                    _shoppingItemField.setDescription(description);
077            }
078    
079            public com.liferay.portlet.shopping.model.ShoppingItemField toEscapedModel() {
080                    return _shoppingItemField.toEscapedModel();
081            }
082    
083            public boolean isNew() {
084                    return _shoppingItemField.isNew();
085            }
086    
087            public void setNew(boolean n) {
088                    _shoppingItemField.setNew(n);
089            }
090    
091            public boolean isCachedModel() {
092                    return _shoppingItemField.isCachedModel();
093            }
094    
095            public void setCachedModel(boolean cachedModel) {
096                    _shoppingItemField.setCachedModel(cachedModel);
097            }
098    
099            public boolean isEscapedModel() {
100                    return _shoppingItemField.isEscapedModel();
101            }
102    
103            public void setEscapedModel(boolean escapedModel) {
104                    _shoppingItemField.setEscapedModel(escapedModel);
105            }
106    
107            public java.io.Serializable getPrimaryKeyObj() {
108                    return _shoppingItemField.getPrimaryKeyObj();
109            }
110    
111            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
112                    return _shoppingItemField.getExpandoBridge();
113            }
114    
115            public void setExpandoBridgeAttributes(
116                    com.liferay.portal.service.ServiceContext serviceContext) {
117                    _shoppingItemField.setExpandoBridgeAttributes(serviceContext);
118            }
119    
120            public java.lang.Object clone() {
121                    return _shoppingItemField.clone();
122            }
123    
124            public int compareTo(
125                    com.liferay.portlet.shopping.model.ShoppingItemField shoppingItemField) {
126                    return _shoppingItemField.compareTo(shoppingItemField);
127            }
128    
129            public int hashCode() {
130                    return _shoppingItemField.hashCode();
131            }
132    
133            public java.lang.String toString() {
134                    return _shoppingItemField.toString();
135            }
136    
137            public java.lang.String toXmlString() {
138                    return _shoppingItemField.toXmlString();
139            }
140    
141            public java.lang.String[] getValuesArray() {
142                    return _shoppingItemField.getValuesArray();
143            }
144    
145            public void setValuesArray(java.lang.String[] valuesArray) {
146                    _shoppingItemField.setValuesArray(valuesArray);
147            }
148    
149            public ShoppingItemField getWrappedShoppingItemField() {
150                    return _shoppingItemField;
151            }
152    
153            private ShoppingItemField _shoppingItemField;
154    }