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