@ProviderType public interface OrgLaborModel extends BaseModel<OrgLabor>, MVCCModel, ShardedModel
This interface and its corresponding implementation OrgLaborModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in OrgLaborImpl
.
OrgLabor
,
OrgLaborImpl
,
OrgLaborModelImpl
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(OrgLabor orgLabor) |
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.
|
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.
|
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.
|
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 |
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 |
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.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
getModelClass, getModelClassName
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this org laborlong getMvccVersion()
getMvccVersion
in interface MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this org laborlong getOrgLaborId()
void setOrgLaborId(long orgLaborId)
orgLaborId
- the org labor ID of this org laborlong getCompanyId()
getCompanyId
in interface ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
companyId
- the company ID of this org laborlong getOrganizationId()
void setOrganizationId(long organizationId)
organizationId
- the organization ID of this org laborlong getTypeId()
void setTypeId(long typeId)
typeId
- the type ID of this org laborint getSunOpen()
void setSunOpen(int sunOpen)
sunOpen
- the sun open of this org laborint getSunClose()
void setSunClose(int sunClose)
sunClose
- the sun close of this org laborint getMonOpen()
void setMonOpen(int monOpen)
monOpen
- the mon open of this org laborint getMonClose()
void setMonClose(int monClose)
monClose
- the mon close of this org laborint getTueOpen()
void setTueOpen(int tueOpen)
tueOpen
- the tue open of this org laborint getTueClose()
void setTueClose(int tueClose)
tueClose
- the tue close of this org laborint getWedOpen()
void setWedOpen(int wedOpen)
wedOpen
- the wed open of this org laborint getWedClose()
void setWedClose(int wedClose)
wedClose
- the wed close of this org laborint getThuOpen()
void setThuOpen(int thuOpen)
thuOpen
- the thu open of this org laborint getThuClose()
void setThuClose(int thuClose)
thuClose
- the thu close of this org laborint getFriOpen()
void setFriOpen(int friOpen)
friOpen
- the fri open of this org laborint getFriClose()
void setFriClose(int friClose)
friClose
- the fri close of this org laborint getSatOpen()
void setSatOpen(int satOpen)
satOpen
- the sat open of this org laborint getSatClose()
void setSatClose(int satClose)
satClose
- the sat close of this org laborboolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.void setNew(boolean n)
BaseModel
boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<OrgLabor>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<OrgLabor>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<OrgLabor>
true
if this model instance is escaped;
false
otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<OrgLabor>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<OrgLabor>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<OrgLabor>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<OrgLabor>
void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<OrgLabor>
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<OrgLabor>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
Object clone()
BaseModel
int compareTo(OrgLabor orgLabor)
compareTo
in interface Comparable<OrgLabor>
int hashCode()
hashCode
in class Object
CacheModel<OrgLabor> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<OrgLabor>
OrgLabor toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<OrgLabor>
AutoEscapeBeanHandler
OrgLabor toUnescapedModel()
toUnescapedModel
in interface BaseModel<OrgLabor>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<OrgLabor>