@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 ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<OrgLabor>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<OrgLabor>
public Object clone()
BaseModel
clone
in interface BaseModel<OrgLabor>
clone
in interface OrgLaborModel
clone
in class Object
public int compareTo(OrgLabor orgLabor)
compareTo
in interface OrgLaborModel
compareTo
in interface Comparable<OrgLabor>
public long getCompanyId()
getCompanyId
in interface OrgLaborModel
getCompanyId
in interface ShardedModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<OrgLabor>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface OrgLaborModel
public int getFriClose()
getFriClose
in interface OrgLaborModel
public int getFriOpen()
getFriOpen
in interface OrgLaborModel
public int getMonClose()
getMonClose
in interface OrgLaborModel
public int getMonOpen()
getMonOpen
in interface OrgLaborModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface OrgLaborModel
public long getOrganizationId()
getOrganizationId
in interface OrgLaborModel
public long getOrgLaborId()
getOrgLaborId
in interface OrgLaborModel
public long getPrimaryKey()
getPrimaryKey
in interface OrgLaborModel
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<OrgLabor>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface OrgLaborModel
public int getSatClose()
getSatClose
in interface OrgLaborModel
public int getSatOpen()
getSatOpen
in interface OrgLaborModel
public int getSunClose()
getSunClose
in interface OrgLaborModel
public int getSunOpen()
getSunOpen
in interface OrgLaborModel
public int getThuClose()
getThuClose
in interface OrgLaborModel
public int getThuOpen()
getThuOpen
in interface OrgLaborModel
public int getTueClose()
getTueClose
in interface OrgLaborModel
public int getTueOpen()
getTueOpen
in interface OrgLaborModel
public ListType getType() throws PortalException
getType
in interface OrgLabor
PortalException
public long getTypeId()
getTypeId
in interface OrgLaborModel
public int getWedClose()
getWedClose
in interface OrgLaborModel
public int getWedOpen()
getWedOpen
in interface OrgLaborModel
public int hashCode()
hashCode
in interface OrgLaborModel
hashCode
in class Object
public boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<OrgLabor>
isCachedModel
in interface OrgLaborModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<OrgLabor>
isEscapedModel
in interface OrgLaborModel
true
if this model instance is escaped;
false
otherwisepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.isNew
in interface BaseModel<OrgLabor>
isNew
in interface OrgLaborModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void persist()
PersistedModel
persist
in interface PersistedModel
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<OrgLabor>
setCachedModel
in interface OrgLaborModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public void setCompanyId(long companyId)
setCompanyId
in interface OrgLaborModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this org laborpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<OrgLabor>
setExpandoBridgeAttributes
in interface OrgLaborModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<OrgLabor>
setExpandoBridgeAttributes
in interface OrgLaborModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<OrgLabor>
setExpandoBridgeAttributes
in interface OrgLaborModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
public void setFriClose(int friClose)
setFriClose
in interface OrgLaborModel
friClose
- the fri close of this org laborpublic void setFriOpen(int friOpen)
setFriOpen
in interface OrgLaborModel
friOpen
- the fri open of this org laborpublic void setMonClose(int monClose)
setMonClose
in interface OrgLaborModel
monClose
- the mon close of this org laborpublic void setMonOpen(int monOpen)
setMonOpen
in interface OrgLaborModel
monOpen
- the mon open of this org laborpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface OrgLaborModel
mvccVersion
- the mvcc version of this org laborpublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<OrgLabor>
setNew
in interface OrgLaborModel
n
- whether this model instance does not yet exist in the databasepublic void setOrganizationId(long organizationId)
setOrganizationId
in interface OrgLaborModel
organizationId
- the organization ID of this org laborpublic void setOrgLaborId(long orgLaborId)
setOrgLaborId
in interface OrgLaborModel
orgLaborId
- the org labor ID of this org laborpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface OrgLaborModel
primaryKey
- the primary key of this org laborpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<OrgLabor>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface OrgLaborModel
primaryKeyObj
- the primary key of this model instancepublic void setSatClose(int satClose)
setSatClose
in interface OrgLaborModel
satClose
- the sat close of this org laborpublic void setSatOpen(int satOpen)
setSatOpen
in interface OrgLaborModel
satOpen
- the sat open of this org laborpublic void setSunClose(int sunClose)
setSunClose
in interface OrgLaborModel
sunClose
- the sun close of this org laborpublic void setSunOpen(int sunOpen)
setSunOpen
in interface OrgLaborModel
sunOpen
- the sun open of this org laborpublic void setThuClose(int thuClose)
setThuClose
in interface OrgLaborModel
thuClose
- the thu close of this org laborpublic void setThuOpen(int thuOpen)
setThuOpen
in interface OrgLaborModel
thuOpen
- the thu open of this org laborpublic void setTueClose(int tueClose)
setTueClose
in interface OrgLaborModel
tueClose
- the tue close of this org laborpublic void setTueOpen(int tueOpen)
setTueOpen
in interface OrgLaborModel
tueOpen
- the tue open of this org laborpublic void setTypeId(long typeId)
setTypeId
in interface OrgLaborModel
typeId
- the type ID of this org laborpublic void setWedClose(int wedClose)
setWedClose
in interface OrgLaborModel
wedClose
- the wed close of this org laborpublic void setWedOpen(int wedOpen)
setWedOpen
in interface OrgLaborModel
wedOpen
- the wed open of this org laborpublic CacheModel<OrgLabor> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<OrgLabor>
toCacheModel
in interface OrgLaborModel
public OrgLabor toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<OrgLabor>
toEscapedModel
in interface OrgLaborModel
AutoEscapeBeanHandler
public String toString()
toString
in interface OrgLaborModel
toString
in class Object
public OrgLabor toUnescapedModel()
toUnescapedModel
in interface BaseModel<OrgLabor>
toUnescapedModel
in interface OrgLaborModel
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<OrgLabor>
toXmlString
in interface OrgLaborModel
public boolean equals(Object obj)
equals
in class Object
public OrgLabor getWrappedModel()
getWrappedModel
in interface ModelWrapper<OrgLabor>
public boolean isEntityCacheEnabled()
BaseModel
true
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()
BaseModel
true
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()
BaseModel
resetOriginalValues
in interface BaseModel<OrgLabor>