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