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="ResourceCodeSoap.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 ResourceCode}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       ResourceCode
32   * @generated
33   */
34  public class ResourceCodeWrapper implements ResourceCode {
35      public ResourceCodeWrapper(ResourceCode resourceCode) {
36          _resourceCode = resourceCode;
37      }
38  
39      public long getPrimaryKey() {
40          return _resourceCode.getPrimaryKey();
41      }
42  
43      public void setPrimaryKey(long pk) {
44          _resourceCode.setPrimaryKey(pk);
45      }
46  
47      public long getCodeId() {
48          return _resourceCode.getCodeId();
49      }
50  
51      public void setCodeId(long codeId) {
52          _resourceCode.setCodeId(codeId);
53      }
54  
55      public long getCompanyId() {
56          return _resourceCode.getCompanyId();
57      }
58  
59      public void setCompanyId(long companyId) {
60          _resourceCode.setCompanyId(companyId);
61      }
62  
63      public java.lang.String getName() {
64          return _resourceCode.getName();
65      }
66  
67      public void setName(java.lang.String name) {
68          _resourceCode.setName(name);
69      }
70  
71      public int getScope() {
72          return _resourceCode.getScope();
73      }
74  
75      public void setScope(int scope) {
76          _resourceCode.setScope(scope);
77      }
78  
79      public com.liferay.portal.model.ResourceCode toEscapedModel() {
80          return _resourceCode.toEscapedModel();
81      }
82  
83      public boolean isNew() {
84          return _resourceCode.isNew();
85      }
86  
87      public boolean setNew(boolean n) {
88          return _resourceCode.setNew(n);
89      }
90  
91      public boolean isCachedModel() {
92          return _resourceCode.isCachedModel();
93      }
94  
95      public void setCachedModel(boolean cachedModel) {
96          _resourceCode.setCachedModel(cachedModel);
97      }
98  
99      public boolean isEscapedModel() {
100         return _resourceCode.isEscapedModel();
101     }
102 
103     public void setEscapedModel(boolean escapedModel) {
104         _resourceCode.setEscapedModel(escapedModel);
105     }
106 
107     public java.io.Serializable getPrimaryKeyObj() {
108         return _resourceCode.getPrimaryKeyObj();
109     }
110 
111     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
112         return _resourceCode.getExpandoBridge();
113     }
114 
115     public void setExpandoBridgeAttributes(
116         com.liferay.portal.service.ServiceContext serviceContext) {
117         _resourceCode.setExpandoBridgeAttributes(serviceContext);
118     }
119 
120     public java.lang.Object clone() {
121         return _resourceCode.clone();
122     }
123 
124     public int compareTo(com.liferay.portal.model.ResourceCode resourceCode) {
125         return _resourceCode.compareTo(resourceCode);
126     }
127 
128     public int hashCode() {
129         return _resourceCode.hashCode();
130     }
131 
132     public java.lang.String toString() {
133         return _resourceCode.toString();
134     }
135 
136     public java.lang.String toXmlString() {
137         return _resourceCode.toXmlString();
138     }
139 
140     public ResourceCode getWrappedResourceCode() {
141         return _resourceCode;
142     }
143 
144     private ResourceCode _resourceCode;
145 }