Liferay 6.1.2-ce-ga3

com.liferay.portal.model
Interface OrgLaborModel

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

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 OrgLaborModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in OrgLaborImpl.

See Also:
OrgLabor, OrgLaborImpl, OrgLaborModelImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

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