1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portal.model;
16  
17  /**
18   * <a href="ListTypeSoap.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link ListType}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       ListType
31   * @generated
32   */
33  public class ListTypeWrapper implements ListType {
34      public ListTypeWrapper(ListType listType) {
35          _listType = listType;
36      }
37  
38      public int getPrimaryKey() {
39          return _listType.getPrimaryKey();
40      }
41  
42      public void setPrimaryKey(int pk) {
43          _listType.setPrimaryKey(pk);
44      }
45  
46      public int getListTypeId() {
47          return _listType.getListTypeId();
48      }
49  
50      public void setListTypeId(int listTypeId) {
51          _listType.setListTypeId(listTypeId);
52      }
53  
54      public java.lang.String getName() {
55          return _listType.getName();
56      }
57  
58      public void setName(java.lang.String name) {
59          _listType.setName(name);
60      }
61  
62      public java.lang.String getType() {
63          return _listType.getType();
64      }
65  
66      public void setType(java.lang.String type) {
67          _listType.setType(type);
68      }
69  
70      public boolean isNew() {
71          return _listType.isNew();
72      }
73  
74      public boolean setNew(boolean n) {
75          return _listType.setNew(n);
76      }
77  
78      public boolean isCachedModel() {
79          return _listType.isCachedModel();
80      }
81  
82      public void setCachedModel(boolean cachedModel) {
83          _listType.setCachedModel(cachedModel);
84      }
85  
86      public boolean isEscapedModel() {
87          return _listType.isEscapedModel();
88      }
89  
90      public void setEscapedModel(boolean escapedModel) {
91          _listType.setEscapedModel(escapedModel);
92      }
93  
94      public java.io.Serializable getPrimaryKeyObj() {
95          return _listType.getPrimaryKeyObj();
96      }
97  
98      public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
99          return _listType.getExpandoBridge();
100     }
101 
102     public void setExpandoBridgeAttributes(
103         com.liferay.portal.service.ServiceContext serviceContext) {
104         _listType.setExpandoBridgeAttributes(serviceContext);
105     }
106 
107     public java.lang.Object clone() {
108         return _listType.clone();
109     }
110 
111     public int compareTo(com.liferay.portal.model.ListType listType) {
112         return _listType.compareTo(listType);
113     }
114 
115     public int hashCode() {
116         return _listType.hashCode();
117     }
118 
119     public com.liferay.portal.model.ListType toEscapedModel() {
120         return _listType.toEscapedModel();
121     }
122 
123     public java.lang.String toString() {
124         return _listType.toString();
125     }
126 
127     public java.lang.String toXmlString() {
128         return _listType.toXmlString();
129     }
130 
131     public ListType getWrappedListType() {
132         return _listType;
133     }
134 
135     private ListType _listType;
136 }