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