Liferay 6.0.5

com.liferay.portal.model
Interface OrgLaborModel

All Superinterfaces:
BaseModel<OrgLabor>, Cloneable, Comparable<OrgLabor>, Serializable
All Known Subinterfaces:
OrgLabor
All Known Implementing Classes:
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.

Never modify or reference this interface directly. All methods that expect a org labor model instance should use the OrgLabor interface instead.

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

Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(OrgLabor orgLabor)
           
 ExpandoBridge getExpandoBridge()
          Gets the expando bridge for this model instance.
 int getFriClose()
          Gets the fri close of this org labor.
 int getFriOpen()
          Gets the fri open of this org labor.
 int getMonClose()
          Gets the mon close of this org labor.
 int getMonOpen()
          Gets the mon open of this org labor.
 long getOrganizationId()
          Gets the organization id of this org labor.
 long getOrgLaborId()
          Gets the org labor id of this org labor.
 long getPrimaryKey()
          Gets the primary key of this org labor.
 Serializable getPrimaryKeyObj()
          Gets the primary key of this model instance.
 int getSatClose()
          Gets the sat close of this org labor.
 int getSatOpen()
          Gets the sat open of this org labor.
 int getSunClose()
          Gets the sun close of this org labor.
 int getSunOpen()
          Gets the sun open of this org labor.
 int getThuClose()
          Gets the thu close of this org labor.
 int getThuOpen()
          Gets the thu open of this org labor.
 int getTueClose()
          Gets the tue close of this org labor.
 int getTueOpen()
          Gets the tue open of this org labor.
 int getTypeId()
          Gets the type id of this org labor.
 int getWedClose()
          Gets the wed close of this org labor.
 int getWedOpen()
          Gets the wed open of this org labor.
 int hashCode()
           
 boolean isCachedModel()
          Determines if this model instance was retrieved from the entity cache.
 boolean isEscapedModel()
          Determines if this model instance is escaped.
 boolean isNew()
          Determines 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 setEscapedModel(boolean escapedModel)
          Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.
 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 pk)
          Sets the primary key of this org labor
 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.
 OrgLabor toEscapedModel()
          Gets a copy of this org labor as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 

Method Detail

getPrimaryKey

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

Returns:
the primary key of this org labor

setPrimaryKey

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

Parameters:
pk - the primary key of this org labor

getOrgLaborId

long getOrgLaborId()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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()
Gets 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

toEscapedModel

OrgLabor toEscapedModel()
Gets a copy of this org labor as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

isNew

boolean isNew()
Description copied from interface: BaseModel
Determines 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
Determines 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
Determines if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<OrgLabor>
Returns:
true if this model instance is escaped; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.

A model instance can be made escaped by wrapping it with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<OrgLabor>
Parameters:
escapedModel - whether this model instance is escaped
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

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

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

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<OrgLabor>
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 to retrieve the expando bridge attributes from
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

toString

String toString()
Overrides:
toString in class Object

toXmlString

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

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

Liferay 6.0.5