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