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