1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.model;
16  
17  
18  /**
19   * <a href="ListTypeSoap.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link ListType}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       ListType
32   * @generated
33   */
34  public class ListTypeWrapper implements ListType {
35      public ListTypeWrapper(ListType listType) {
36          _listType = listType;
37      }
38  
39      public int getPrimaryKey() {
40          return _listType.getPrimaryKey();
41      }
42  
43      public void setPrimaryKey(int pk) {
44          _listType.setPrimaryKey(pk);
45      }
46  
47      public int getListTypeId() {
48          return _listType.getListTypeId();
49      }
50  
51      public void setListTypeId(int listTypeId) {
52          _listType.setListTypeId(listTypeId);
53      }
54  
55      public java.lang.String getName() {
56          return _listType.getName();
57      }
58  
59      public void setName(java.lang.String name) {
60          _listType.setName(name);
61      }
62  
63      public java.lang.String getType() {
64          return _listType.getType();
65      }
66  
67      public void setType(java.lang.String type) {
68          _listType.setType(type);
69      }
70  
71      public com.liferay.portal.model.ListType toEscapedModel() {
72          return _listType.toEscapedModel();
73      }
74  
75      public boolean isNew() {
76          return _listType.isNew();
77      }
78  
79      public boolean setNew(boolean n) {
80          return _listType.setNew(n);
81      }
82  
83      public boolean isCachedModel() {
84          return _listType.isCachedModel();
85      }
86  
87      public void setCachedModel(boolean cachedModel) {
88          _listType.setCachedModel(cachedModel);
89      }
90  
91      public boolean isEscapedModel() {
92          return _listType.isEscapedModel();
93      }
94  
95      public void setEscapedModel(boolean escapedModel) {
96          _listType.setEscapedModel(escapedModel);
97      }
98  
99      public java.io.Serializable getPrimaryKeyObj() {
100         return _listType.getPrimaryKeyObj();
101     }
102 
103     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
104         return _listType.getExpandoBridge();
105     }
106 
107     public void setExpandoBridgeAttributes(
108         com.liferay.portal.service.ServiceContext serviceContext) {
109         _listType.setExpandoBridgeAttributes(serviceContext);
110     }
111 
112     public java.lang.Object clone() {
113         return _listType.clone();
114     }
115 
116     public int compareTo(com.liferay.portal.model.ListType listType) {
117         return _listType.compareTo(listType);
118     }
119 
120     public int hashCode() {
121         return _listType.hashCode();
122     }
123 
124     public java.lang.String toString() {
125         return _listType.toString();
126     }
127 
128     public java.lang.String toXmlString() {
129         return _listType.toXmlString();
130     }
131 
132     public ListType getWrappedListType() {
133         return _listType;
134     }
135 
136     private ListType _listType;
137 }