Liferay 6.2-ce-ga5

com.liferay.portal.model
Class OrgLaborWrapper

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

@ProviderType
public class OrgLaborWrapper
extends Object
implements OrgLabor, ModelWrapper<OrgLabor>

This class is a wrapper for OrgLabor.

See Also:
OrgLabor, Serialized Form

Constructor Summary
OrgLaborWrapper(OrgLabor orgLabor)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(OrgLabor orgLabor)
           
 boolean equals(Object obj)
           
 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.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 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.
 ListType getType()
           
 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.
 OrgLabor getWrappedModel()
           
 OrgLabor getWrappedOrgLabor()
          Deprecated. As of 6.1.0, replaced by getWrappedModel()
 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 persist()
          Updates this model instance in the database or adds it if it does not yet exist.
 void resetOriginalValues()
          Reset all original fields to current values.
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setExpandoBridgeAttributes(BaseModel<?> baseModel)
           
 void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
           
 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 setModelAttributes(Map<String,Object> attributes)
           
 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 class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrgLaborWrapper

public OrgLaborWrapper(OrgLabor orgLabor)
Method Detail

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<OrgLabor>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<OrgLabor>

getPrimaryKey

public long getPrimaryKey()
Returns 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 primaryKey)
Sets the primary key of this org labor.

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

getOrgLaborId

public long getOrgLaborId()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
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()
Returns 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)
Sets the sat close of this org labor.

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

isNew

public 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>
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
Returns true 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
Returns true 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

getPrimaryKeyObj

public 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
Specified by:
getPrimaryKeyObj in interface OrgLaborModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public 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
Specified by:
setPrimaryKeyObj in interface OrgLaborModel
Parameters:
primaryKeyObj - the primary key of this model instance

getExpandoBridge

public 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
Specified by:
getExpandoBridge in interface OrgLaborModel
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

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

setExpandoBridgeAttributes

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

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 be applied
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

toCacheModel

public 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>
Specified by:
toCacheModel in interface OrgLaborModel
Returns:
the cache model object

toEscapedModel

public 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>
Specified by:
toEscapedModel in interface OrgLaborModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

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

toString

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

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns 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

persist

public void persist()
             throws SystemException
Description copied from interface: PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
persist in interface PersistedModel
Throws:
SystemException - if a system exception occurred

getType

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

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getWrappedOrgLabor

public OrgLabor getWrappedOrgLabor()
Deprecated. As of 6.1.0, replaced by getWrappedModel()


getWrappedModel

public OrgLabor getWrappedModel()
Specified by:
getWrappedModel in interface ModelWrapper<OrgLabor>

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<OrgLabor>

Liferay 6.2-ce-ga5