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.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            public int getPrimaryKey() {
032                    return _listType.getPrimaryKey();
033            }
034    
035            public void setPrimaryKey(int pk) {
036                    _listType.setPrimaryKey(pk);
037            }
038    
039            public int getListTypeId() {
040                    return _listType.getListTypeId();
041            }
042    
043            public void setListTypeId(int listTypeId) {
044                    _listType.setListTypeId(listTypeId);
045            }
046    
047            public java.lang.String getName() {
048                    return _listType.getName();
049            }
050    
051            public void setName(java.lang.String name) {
052                    _listType.setName(name);
053            }
054    
055            public java.lang.String getType() {
056                    return _listType.getType();
057            }
058    
059            public void setType(java.lang.String type) {
060                    _listType.setType(type);
061            }
062    
063            public com.liferay.portal.model.ListType toEscapedModel() {
064                    return _listType.toEscapedModel();
065            }
066    
067            public boolean isNew() {
068                    return _listType.isNew();
069            }
070    
071            public void setNew(boolean n) {
072                    _listType.setNew(n);
073            }
074    
075            public boolean isCachedModel() {
076                    return _listType.isCachedModel();
077            }
078    
079            public void setCachedModel(boolean cachedModel) {
080                    _listType.setCachedModel(cachedModel);
081            }
082    
083            public boolean isEscapedModel() {
084                    return _listType.isEscapedModel();
085            }
086    
087            public void setEscapedModel(boolean escapedModel) {
088                    _listType.setEscapedModel(escapedModel);
089            }
090    
091            public java.io.Serializable getPrimaryKeyObj() {
092                    return _listType.getPrimaryKeyObj();
093            }
094    
095            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
096                    return _listType.getExpandoBridge();
097            }
098    
099            public void setExpandoBridgeAttributes(
100                    com.liferay.portal.service.ServiceContext serviceContext) {
101                    _listType.setExpandoBridgeAttributes(serviceContext);
102            }
103    
104            public java.lang.Object clone() {
105                    return _listType.clone();
106            }
107    
108            public int compareTo(com.liferay.portal.model.ListType listType) {
109                    return _listType.compareTo(listType);
110            }
111    
112            public int hashCode() {
113                    return _listType.hashCode();
114            }
115    
116            public java.lang.String toString() {
117                    return _listType.toString();
118            }
119    
120            public java.lang.String toXmlString() {
121                    return _listType.toXmlString();
122            }
123    
124            public ListType getWrappedListType() {
125                    return _listType;
126            }
127    
128            private ListType _listType;
129    }