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 com.liferay.portal.service.ServiceContext; 018 019 import com.liferay.portlet.expando.model.ExpandoBridge; 020 021 import java.io.Serializable; 022 023 /** 024 * The base model interface for the OrgLabor service. Represents a row in the "OrgLabor" database table, with each column mapped to a property of this class. 025 * 026 * <p> 027 * This interface and its corresponding implementation {@link com.liferay.portal.model.impl.OrgLaborModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.liferay.portal.model.impl.OrgLaborImpl}. 028 * </p> 029 * 030 * @author Brian Wing Shun Chan 031 * @see OrgLabor 032 * @see com.liferay.portal.model.impl.OrgLaborImpl 033 * @see com.liferay.portal.model.impl.OrgLaborModelImpl 034 * @generated 035 */ 036 public interface OrgLaborModel extends BaseModel<OrgLabor> { 037 /* 038 * NOTE FOR DEVELOPERS: 039 * 040 * Never modify or reference this interface directly. All methods that expect a org labor model instance should use the {@link OrgLabor} interface instead. 041 */ 042 043 /** 044 * Returns the primary key of this org labor. 045 * 046 * @return the primary key of this org labor 047 */ 048 public long getPrimaryKey(); 049 050 /** 051 * Sets the primary key of this org labor. 052 * 053 * @param primaryKey the primary key of this org labor 054 */ 055 public void setPrimaryKey(long primaryKey); 056 057 /** 058 * Returns the org labor ID of this org labor. 059 * 060 * @return the org labor ID of this org labor 061 */ 062 public long getOrgLaborId(); 063 064 /** 065 * Sets the org labor ID of this org labor. 066 * 067 * @param orgLaborId the org labor ID of this org labor 068 */ 069 public void setOrgLaborId(long orgLaborId); 070 071 /** 072 * Returns the organization ID of this org labor. 073 * 074 * @return the organization ID of this org labor 075 */ 076 public long getOrganizationId(); 077 078 /** 079 * Sets the organization ID of this org labor. 080 * 081 * @param organizationId the organization ID of this org labor 082 */ 083 public void setOrganizationId(long organizationId); 084 085 /** 086 * Returns the type ID of this org labor. 087 * 088 * @return the type ID of this org labor 089 */ 090 public int getTypeId(); 091 092 /** 093 * Sets the type ID of this org labor. 094 * 095 * @param typeId the type ID of this org labor 096 */ 097 public void setTypeId(int typeId); 098 099 /** 100 * Returns the sun open of this org labor. 101 * 102 * @return the sun open of this org labor 103 */ 104 public int getSunOpen(); 105 106 /** 107 * Sets the sun open of this org labor. 108 * 109 * @param sunOpen the sun open of this org labor 110 */ 111 public void setSunOpen(int sunOpen); 112 113 /** 114 * Returns the sun close of this org labor. 115 * 116 * @return the sun close of this org labor 117 */ 118 public int getSunClose(); 119 120 /** 121 * Sets the sun close of this org labor. 122 * 123 * @param sunClose the sun close of this org labor 124 */ 125 public void setSunClose(int sunClose); 126 127 /** 128 * Returns the mon open of this org labor. 129 * 130 * @return the mon open of this org labor 131 */ 132 public int getMonOpen(); 133 134 /** 135 * Sets the mon open of this org labor. 136 * 137 * @param monOpen the mon open of this org labor 138 */ 139 public void setMonOpen(int monOpen); 140 141 /** 142 * Returns the mon close of this org labor. 143 * 144 * @return the mon close of this org labor 145 */ 146 public int getMonClose(); 147 148 /** 149 * Sets the mon close of this org labor. 150 * 151 * @param monClose the mon close of this org labor 152 */ 153 public void setMonClose(int monClose); 154 155 /** 156 * Returns the tue open of this org labor. 157 * 158 * @return the tue open of this org labor 159 */ 160 public int getTueOpen(); 161 162 /** 163 * Sets the tue open of this org labor. 164 * 165 * @param tueOpen the tue open of this org labor 166 */ 167 public void setTueOpen(int tueOpen); 168 169 /** 170 * Returns the tue close of this org labor. 171 * 172 * @return the tue close of this org labor 173 */ 174 public int getTueClose(); 175 176 /** 177 * Sets the tue close of this org labor. 178 * 179 * @param tueClose the tue close of this org labor 180 */ 181 public void setTueClose(int tueClose); 182 183 /** 184 * Returns the wed open of this org labor. 185 * 186 * @return the wed open of this org labor 187 */ 188 public int getWedOpen(); 189 190 /** 191 * Sets the wed open of this org labor. 192 * 193 * @param wedOpen the wed open of this org labor 194 */ 195 public void setWedOpen(int wedOpen); 196 197 /** 198 * Returns the wed close of this org labor. 199 * 200 * @return the wed close of this org labor 201 */ 202 public int getWedClose(); 203 204 /** 205 * Sets the wed close of this org labor. 206 * 207 * @param wedClose the wed close of this org labor 208 */ 209 public void setWedClose(int wedClose); 210 211 /** 212 * Returns the thu open of this org labor. 213 * 214 * @return the thu open of this org labor 215 */ 216 public int getThuOpen(); 217 218 /** 219 * Sets the thu open of this org labor. 220 * 221 * @param thuOpen the thu open of this org labor 222 */ 223 public void setThuOpen(int thuOpen); 224 225 /** 226 * Returns the thu close of this org labor. 227 * 228 * @return the thu close of this org labor 229 */ 230 public int getThuClose(); 231 232 /** 233 * Sets the thu close of this org labor. 234 * 235 * @param thuClose the thu close of this org labor 236 */ 237 public void setThuClose(int thuClose); 238 239 /** 240 * Returns the fri open of this org labor. 241 * 242 * @return the fri open of this org labor 243 */ 244 public int getFriOpen(); 245 246 /** 247 * Sets the fri open of this org labor. 248 * 249 * @param friOpen the fri open of this org labor 250 */ 251 public void setFriOpen(int friOpen); 252 253 /** 254 * Returns the fri close of this org labor. 255 * 256 * @return the fri close of this org labor 257 */ 258 public int getFriClose(); 259 260 /** 261 * Sets the fri close of this org labor. 262 * 263 * @param friClose the fri close of this org labor 264 */ 265 public void setFriClose(int friClose); 266 267 /** 268 * Returns the sat open of this org labor. 269 * 270 * @return the sat open of this org labor 271 */ 272 public int getSatOpen(); 273 274 /** 275 * Sets the sat open of this org labor. 276 * 277 * @param satOpen the sat open of this org labor 278 */ 279 public void setSatOpen(int satOpen); 280 281 /** 282 * Returns the sat close of this org labor. 283 * 284 * @return the sat close of this org labor 285 */ 286 public int getSatClose(); 287 288 /** 289 * Sets the sat close of this org labor. 290 * 291 * @param satClose the sat close of this org labor 292 */ 293 public void setSatClose(int satClose); 294 295 public boolean isNew(); 296 297 public void setNew(boolean n); 298 299 public boolean isCachedModel(); 300 301 public void setCachedModel(boolean cachedModel); 302 303 public boolean isEscapedModel(); 304 305 public Serializable getPrimaryKeyObj(); 306 307 public void setPrimaryKeyObj(Serializable primaryKeyObj); 308 309 public ExpandoBridge getExpandoBridge(); 310 311 public void setExpandoBridgeAttributes(ServiceContext serviceContext); 312 313 public Object clone(); 314 315 public int compareTo(OrgLabor orgLabor); 316 317 public int hashCode(); 318 319 public CacheModel<OrgLabor> toCacheModel(); 320 321 public OrgLabor toEscapedModel(); 322 323 public OrgLabor toUnescapedModel(); 324 325 public String toString(); 326 327 public String toXmlString(); 328 }