001
014
015 package com.liferay.portal.model;
016
017
026 public class ListTypeWrapper implements ListType {
027 public ListTypeWrapper(ListType listType) {
028 _listType = listType;
029 }
030
031 public Class<?> getModelClass() {
032 return ListType.class;
033 }
034
035 public String getModelClassName() {
036 return ListType.class.getName();
037 }
038
039
044 public int getPrimaryKey() {
045 return _listType.getPrimaryKey();
046 }
047
048
053 public void setPrimaryKey(int primaryKey) {
054 _listType.setPrimaryKey(primaryKey);
055 }
056
057
062 public int getListTypeId() {
063 return _listType.getListTypeId();
064 }
065
066
071 public void setListTypeId(int listTypeId) {
072 _listType.setListTypeId(listTypeId);
073 }
074
075
080 public java.lang.String getName() {
081 return _listType.getName();
082 }
083
084
089 public void setName(java.lang.String name) {
090 _listType.setName(name);
091 }
092
093
098 public java.lang.String getType() {
099 return _listType.getType();
100 }
101
102
107 public void setType(java.lang.String type) {
108 _listType.setType(type);
109 }
110
111 public boolean isNew() {
112 return _listType.isNew();
113 }
114
115 public void setNew(boolean n) {
116 _listType.setNew(n);
117 }
118
119 public boolean isCachedModel() {
120 return _listType.isCachedModel();
121 }
122
123 public void setCachedModel(boolean cachedModel) {
124 _listType.setCachedModel(cachedModel);
125 }
126
127 public boolean isEscapedModel() {
128 return _listType.isEscapedModel();
129 }
130
131 public void setEscapedModel(boolean escapedModel) {
132 _listType.setEscapedModel(escapedModel);
133 }
134
135 public java.io.Serializable getPrimaryKeyObj() {
136 return _listType.getPrimaryKeyObj();
137 }
138
139 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
140 _listType.setPrimaryKeyObj(primaryKeyObj);
141 }
142
143 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
144 return _listType.getExpandoBridge();
145 }
146
147 public void setExpandoBridgeAttributes(
148 com.liferay.portal.service.ServiceContext serviceContext) {
149 _listType.setExpandoBridgeAttributes(serviceContext);
150 }
151
152 @Override
153 public java.lang.Object clone() {
154 return new ListTypeWrapper((ListType)_listType.clone());
155 }
156
157 public int compareTo(com.liferay.portal.model.ListType listType) {
158 return _listType.compareTo(listType);
159 }
160
161 @Override
162 public int hashCode() {
163 return _listType.hashCode();
164 }
165
166 public com.liferay.portal.model.CacheModel<com.liferay.portal.model.ListType> toCacheModel() {
167 return _listType.toCacheModel();
168 }
169
170 public com.liferay.portal.model.ListType toEscapedModel() {
171 return new ListTypeWrapper(_listType.toEscapedModel());
172 }
173
174 @Override
175 public java.lang.String toString() {
176 return _listType.toString();
177 }
178
179 public java.lang.String toXmlString() {
180 return _listType.toXmlString();
181 }
182
183 public ListType getWrappedListType() {
184 return _listType;
185 }
186
187 public void resetOriginalValues() {
188 _listType.resetOriginalValues();
189 }
190
191 private ListType _listType;
192 }