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