Liferay 6.2.0

com.liferay.portal.model
Interface OrgLaborModel

All Superinterfaces:
BaseModel<OrgLabor>, ClassedModel, Cloneable, Comparable<OrgLabor>, Serializable
All Known Subinterfaces:
OrgLabor
All Known Implementing Classes:
OrgLaborWrapper

@ProviderType
public interface OrgLaborModel
extends BaseModel<OrgLabor>

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.

This interface and its corresponding implementation 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 com.liferay.portal.model.impl.OrgLaborImpl.

See Also:
OrgLabor, com.liferay.portal.model.impl.OrgLaborImpl, com.liferay.portal.model.impl.OrgLaborModelImpl

Method Summary
abstract  Object clone()
          Creates a shallow clone of this model instance.
abstract  int compareTo(OrgLabor orgLabor)
           
abstract  ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
abstract  int getFriClose()
          Returns the fri close of this org labor.
abstract  int getFriOpen()
          Returns the fri open of this org labor.
abstract  int getMonClose()
          Returns the mon close of this org labor.
abstract  int getMonOpen()
          Returns the mon open of this org labor.
abstract  long getOrganizationId()
          Returns the organization ID of this org labor.
abstract  long getOrgLaborId()
          Returns the org labor ID of this org labor.
abstract  long getPrimaryKey()
          Returns the primary key of this org labor.
abstract  Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
abstract  int getSatClose()
          Returns the sat close of this org labor.
abstract  int getSatOpen()
          Returns the sat open of this org labor.
abstract  int getSunClose()
          Returns the sun close of this org labor.
abstract  int getSunOpen()
          Returns the sun open of this org labor.
abstract  int getThuClose()
          Returns the thu close of this org labor.
abstract  int getThuOpen()
          Returns the thu open of this org labor.
abstract  int getTueClose()
          Returns the tue close of this org labor.
abstract  int getTueOpen()
          Returns the tue open of this org labor.
abstract  int getTypeId()
          Returns the type ID of this org labor.
abstract  int getWedClose()
          Returns the wed close of this org labor.
abstract  int getWedOpen()
          Returns the wed open of this org labor.
abstract  int hashCode()
           
abstract  boolean isCachedModel()
          Returns true if this model instance was retrieved from the entity cache.
abstract  boolean isEscapedModel()
          Returns true if this model instance is escaped.
abstract  boolean isNew()
          Returns true if this model instance does not yet exist in the database.
abstract  void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
abstract  void setExpandoBridgeAttributes(BaseModel<?> baseModel)
           
abstract  void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
           
abstract  void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
abstract  void setFriClose(int friClose)
          Sets the fri close of this org labor.
abstract  void setFriOpen(int friOpen)
          Sets the fri open of this org labor.
abstract  void setMonClose(int monClose)
          Sets the mon close of this org labor.
abstract  void setMonOpen(int monOpen)
          Sets the mon open of this org labor.
abstract  void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
abstract  void setOrganizationId(long organizationId)
          Sets the organization ID of this org labor.
abstract  void setOrgLaborId(long orgLaborId)
          Sets the org labor ID of this org labor.
abstract  void setPrimaryKey(long primaryKey)
          Sets the primary key of this org labor.
abstract  void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
abstract  void setSatClose(int satClose)
          Sets the sat close of this org labor.
abstract  void setSatOpen(int satOpen)
          Sets the sat open of this org labor.
abstract  void setSunClose(int sunClose)
          Sets the sun close of this org labor.
abstract  void setSunOpen(int sunOpen)
          Sets the sun open of this org labor.
abstract  void setThuClose(int thuClose)
          Sets the thu close of this org labor.
abstract  void setThuOpen(int thuOpen)
          Sets the thu open of this org labor.
abstract  void setTueClose(int tueClose)
          Sets the tue close of this org labor.
abstract  void setTueOpen(int tueOpen)
          Sets the tue open of this org labor.
abstract  void setTypeId(int typeId)
          Sets the type ID of this org labor.
abstract  void setWedClose(int wedClose)
          Sets the wed close of this org labor.
abstract  void setWedOpen(int wedOpen)
          Sets the wed open of this org labor.
abstract  CacheModel<OrgLabor> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
abstract  OrgLabor toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
abstract  String toString()
           
abstract  OrgLabor toUnescapedModel()
           
abstract  String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 

Method Detail

getPrimaryKey

long getPrimaryKey()
Returns the primary key of this org labor.

Returns:
the primary key of this org labor

setPrimaryKey

void setPrimaryKey(long primaryKey)
Sets the primary key of this org labor.

Parameters:
primaryKey - the primary key of this org labor

getOrgLaborId

long getOrgLaborId()
Returns the org labor ID of this org labor.

Returns:
the org labor ID of this org labor

setOrgLaborId

void setOrgLaborId(long orgLaborId)
Sets the org labor ID of this org labor.

Parameters:
orgLaborId - the org labor ID of this org labor

getOrganizationId

long getOrganizationId()
Returns the organization ID of this org labor.

Returns:
the organization ID of this org labor

setOrganizationId

void setOrganizationId(long organizationId)
Sets the organization ID of this org labor.

Parameters:
organizationId - the organization ID of this org labor

getTypeId

int getTypeId()
Returns the type ID of this org labor.

Returns:
the type ID of this org labor

setTypeId

void setTypeId(int typeId)
Sets the type ID of this org labor.

Parameters:
typeId - the type ID of this org labor

getSunOpen

int getSunOpen()
Returns the sun open of this org labor.

Returns:
the sun open of this org labor

setSunOpen

void setSunOpen(int sunOpen)
Sets the sun open of this org labor.

Parameters:
sunOpen - the sun open of this org labor

getSunClose

int getSunClose()
Returns the sun close of this org labor.

Returns:
the sun close of this org labor

setSunClose

void setSunClose(int sunClose)
Sets the sun close of this org labor.

Parameters:
sunClose - the sun close of this org labor

getMonOpen

int getMonOpen()
Returns the mon open of this org labor.

Returns:
the mon open of this org labor

setMonOpen

void setMonOpen(int monOpen)
Sets the mon open of this org labor.

Parameters:
monOpen - the mon open of this org labor

getMonClose

int getMonClose()
Returns the mon close of this org labor.

Returns:
the mon close of this org labor

setMonClose

void setMonClose(int monClose)
Sets the mon close of this org labor.

Parameters:
monClose - the mon close of this org labor

getTueOpen

int getTueOpen()
Returns the tue open of this org labor.

Returns:
the tue open of this org labor

setTueOpen

void setTueOpen(int tueOpen)
Sets the tue open of this org labor.

Parameters:
tueOpen - the tue open of this org labor

getTueClose

int getTueClose()
Returns the tue close of this org labor.

Returns:
the tue close of this org labor

setTueClose

void setTueClose(int tueClose)
Sets the tue close of this org labor.

Parameters:
tueClose - the tue close of this org labor

getWedOpen

int getWedOpen()
Returns the wed open of this org labor.

Returns:
the wed open of this org labor

setWedOpen

void setWedOpen(int wedOpen)
Sets the wed open of this org labor.

Parameters:
wedOpen - the wed open of this org labor

getWedClose

int getWedClose()
Returns the wed close of this org labor.

Returns:
the wed close of this org labor

setWedClose

void setWedClose(int wedClose)
Sets the wed close of this org labor.

Parameters:
wedClose - the wed close of this org labor

getThuOpen

int getThuOpen()
Returns the thu open of this org labor.

Returns:
the thu open of this org labor

setThuOpen

void setThuOpen(int thuOpen)
Sets the thu open of this org labor.

Parameters:
thuOpen - the thu open of this org labor

getThuClose

int getThuClose()
Returns the thu close of this org labor.

Returns:
the thu close of this org labor

setThuClose

void setThuClose(int thuClose)
Sets the thu close of this org labor.

Parameters:
thuClose - the thu close of this org labor

getFriOpen

int getFriOpen()
Returns the fri open of this org labor.

Returns:
the fri open of this org labor

setFriOpen

void setFriOpen(int friOpen)
Sets the fri open of this org labor.

Parameters:
friOpen - the fri open of this org labor

getFriClose

int getFriClose()
Returns the fri close of this org labor.

Returns:
the fri close of this org labor

setFriClose

void setFriClose(int friClose)
Sets the fri close of this org labor.

Parameters:
friClose - the fri close of this org labor

getSatOpen

int getSatOpen()
Returns the sat open of this org labor.

Returns:
the sat open of this org labor

setSatOpen

void setSatOpen(int satOpen)
Sets the sat open of this org labor.

Parameters:
satOpen - the sat open of this org labor

getSatClose

int getSatClose()
Returns the sat close of this org labor.

Returns:
the sat close of this org labor

setSatClose

void setSatClose(int satClose)
Sets the sat close of this org labor.

Parameters:
satClose - the sat close of this org labor

isNew

boolean isNew()
Description copied from interface: BaseModel
Returns true if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<OrgLabor>
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<OrgLabor>
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

boolean isCachedModel()
Description copied from interface: BaseModel
Returns true if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<OrgLabor>
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<OrgLabor>
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

boolean isEscapedModel()
Description copied from interface: BaseModel
Returns true if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<OrgLabor>
Returns:
true if this model instance is escaped; false otherwise

getPrimaryKeyObj

Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<OrgLabor>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<OrgLabor>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Parameters:
primaryKeyObj - the primary key of this model instance

getExpandoBridge

ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<OrgLabor>
Specified by:
getExpandoBridge in interface ClassedModel
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

void setExpandoBridgeAttributes(BaseModel<?> baseModel)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<OrgLabor>

setExpandoBridgeAttributes

void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<OrgLabor>

setExpandoBridgeAttributes

void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<OrgLabor>
Parameters:
serviceContext - the service context to be applied
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<OrgLabor>
Returns:
the shallow clone of this model instance

compareTo

int compareTo(OrgLabor orgLabor)
Specified by:
compareTo in interface Comparable<OrgLabor>

hashCode

int hashCode()
Overrides:
hashCode in class Object

toCacheModel

CacheModel<OrgLabor> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<OrgLabor>
Returns:
the cache model object

toEscapedModel

OrgLabor toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<OrgLabor>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

OrgLabor toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<OrgLabor>

toString

String toString()
Overrides:
toString in class Object

toXmlString

String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<OrgLabor>
Returns:
the XML representation of this model instance

Liferay 6.2.0