Liferay 6.0.5

com.liferay.portal.model
Class OrgLaborWrapper

java.lang.Object
  extended by com.liferay.portal.model.OrgLaborWrapper
All Implemented Interfaces:
BaseModel<OrgLabor>, OrgLabor, OrgLaborModel, Serializable, Cloneable, Comparable<OrgLabor>

public class OrgLaborWrapper
extends Object
implements OrgLabor

This class is a wrapper for OrgLabor.

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

Constructor Summary
OrgLaborWrapper(OrgLabor orgLabor)
           
 
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.
 ListType getType()
           
 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.
 OrgLabor getWrappedOrgLabor()
           
 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.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrgLaborWrapper

public OrgLaborWrapper(OrgLabor orgLabor)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: OrgLaborModel
Gets the primary key of this org labor.

Specified by:
getPrimaryKey in interface OrgLaborModel
Returns:
the primary key of this org labor

setPrimaryKey

public void setPrimaryKey(long pk)
Description copied from interface: OrgLaborModel
Sets the primary key of this org labor

Specified by:
setPrimaryKey in interface OrgLaborModel
Parameters:
pk - the primary key of this org labor

getOrgLaborId

public long getOrgLaborId()
Description copied from interface: OrgLaborModel
Gets the org labor id of this org labor.

Specified by:
getOrgLaborId in interface OrgLaborModel
Returns:
the org labor id of this org labor

setOrgLaborId

public void setOrgLaborId(long orgLaborId)
Description copied from interface: OrgLaborModel
Sets the org labor id of this org labor.

Specified by:
setOrgLaborId in interface OrgLaborModel
Parameters:
orgLaborId - the org labor id of this org labor

getOrganizationId

public long getOrganizationId()
Description copied from interface: OrgLaborModel
Gets the organization id of this org labor.

Specified by:
getOrganizationId in interface OrgLaborModel
Returns:
the organization id of this org labor

setOrganizationId

public void setOrganizationId(long organizationId)
Description copied from interface: OrgLaborModel
Sets the organization id of this org labor.

Specified by:
setOrganizationId in interface OrgLaborModel
Parameters:
organizationId - the organization id of this org labor

getTypeId

public int getTypeId()
Description copied from interface: OrgLaborModel
Gets the type id of this org labor.

Specified by:
getTypeId in interface OrgLaborModel
Returns:
the type id of this org labor

setTypeId

public void setTypeId(int typeId)
Description copied from interface: OrgLaborModel
Sets the type id of this org labor.

Specified by:
setTypeId in interface OrgLaborModel
Parameters:
typeId - the type id of this org labor

getSunOpen

public int getSunOpen()
Description copied from interface: OrgLaborModel
Gets the sun open of this org labor.

Specified by:
getSunOpen in interface OrgLaborModel
Returns:
the sun open of this org labor

setSunOpen

public void setSunOpen(int sunOpen)
Description copied from interface: OrgLaborModel
Sets the sun open of this org labor.

Specified by:
setSunOpen in interface OrgLaborModel
Parameters:
sunOpen - the sun open of this org labor

getSunClose

public int getSunClose()
Description copied from interface: OrgLaborModel
Gets the sun close of this org labor.

Specified by:
getSunClose in interface OrgLaborModel
Returns:
the sun close of this org labor

setSunClose

public void setSunClose(int sunClose)
Description copied from interface: OrgLaborModel
Sets the sun close of this org labor.

Specified by:
setSunClose in interface OrgLaborModel
Parameters:
sunClose - the sun close of this org labor

getMonOpen

public int getMonOpen()
Description copied from interface: OrgLaborModel
Gets the mon open of this org labor.

Specified by:
getMonOpen in interface OrgLaborModel
Returns:
the mon open of this org labor

setMonOpen

public void setMonOpen(int monOpen)
Description copied from interface: OrgLaborModel
Sets the mon open of this org labor.

Specified by:
setMonOpen in interface OrgLaborModel
Parameters:
monOpen - the mon open of this org labor

getMonClose

public int getMonClose()
Description copied from interface: OrgLaborModel
Gets the mon close of this org labor.

Specified by:
getMonClose in interface OrgLaborModel
Returns:
the mon close of this org labor

setMonClose

public void setMonClose(int monClose)
Description copied from interface: OrgLaborModel
Sets the mon close of this org labor.

Specified by:
setMonClose in interface OrgLaborModel
Parameters:
monClose - the mon close of this org labor

getTueOpen

public int getTueOpen()
Description copied from interface: OrgLaborModel
Gets the tue open of this org labor.

Specified by:
getTueOpen in interface OrgLaborModel
Returns:
the tue open of this org labor

setTueOpen

public void setTueOpen(int tueOpen)
Description copied from interface: OrgLaborModel
Sets the tue open of this org labor.

Specified by:
setTueOpen in interface OrgLaborModel
Parameters:
tueOpen - the tue open of this org labor

getTueClose

public int getTueClose()
Description copied from interface: OrgLaborModel
Gets the tue close of this org labor.

Specified by:
getTueClose in interface OrgLaborModel
Returns:
the tue close of this org labor

setTueClose

public void setTueClose(int tueClose)
Description copied from interface: OrgLaborModel
Sets the tue close of this org labor.

Specified by:
setTueClose in interface OrgLaborModel
Parameters:
tueClose - the tue close of this org labor

getWedOpen

public int getWedOpen()
Description copied from interface: OrgLaborModel
Gets the wed open of this org labor.

Specified by:
getWedOpen in interface OrgLaborModel
Returns:
the wed open of this org labor

setWedOpen

public void setWedOpen(int wedOpen)
Description copied from interface: OrgLaborModel
Sets the wed open of this org labor.

Specified by:
setWedOpen in interface OrgLaborModel
Parameters:
wedOpen - the wed open of this org labor

getWedClose

public int getWedClose()
Description copied from interface: OrgLaborModel
Gets the wed close of this org labor.

Specified by:
getWedClose in interface OrgLaborModel
Returns:
the wed close of this org labor

setWedClose

public void setWedClose(int wedClose)
Description copied from interface: OrgLaborModel
Sets the wed close of this org labor.

Specified by:
setWedClose in interface OrgLaborModel
Parameters:
wedClose - the wed close of this org labor

getThuOpen

public int getThuOpen()
Description copied from interface: OrgLaborModel
Gets the thu open of this org labor.

Specified by:
getThuOpen in interface OrgLaborModel
Returns:
the thu open of this org labor

setThuOpen

public void setThuOpen(int thuOpen)
Description copied from interface: OrgLaborModel
Sets the thu open of this org labor.

Specified by:
setThuOpen in interface OrgLaborModel
Parameters:
thuOpen - the thu open of this org labor

getThuClose

public int getThuClose()
Description copied from interface: OrgLaborModel
Gets the thu close of this org labor.

Specified by:
getThuClose in interface OrgLaborModel
Returns:
the thu close of this org labor

setThuClose

public void setThuClose(int thuClose)
Description copied from interface: OrgLaborModel
Sets the thu close of this org labor.

Specified by:
setThuClose in interface OrgLaborModel
Parameters:
thuClose - the thu close of this org labor

getFriOpen

public int getFriOpen()
Description copied from interface: OrgLaborModel
Gets the fri open of this org labor.

Specified by:
getFriOpen in interface OrgLaborModel
Returns:
the fri open of this org labor

setFriOpen

public void setFriOpen(int friOpen)
Description copied from interface: OrgLaborModel
Sets the fri open of this org labor.

Specified by:
setFriOpen in interface OrgLaborModel
Parameters:
friOpen - the fri open of this org labor

getFriClose

public int getFriClose()
Description copied from interface: OrgLaborModel
Gets the fri close of this org labor.

Specified by:
getFriClose in interface OrgLaborModel
Returns:
the fri close of this org labor

setFriClose

public void setFriClose(int friClose)
Description copied from interface: OrgLaborModel
Sets the fri close of this org labor.

Specified by:
setFriClose in interface OrgLaborModel
Parameters:
friClose - the fri close of this org labor

getSatOpen

public int getSatOpen()
Description copied from interface: OrgLaborModel
Gets the sat open of this org labor.

Specified by:
getSatOpen in interface OrgLaborModel
Returns:
the sat open of this org labor

setSatOpen

public void setSatOpen(int satOpen)
Description copied from interface: OrgLaborModel
Sets the sat open of this org labor.

Specified by:
setSatOpen in interface OrgLaborModel
Parameters:
satOpen - the sat open of this org labor

getSatClose

public int getSatClose()
Description copied from interface: OrgLaborModel
Gets the sat close of this org labor.

Specified by:
getSatClose in interface OrgLaborModel
Returns:
the sat close of this org labor

setSatClose

public void setSatClose(int satClose)
Description copied from interface: OrgLaborModel
Sets the sat close of this org labor.

Specified by:
setSatClose in interface OrgLaborModel
Parameters:
satClose - the sat close of this org labor

toEscapedModel

public OrgLabor toEscapedModel()
Description copied from interface: OrgLaborModel
Gets a copy of this org labor as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface OrgLaborModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

isNew

public 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>
Specified by:
isNew in interface OrgLaborModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public 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>
Specified by:
setNew in interface OrgLaborModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public 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>
Specified by:
isCachedModel in interface OrgLaborModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public 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>
Specified by:
setCachedModel in interface OrgLaborModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

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

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

setEscapedModel

public 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>
Specified by:
setEscapedModel in interface OrgLaborModel
Parameters:
escapedModel - whether this model instance is escaped
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

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

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

getExpandoBridge

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

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

setExpandoBridgeAttributes

public 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>
Specified by:
setExpandoBridgeAttributes in interface OrgLaborModel
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

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

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

compareTo

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

hashCode

public int hashCode()
Specified by:
hashCode in interface OrgLaborModel
Overrides:
hashCode in class Object

toString

public String toString()
Specified by:
toString in interface OrgLaborModel
Overrides:
toString in class Object

toXmlString

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

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

getType

public ListType getType()
                 throws PortalException,
                        SystemException
Specified by:
getType in interface OrgLabor
Throws:
PortalException
SystemException

getWrappedOrgLabor

public OrgLabor getWrappedOrgLabor()

Liferay 6.0.5