|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OrgLaborModel
The base model interface for the OrgLabor service. Represents a row in the "OrgLabor" database table, with each column mapped to a property of this class.
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
.
Never modify or reference this interface directly. All methods that expect a org labor model instance should use the OrgLabor
interface instead.
OrgLabor
,
OrgLaborImpl
,
OrgLaborModelImpl
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(OrgLabor orgLabor)
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
int |
getFriClose()
Gets the fri close of this org labor. |
int |
getFriOpen()
Gets the fri open of this org labor. |
int |
getMonClose()
Gets the mon close of this org labor. |
int |
getMonOpen()
Gets the mon open of this org labor. |
long |
getOrganizationId()
Gets the organization id of this org labor. |
long |
getOrgLaborId()
Gets the org labor id of this org labor. |
long |
getPrimaryKey()
Gets the primary key of this org labor. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
int |
getSatClose()
Gets the sat close of this org labor. |
int |
getSatOpen()
Gets the sat open of this org labor. |
int |
getSunClose()
Gets the sun close of this org labor. |
int |
getSunOpen()
Gets the sun open of this org labor. |
int |
getThuClose()
Gets the thu close of this org labor. |
int |
getThuOpen()
Gets the thu open of this org labor. |
int |
getTueClose()
Gets the tue close of this org labor. |
int |
getTueOpen()
Gets the tue open of this org labor. |
int |
getTypeId()
Gets the type id of this org labor. |
int |
getWedClose()
Gets the wed close of this org labor. |
int |
getWedOpen()
Gets the wed open of this org labor. |
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isNew()
Determines 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 |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
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 |
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 pk)
Sets the primary key of this org labor |
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. |
OrgLabor |
toEscapedModel()
Gets a copy of this org labor as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
Method Detail |
---|
long getPrimaryKey()
void setPrimaryKey(long pk)
pk
- the primary key of this org laborlong getOrgLaborId()
void setOrgLaborId(long orgLaborId)
orgLaborId
- the org labor id of this org laborlong getOrganizationId()
void setOrganizationId(long organizationId)
organizationId
- the organization id of this org laborint getTypeId()
void setTypeId(int 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 laborOrgLabor toEscapedModel()
AutoEscapeBeanHandler
.
AutoEscapeBeanHandler
boolean isNew()
BaseModel
isNew
in interface BaseModel<OrgLabor>
true
if this model instance does not yet exist in
the database; false
otherwisevoid setNew(boolean n)
BaseModel
setNew
in interface BaseModel<OrgLabor>
n
- whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
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
isEscapedModel
in interface BaseModel<OrgLabor>
true
if this model instance is escaped;
false
otherwiseBaseModel.setEscapedModel(boolean)
void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel
method. For example,
UserModel.toEscapedModel()
.
setEscapedModel
in interface BaseModel<OrgLabor>
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<OrgLabor>
ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<OrgLabor>
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<OrgLabor>
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
Object clone()
BaseModel
clone
in interface BaseModel<OrgLabor>
int compareTo(OrgLabor orgLabor)
compareTo
in interface Comparable<OrgLabor>
int hashCode()
hashCode
in class Object
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<OrgLabor>
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |