@ProviderType public class OrgLaborWrapper extends Object implements OrgLabor, ModelWrapper<OrgLabor>
This class is a wrapper for OrgLabor.
OrgLabor,
Serialized FormORG_LABOR_ID_ACCESSOR| Constructor and Description |
|---|
OrgLaborWrapper(OrgLabor orgLabor) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(OrgLabor orgLabor) |
boolean |
equals(Object obj) |
long |
getCompanyId()
Returns the company ID of this org labor.
|
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 |
getMvccVersion()
Returns the mvcc version 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() |
long |
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() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
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 |
setCompanyId(long companyId)
Sets the company ID of this org labor.
|
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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version 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(long 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.
|
public OrgLaborWrapper(OrgLabor orgLabor)
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<OrgLabor>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<OrgLabor>public CacheModel<OrgLabor> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<OrgLabor>toCacheModel in interface OrgLaborModelpublic ListType getType() throws PortalException
getType in interface OrgLaborPortalExceptionpublic OrgLabor toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<OrgLabor>toEscapedModel in interface OrgLaborModelAutoEscapeBeanHandlerpublic OrgLabor toUnescapedModel()
toUnescapedModel in interface BaseModel<OrgLabor>toUnescapedModel in interface OrgLaborModelpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<OrgLabor>isCachedModel in interface OrgLaborModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<OrgLabor>isEscapedModel in interface OrgLaborModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<OrgLabor>isNew in interface OrgLaborModeltrue if this model instance does not yet exist in
the database; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<OrgLabor>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface OrgLaborModelpublic int compareTo(OrgLabor orgLabor)
compareTo in interface OrgLaborModelcompareTo in interface Comparable<OrgLabor>public int getFriClose()
getFriClose in interface OrgLaborModelpublic int getFriOpen()
getFriOpen in interface OrgLaborModelpublic int getMonClose()
getMonClose in interface OrgLaborModelpublic int getMonOpen()
getMonOpen in interface OrgLaborModelpublic int getSatClose()
getSatClose in interface OrgLaborModelpublic int getSatOpen()
getSatOpen in interface OrgLaborModelpublic int getSunClose()
getSunClose in interface OrgLaborModelpublic int getSunOpen()
getSunOpen in interface OrgLaborModelpublic int getThuClose()
getThuClose in interface OrgLaborModelpublic int getThuOpen()
getThuOpen in interface OrgLaborModelpublic int getTueClose()
getTueClose in interface OrgLaborModelpublic int getTueOpen()
getTueOpen in interface OrgLaborModelpublic int getWedClose()
getWedClose in interface OrgLaborModelpublic int getWedOpen()
getWedOpen in interface OrgLaborModelpublic int hashCode()
hashCode in interface OrgLaborModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<OrgLabor>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface OrgLaborModelpublic Object clone()
BaseModelpublic String toString()
toString in interface OrgLaborModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface BaseModel<OrgLabor>toXmlString in interface OrgLaborModelpublic long getCompanyId()
getCompanyId in interface OrgLaborModelgetCompanyId in interface ShardedModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface OrgLaborModelpublic long getOrgLaborId()
getOrgLaborId in interface OrgLaborModelpublic long getOrganizationId()
getOrganizationId in interface OrgLaborModelpublic long getPrimaryKey()
getPrimaryKey in interface OrgLaborModelpublic long getTypeId()
getTypeId in interface OrgLaborModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<OrgLabor>setCachedModel in interface OrgLaborModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCompanyId(long companyId)
setCompanyId in interface OrgLaborModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this org laborpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<OrgLabor>setExpandoBridgeAttributes in interface OrgLaborModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<OrgLabor>setExpandoBridgeAttributes in interface OrgLaborModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<OrgLabor>setExpandoBridgeAttributes in interface OrgLaborModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setFriClose(int friClose)
setFriClose in interface OrgLaborModelfriClose - the fri close of this org laborpublic void setFriOpen(int friOpen)
setFriOpen in interface OrgLaborModelfriOpen - the fri open of this org laborpublic void setMonClose(int monClose)
setMonClose in interface OrgLaborModelmonClose - the mon close of this org laborpublic void setMonOpen(int monOpen)
setMonOpen in interface OrgLaborModelmonOpen - the mon open of this org laborpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface OrgLaborModelmvccVersion - the mvcc version of this org laborpublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<OrgLabor>setNew in interface OrgLaborModeln - whether this model instance does not yet exist in the databasepublic void setOrgLaborId(long orgLaborId)
setOrgLaborId in interface OrgLaborModelorgLaborId - the org labor ID of this org laborpublic void setOrganizationId(long organizationId)
setOrganizationId in interface OrgLaborModelorganizationId - the organization ID of this org laborpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface OrgLaborModelprimaryKey - the primary key of this org laborpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<OrgLabor>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface OrgLaborModelprimaryKeyObj - the primary key of this model instancepublic void setSatClose(int satClose)
setSatClose in interface OrgLaborModelsatClose - the sat close of this org laborpublic void setSatOpen(int satOpen)
setSatOpen in interface OrgLaborModelsatOpen - the sat open of this org laborpublic void setSunClose(int sunClose)
setSunClose in interface OrgLaborModelsunClose - the sun close of this org laborpublic void setSunOpen(int sunOpen)
setSunOpen in interface OrgLaborModelsunOpen - the sun open of this org laborpublic void setThuClose(int thuClose)
setThuClose in interface OrgLaborModelthuClose - the thu close of this org laborpublic void setThuOpen(int thuOpen)
setThuOpen in interface OrgLaborModelthuOpen - the thu open of this org laborpublic void setTueClose(int tueClose)
setTueClose in interface OrgLaborModeltueClose - the tue close of this org laborpublic void setTueOpen(int tueOpen)
setTueOpen in interface OrgLaborModeltueOpen - the tue open of this org laborpublic void setTypeId(long typeId)
setTypeId in interface OrgLaborModeltypeId - the type ID of this org laborpublic void setWedClose(int wedClose)
setWedClose in interface OrgLaborModelwedClose - the wed close of this org laborpublic void setWedOpen(int wedOpen)
setWedOpen in interface OrgLaborModelwedOpen - the wed open of this org laborpublic OrgLabor getWrappedModel()
getWrappedModel in interface ModelWrapper<OrgLabor>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<OrgLabor>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<OrgLabor>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<OrgLabor>