001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portal.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link ServiceComponent}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       ServiceComponent
024     * @generated
025     */
026    public class ServiceComponentWrapper implements ServiceComponent {
027            public ServiceComponentWrapper(ServiceComponent serviceComponent) {
028                    _serviceComponent = serviceComponent;
029            }
030    
031            /**
032            * Gets the primary key of this service component.
033            *
034            * @return the primary key of this service component
035            */
036            public long getPrimaryKey() {
037                    return _serviceComponent.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this service component
042            *
043            * @param pk the primary key of this service component
044            */
045            public void setPrimaryKey(long pk) {
046                    _serviceComponent.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the service component id of this service component.
051            *
052            * @return the service component id of this service component
053            */
054            public long getServiceComponentId() {
055                    return _serviceComponent.getServiceComponentId();
056            }
057    
058            /**
059            * Sets the service component id of this service component.
060            *
061            * @param serviceComponentId the service component id of this service component
062            */
063            public void setServiceComponentId(long serviceComponentId) {
064                    _serviceComponent.setServiceComponentId(serviceComponentId);
065            }
066    
067            /**
068            * Gets the build namespace of this service component.
069            *
070            * @return the build namespace of this service component
071            */
072            public java.lang.String getBuildNamespace() {
073                    return _serviceComponent.getBuildNamespace();
074            }
075    
076            /**
077            * Sets the build namespace of this service component.
078            *
079            * @param buildNamespace the build namespace of this service component
080            */
081            public void setBuildNamespace(java.lang.String buildNamespace) {
082                    _serviceComponent.setBuildNamespace(buildNamespace);
083            }
084    
085            /**
086            * Gets the build number of this service component.
087            *
088            * @return the build number of this service component
089            */
090            public long getBuildNumber() {
091                    return _serviceComponent.getBuildNumber();
092            }
093    
094            /**
095            * Sets the build number of this service component.
096            *
097            * @param buildNumber the build number of this service component
098            */
099            public void setBuildNumber(long buildNumber) {
100                    _serviceComponent.setBuildNumber(buildNumber);
101            }
102    
103            /**
104            * Gets the build date of this service component.
105            *
106            * @return the build date of this service component
107            */
108            public long getBuildDate() {
109                    return _serviceComponent.getBuildDate();
110            }
111    
112            /**
113            * Sets the build date of this service component.
114            *
115            * @param buildDate the build date of this service component
116            */
117            public void setBuildDate(long buildDate) {
118                    _serviceComponent.setBuildDate(buildDate);
119            }
120    
121            /**
122            * Gets the data of this service component.
123            *
124            * @return the data of this service component
125            */
126            public java.lang.String getData() {
127                    return _serviceComponent.getData();
128            }
129    
130            /**
131            * Sets the data of this service component.
132            *
133            * @param data the data of this service component
134            */
135            public void setData(java.lang.String data) {
136                    _serviceComponent.setData(data);
137            }
138    
139            public boolean isNew() {
140                    return _serviceComponent.isNew();
141            }
142    
143            public void setNew(boolean n) {
144                    _serviceComponent.setNew(n);
145            }
146    
147            public boolean isCachedModel() {
148                    return _serviceComponent.isCachedModel();
149            }
150    
151            public void setCachedModel(boolean cachedModel) {
152                    _serviceComponent.setCachedModel(cachedModel);
153            }
154    
155            public boolean isEscapedModel() {
156                    return _serviceComponent.isEscapedModel();
157            }
158    
159            public void setEscapedModel(boolean escapedModel) {
160                    _serviceComponent.setEscapedModel(escapedModel);
161            }
162    
163            public java.io.Serializable getPrimaryKeyObj() {
164                    return _serviceComponent.getPrimaryKeyObj();
165            }
166    
167            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
168                    return _serviceComponent.getExpandoBridge();
169            }
170    
171            public void setExpandoBridgeAttributes(
172                    com.liferay.portal.service.ServiceContext serviceContext) {
173                    _serviceComponent.setExpandoBridgeAttributes(serviceContext);
174            }
175    
176            public java.lang.Object clone() {
177                    return _serviceComponent.clone();
178            }
179    
180            public int compareTo(
181                    com.liferay.portal.model.ServiceComponent serviceComponent) {
182                    return _serviceComponent.compareTo(serviceComponent);
183            }
184    
185            public int hashCode() {
186                    return _serviceComponent.hashCode();
187            }
188    
189            public com.liferay.portal.model.ServiceComponent toEscapedModel() {
190                    return _serviceComponent.toEscapedModel();
191            }
192    
193            public java.lang.String toString() {
194                    return _serviceComponent.toString();
195            }
196    
197            public java.lang.String toXmlString() {
198                    return _serviceComponent.toXmlString();
199            }
200    
201            public java.lang.String getTablesSQL() {
202                    return _serviceComponent.getTablesSQL();
203            }
204    
205            public java.lang.String getSequencesSQL() {
206                    return _serviceComponent.getSequencesSQL();
207            }
208    
209            public java.lang.String getIndexesSQL() {
210                    return _serviceComponent.getIndexesSQL();
211            }
212    
213            public ServiceComponent getWrappedServiceComponent() {
214                    return _serviceComponent;
215            }
216    
217            private ServiceComponent _serviceComponent;
218    }