001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.model;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import java.io.Serializable;
020    
021    import java.util.ArrayList;
022    import java.util.Date;
023    import java.util.List;
024    
025    /**
026     * This class is used by SOAP remote services, specifically {@link com.liferay.portal.service.http.LayoutSetBranchServiceSoap}.
027     *
028     * @author Brian Wing Shun Chan
029     * @see com.liferay.portal.service.http.LayoutSetBranchServiceSoap
030     * @generated
031     */
032    @ProviderType
033    public class LayoutSetBranchSoap implements Serializable {
034            public static LayoutSetBranchSoap toSoapModel(LayoutSetBranch model) {
035                    LayoutSetBranchSoap soapModel = new LayoutSetBranchSoap();
036    
037                    soapModel.setMvccVersion(model.getMvccVersion());
038                    soapModel.setLayoutSetBranchId(model.getLayoutSetBranchId());
039                    soapModel.setGroupId(model.getGroupId());
040                    soapModel.setCompanyId(model.getCompanyId());
041                    soapModel.setUserId(model.getUserId());
042                    soapModel.setUserName(model.getUserName());
043                    soapModel.setCreateDate(model.getCreateDate());
044                    soapModel.setModifiedDate(model.getModifiedDate());
045                    soapModel.setPrivateLayout(model.getPrivateLayout());
046                    soapModel.setName(model.getName());
047                    soapModel.setDescription(model.getDescription());
048                    soapModel.setMaster(model.getMaster());
049                    soapModel.setLogoId(model.getLogoId());
050                    soapModel.setThemeId(model.getThemeId());
051                    soapModel.setColorSchemeId(model.getColorSchemeId());
052                    soapModel.setWapThemeId(model.getWapThemeId());
053                    soapModel.setWapColorSchemeId(model.getWapColorSchemeId());
054                    soapModel.setCss(model.getCss());
055                    soapModel.setSettings(model.getSettings());
056                    soapModel.setLayoutSetPrototypeUuid(model.getLayoutSetPrototypeUuid());
057                    soapModel.setLayoutSetPrototypeLinkEnabled(model.getLayoutSetPrototypeLinkEnabled());
058    
059                    return soapModel;
060            }
061    
062            public static LayoutSetBranchSoap[] toSoapModels(LayoutSetBranch[] models) {
063                    LayoutSetBranchSoap[] soapModels = new LayoutSetBranchSoap[models.length];
064    
065                    for (int i = 0; i < models.length; i++) {
066                            soapModels[i] = toSoapModel(models[i]);
067                    }
068    
069                    return soapModels;
070            }
071    
072            public static LayoutSetBranchSoap[][] toSoapModels(
073                    LayoutSetBranch[][] models) {
074                    LayoutSetBranchSoap[][] soapModels = null;
075    
076                    if (models.length > 0) {
077                            soapModels = new LayoutSetBranchSoap[models.length][models[0].length];
078                    }
079                    else {
080                            soapModels = new LayoutSetBranchSoap[0][0];
081                    }
082    
083                    for (int i = 0; i < models.length; i++) {
084                            soapModels[i] = toSoapModels(models[i]);
085                    }
086    
087                    return soapModels;
088            }
089    
090            public static LayoutSetBranchSoap[] toSoapModels(
091                    List<LayoutSetBranch> models) {
092                    List<LayoutSetBranchSoap> soapModels = new ArrayList<LayoutSetBranchSoap>(models.size());
093    
094                    for (LayoutSetBranch model : models) {
095                            soapModels.add(toSoapModel(model));
096                    }
097    
098                    return soapModels.toArray(new LayoutSetBranchSoap[soapModels.size()]);
099            }
100    
101            public LayoutSetBranchSoap() {
102            }
103    
104            public long getPrimaryKey() {
105                    return _layoutSetBranchId;
106            }
107    
108            public void setPrimaryKey(long pk) {
109                    setLayoutSetBranchId(pk);
110            }
111    
112            public long getMvccVersion() {
113                    return _mvccVersion;
114            }
115    
116            public void setMvccVersion(long mvccVersion) {
117                    _mvccVersion = mvccVersion;
118            }
119    
120            public long getLayoutSetBranchId() {
121                    return _layoutSetBranchId;
122            }
123    
124            public void setLayoutSetBranchId(long layoutSetBranchId) {
125                    _layoutSetBranchId = layoutSetBranchId;
126            }
127    
128            public long getGroupId() {
129                    return _groupId;
130            }
131    
132            public void setGroupId(long groupId) {
133                    _groupId = groupId;
134            }
135    
136            public long getCompanyId() {
137                    return _companyId;
138            }
139    
140            public void setCompanyId(long companyId) {
141                    _companyId = companyId;
142            }
143    
144            public long getUserId() {
145                    return _userId;
146            }
147    
148            public void setUserId(long userId) {
149                    _userId = userId;
150            }
151    
152            public String getUserName() {
153                    return _userName;
154            }
155    
156            public void setUserName(String userName) {
157                    _userName = userName;
158            }
159    
160            public Date getCreateDate() {
161                    return _createDate;
162            }
163    
164            public void setCreateDate(Date createDate) {
165                    _createDate = createDate;
166            }
167    
168            public Date getModifiedDate() {
169                    return _modifiedDate;
170            }
171    
172            public void setModifiedDate(Date modifiedDate) {
173                    _modifiedDate = modifiedDate;
174            }
175    
176            public boolean getPrivateLayout() {
177                    return _privateLayout;
178            }
179    
180            public boolean isPrivateLayout() {
181                    return _privateLayout;
182            }
183    
184            public void setPrivateLayout(boolean privateLayout) {
185                    _privateLayout = privateLayout;
186            }
187    
188            public String getName() {
189                    return _name;
190            }
191    
192            public void setName(String name) {
193                    _name = name;
194            }
195    
196            public String getDescription() {
197                    return _description;
198            }
199    
200            public void setDescription(String description) {
201                    _description = description;
202            }
203    
204            public boolean getMaster() {
205                    return _master;
206            }
207    
208            public boolean isMaster() {
209                    return _master;
210            }
211    
212            public void setMaster(boolean master) {
213                    _master = master;
214            }
215    
216            public long getLogoId() {
217                    return _logoId;
218            }
219    
220            public void setLogoId(long logoId) {
221                    _logoId = logoId;
222            }
223    
224            public String getThemeId() {
225                    return _themeId;
226            }
227    
228            public void setThemeId(String themeId) {
229                    _themeId = themeId;
230            }
231    
232            public String getColorSchemeId() {
233                    return _colorSchemeId;
234            }
235    
236            public void setColorSchemeId(String colorSchemeId) {
237                    _colorSchemeId = colorSchemeId;
238            }
239    
240            public String getWapThemeId() {
241                    return _wapThemeId;
242            }
243    
244            public void setWapThemeId(String wapThemeId) {
245                    _wapThemeId = wapThemeId;
246            }
247    
248            public String getWapColorSchemeId() {
249                    return _wapColorSchemeId;
250            }
251    
252            public void setWapColorSchemeId(String wapColorSchemeId) {
253                    _wapColorSchemeId = wapColorSchemeId;
254            }
255    
256            public String getCss() {
257                    return _css;
258            }
259    
260            public void setCss(String css) {
261                    _css = css;
262            }
263    
264            public String getSettings() {
265                    return _settings;
266            }
267    
268            public void setSettings(String settings) {
269                    _settings = settings;
270            }
271    
272            public String getLayoutSetPrototypeUuid() {
273                    return _layoutSetPrototypeUuid;
274            }
275    
276            public void setLayoutSetPrototypeUuid(String layoutSetPrototypeUuid) {
277                    _layoutSetPrototypeUuid = layoutSetPrototypeUuid;
278            }
279    
280            public boolean getLayoutSetPrototypeLinkEnabled() {
281                    return _layoutSetPrototypeLinkEnabled;
282            }
283    
284            public boolean isLayoutSetPrototypeLinkEnabled() {
285                    return _layoutSetPrototypeLinkEnabled;
286            }
287    
288            public void setLayoutSetPrototypeLinkEnabled(
289                    boolean layoutSetPrototypeLinkEnabled) {
290                    _layoutSetPrototypeLinkEnabled = layoutSetPrototypeLinkEnabled;
291            }
292    
293            private long _mvccVersion;
294            private long _layoutSetBranchId;
295            private long _groupId;
296            private long _companyId;
297            private long _userId;
298            private String _userName;
299            private Date _createDate;
300            private Date _modifiedDate;
301            private boolean _privateLayout;
302            private String _name;
303            private String _description;
304            private boolean _master;
305            private long _logoId;
306            private String _themeId;
307            private String _colorSchemeId;
308            private String _wapThemeId;
309            private String _wapColorSchemeId;
310            private String _css;
311            private String _settings;
312            private String _layoutSetPrototypeUuid;
313            private boolean _layoutSetPrototypeLinkEnabled;
314    }