@ProviderType public class OrgLaborWrapper extends java.lang.Object implements OrgLabor, ModelWrapper<OrgLabor>
This class is a wrapper for OrgLabor.
OrgLabor,
Serialized Form| Constructor and Description |
|---|
OrgLaborWrapper(OrgLabor orgLabor) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(OrgLabor orgLabor) |
boolean |
equals(java.lang.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.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.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.
|
java.io.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(java.util.Map<java.lang.String,java.lang.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(java.io.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. |
java.lang.String |
toString() |
OrgLabor |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public OrgLaborWrapper(OrgLabor orgLabor)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<OrgLabor>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<OrgLabor>public long getPrimaryKey()
getPrimaryKey in interface OrgLaborModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface OrgLaborModelprimaryKey - the primary key of this org laborpublic long getOrgLaborId()
getOrgLaborId in interface OrgLaborModelpublic void setOrgLaborId(long orgLaborId)
setOrgLaborId in interface OrgLaborModelorgLaborId - the org labor ID of this org laborpublic long getOrganizationId()
getOrganizationId in interface OrgLaborModelpublic void setOrganizationId(long organizationId)
setOrganizationId in interface OrgLaborModelorganizationId - the organization ID of this org laborpublic int getTypeId()
getTypeId in interface OrgLaborModelpublic void setTypeId(int typeId)
setTypeId in interface OrgLaborModeltypeId - the type ID of this org laborpublic int getSunOpen()
getSunOpen in interface OrgLaborModelpublic void setSunOpen(int sunOpen)
setSunOpen in interface OrgLaborModelsunOpen - the sun open of this org laborpublic int getSunClose()
getSunClose in interface OrgLaborModelpublic void setSunClose(int sunClose)
setSunClose in interface OrgLaborModelsunClose - the sun close of this org laborpublic int getMonOpen()
getMonOpen in interface OrgLaborModelpublic void setMonOpen(int monOpen)
setMonOpen in interface OrgLaborModelmonOpen - the mon open of this org laborpublic int getMonClose()
getMonClose in interface OrgLaborModelpublic void setMonClose(int monClose)
setMonClose in interface OrgLaborModelmonClose - the mon close of this org laborpublic int getTueOpen()
getTueOpen in interface OrgLaborModelpublic void setTueOpen(int tueOpen)
setTueOpen in interface OrgLaborModeltueOpen - the tue open of this org laborpublic int getTueClose()
getTueClose in interface OrgLaborModelpublic void setTueClose(int tueClose)
setTueClose in interface OrgLaborModeltueClose - the tue close of this org laborpublic int getWedOpen()
getWedOpen in interface OrgLaborModelpublic void setWedOpen(int wedOpen)
setWedOpen in interface OrgLaborModelwedOpen - the wed open of this org laborpublic int getWedClose()
getWedClose in interface OrgLaborModelpublic void setWedClose(int wedClose)
setWedClose in interface OrgLaborModelwedClose - the wed close of this org laborpublic int getThuOpen()
getThuOpen in interface OrgLaborModelpublic void setThuOpen(int thuOpen)
setThuOpen in interface OrgLaborModelthuOpen - the thu open of this org laborpublic int getThuClose()
getThuClose in interface OrgLaborModelpublic void setThuClose(int thuClose)
setThuClose in interface OrgLaborModelthuClose - the thu close of this org laborpublic int getFriOpen()
getFriOpen in interface OrgLaborModelpublic void setFriOpen(int friOpen)
setFriOpen in interface OrgLaborModelfriOpen - the fri open of this org laborpublic int getFriClose()
getFriClose in interface OrgLaborModelpublic void setFriClose(int friClose)
setFriClose in interface OrgLaborModelfriClose - the fri close of this org laborpublic int getSatOpen()
getSatOpen in interface OrgLaborModelpublic void setSatOpen(int satOpen)
setSatOpen in interface OrgLaborModelsatOpen - the sat open of this org laborpublic int getSatClose()
getSatClose in interface OrgLaborModelpublic void setSatClose(int satClose)
setSatClose in interface OrgLaborModelsatClose - the sat close of this org laborpublic 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 void setNew(boolean n)
BaseModelsetNew in interface BaseModel<OrgLabor>setNew in interface OrgLaborModeln - whether this model instance does not yet exist in the databasepublic 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 void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<OrgLabor>setCachedModel in interface OrgLaborModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic 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 java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<OrgLabor>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface OrgLaborModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<OrgLabor>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface OrgLaborModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<OrgLabor>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface OrgLaborModelpublic 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 java.lang.Object clone()
BaseModelclone in interface BaseModel<OrgLabor>clone in interface OrgLaborModelclone in class java.lang.Objectpublic int compareTo(OrgLabor orgLabor)
compareTo in interface OrgLaborModelcompareTo in interface java.lang.Comparable<OrgLabor>public int hashCode()
hashCode in interface OrgLaborModelhashCode in class java.lang.Objectpublic CacheModel<OrgLabor> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<OrgLabor>toCacheModel in interface OrgLaborModelpublic OrgLabor toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<OrgLabor>toEscapedModel in interface OrgLaborModelAutoEscapeBeanHandlerpublic OrgLabor toUnescapedModel()
toUnescapedModel in interface BaseModel<OrgLabor>toUnescapedModel in interface OrgLaborModelpublic java.lang.String toString()
toString in interface OrgLaborModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<OrgLabor>toXmlString in interface OrgLaborModelpublic void persist()
throws SystemException
PersistedModelpersist in interface PersistedModelSystemException - if a system exception occurredpublic ListType getType() throws PortalException, SystemException
getType in interface OrgLaborPortalExceptionSystemExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic OrgLabor getWrappedOrgLabor()
getWrappedModel()public OrgLabor getWrappedModel()
getWrappedModel in interface ModelWrapper<OrgLabor>public void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<OrgLabor>