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