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.portal.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link ListType}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       ListType
024     * @generated
025     */
026    public class ListTypeWrapper implements ListType {
027            public ListTypeWrapper(ListType listType) {
028                    _listType = listType;
029            }
030    
031            /**
032            * Gets the primary key of this list type.
033            *
034            * @return the primary key of this list type
035            */
036            public int getPrimaryKey() {
037                    return _listType.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this list type
042            *
043            * @param pk the primary key of this list type
044            */
045            public void setPrimaryKey(int pk) {
046                    _listType.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the list type id of this list type.
051            *
052            * @return the list type id of this list type
053            */
054            public int getListTypeId() {
055                    return _listType.getListTypeId();
056            }
057    
058            /**
059            * Sets the list type id of this list type.
060            *
061            * @param listTypeId the list type id of this list type
062            */
063            public void setListTypeId(int listTypeId) {
064                    _listType.setListTypeId(listTypeId);
065            }
066    
067            /**
068            * Gets the name of this list type.
069            *
070            * @return the name of this list type
071            */
072            public java.lang.String getName() {
073                    return _listType.getName();
074            }
075    
076            /**
077            * Sets the name of this list type.
078            *
079            * @param name the name of this list type
080            */
081            public void setName(java.lang.String name) {
082                    _listType.setName(name);
083            }
084    
085            /**
086            * Gets the type of this list type.
087            *
088            * @return the type of this list type
089            */
090            public java.lang.String getType() {
091                    return _listType.getType();
092            }
093    
094            /**
095            * Sets the type of this list type.
096            *
097            * @param type the type of this list type
098            */
099            public void setType(java.lang.String type) {
100                    _listType.setType(type);
101            }
102    
103            public boolean isNew() {
104                    return _listType.isNew();
105            }
106    
107            public void setNew(boolean n) {
108                    _listType.setNew(n);
109            }
110    
111            public boolean isCachedModel() {
112                    return _listType.isCachedModel();
113            }
114    
115            public void setCachedModel(boolean cachedModel) {
116                    _listType.setCachedModel(cachedModel);
117            }
118    
119            public boolean isEscapedModel() {
120                    return _listType.isEscapedModel();
121            }
122    
123            public void setEscapedModel(boolean escapedModel) {
124                    _listType.setEscapedModel(escapedModel);
125            }
126    
127            public java.io.Serializable getPrimaryKeyObj() {
128                    return _listType.getPrimaryKeyObj();
129            }
130    
131            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
132                    return _listType.getExpandoBridge();
133            }
134    
135            public void setExpandoBridgeAttributes(
136                    com.liferay.portal.service.ServiceContext serviceContext) {
137                    _listType.setExpandoBridgeAttributes(serviceContext);
138            }
139    
140            public java.lang.Object clone() {
141                    return _listType.clone();
142            }
143    
144            public int compareTo(com.liferay.portal.model.ListType listType) {
145                    return _listType.compareTo(listType);
146            }
147    
148            public int hashCode() {
149                    return _listType.hashCode();
150            }
151    
152            public com.liferay.portal.model.ListType toEscapedModel() {
153                    return _listType.toEscapedModel();
154            }
155    
156            public java.lang.String toString() {
157                    return _listType.toString();
158            }
159    
160            public java.lang.String toXmlString() {
161                    return _listType.toXmlString();
162            }
163    
164            public ListType getWrappedListType() {
165                    return _listType;
166            }
167    
168            private ListType _listType;
169    }