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.portlet.softwarecatalog.model;
16  
17  
18  /**
19   * <a href="SCLicenseSoap.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 SCLicense}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       SCLicense
32   * @generated
33   */
34  public class SCLicenseWrapper implements SCLicense {
35      public SCLicenseWrapper(SCLicense scLicense) {
36          _scLicense = scLicense;
37      }
38  
39      public long getPrimaryKey() {
40          return _scLicense.getPrimaryKey();
41      }
42  
43      public void setPrimaryKey(long pk) {
44          _scLicense.setPrimaryKey(pk);
45      }
46  
47      public long getLicenseId() {
48          return _scLicense.getLicenseId();
49      }
50  
51      public void setLicenseId(long licenseId) {
52          _scLicense.setLicenseId(licenseId);
53      }
54  
55      public java.lang.String getName() {
56          return _scLicense.getName();
57      }
58  
59      public void setName(java.lang.String name) {
60          _scLicense.setName(name);
61      }
62  
63      public java.lang.String getUrl() {
64          return _scLicense.getUrl();
65      }
66  
67      public void setUrl(java.lang.String url) {
68          _scLicense.setUrl(url);
69      }
70  
71      public boolean getOpenSource() {
72          return _scLicense.getOpenSource();
73      }
74  
75      public boolean isOpenSource() {
76          return _scLicense.isOpenSource();
77      }
78  
79      public void setOpenSource(boolean openSource) {
80          _scLicense.setOpenSource(openSource);
81      }
82  
83      public boolean getActive() {
84          return _scLicense.getActive();
85      }
86  
87      public boolean isActive() {
88          return _scLicense.isActive();
89      }
90  
91      public void setActive(boolean active) {
92          _scLicense.setActive(active);
93      }
94  
95      public boolean getRecommended() {
96          return _scLicense.getRecommended();
97      }
98  
99      public boolean isRecommended() {
100         return _scLicense.isRecommended();
101     }
102 
103     public void setRecommended(boolean recommended) {
104         _scLicense.setRecommended(recommended);
105     }
106 
107     public com.liferay.portlet.softwarecatalog.model.SCLicense toEscapedModel() {
108         return _scLicense.toEscapedModel();
109     }
110 
111     public boolean isNew() {
112         return _scLicense.isNew();
113     }
114 
115     public boolean setNew(boolean n) {
116         return _scLicense.setNew(n);
117     }
118 
119     public boolean isCachedModel() {
120         return _scLicense.isCachedModel();
121     }
122 
123     public void setCachedModel(boolean cachedModel) {
124         _scLicense.setCachedModel(cachedModel);
125     }
126 
127     public boolean isEscapedModel() {
128         return _scLicense.isEscapedModel();
129     }
130 
131     public void setEscapedModel(boolean escapedModel) {
132         _scLicense.setEscapedModel(escapedModel);
133     }
134 
135     public java.io.Serializable getPrimaryKeyObj() {
136         return _scLicense.getPrimaryKeyObj();
137     }
138 
139     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
140         return _scLicense.getExpandoBridge();
141     }
142 
143     public void setExpandoBridgeAttributes(
144         com.liferay.portal.service.ServiceContext serviceContext) {
145         _scLicense.setExpandoBridgeAttributes(serviceContext);
146     }
147 
148     public java.lang.Object clone() {
149         return _scLicense.clone();
150     }
151 
152     public int compareTo(
153         com.liferay.portlet.softwarecatalog.model.SCLicense scLicense) {
154         return _scLicense.compareTo(scLicense);
155     }
156 
157     public int hashCode() {
158         return _scLicense.hashCode();
159     }
160 
161     public java.lang.String toString() {
162         return _scLicense.toString();
163     }
164 
165     public java.lang.String toXmlString() {
166         return _scLicense.toXmlString();
167     }
168 
169     public SCLicense getWrappedSCLicense() {
170         return _scLicense;
171     }
172 
173     private SCLicense _scLicense;
174 }