001
014
015 package com.liferay.portal.model;
016
017
026 public class ListTypeWrapper implements ListType, ModelWrapper<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 java.io.Serializable getPrimaryKeyObj() {
132 return _listType.getPrimaryKeyObj();
133 }
134
135 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
136 _listType.setPrimaryKeyObj(primaryKeyObj);
137 }
138
139 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
140 return _listType.getExpandoBridge();
141 }
142
143 public void setExpandoBridgeAttributes(
144 com.liferay.portal.service.ServiceContext serviceContext) {
145 _listType.setExpandoBridgeAttributes(serviceContext);
146 }
147
148 @Override
149 public java.lang.Object clone() {
150 return new ListTypeWrapper((ListType)_listType.clone());
151 }
152
153 public int compareTo(com.liferay.portal.model.ListType listType) {
154 return _listType.compareTo(listType);
155 }
156
157 @Override
158 public int hashCode() {
159 return _listType.hashCode();
160 }
161
162 public com.liferay.portal.model.CacheModel<com.liferay.portal.model.ListType> toCacheModel() {
163 return _listType.toCacheModel();
164 }
165
166 public com.liferay.portal.model.ListType toEscapedModel() {
167 return new ListTypeWrapper(_listType.toEscapedModel());
168 }
169
170 @Override
171 public java.lang.String toString() {
172 return _listType.toString();
173 }
174
175 public java.lang.String toXmlString() {
176 return _listType.toXmlString();
177 }
178
179
182 public ListType getWrappedListType() {
183 return _listType;
184 }
185
186 public ListType getWrappedModel() {
187 return _listType;
188 }
189
190 public void resetOriginalValues() {
191 _listType.resetOriginalValues();
192 }
193
194 private ListType _listType;
195 }