Liferay 6.1.2-ce-ga3

com.liferay.portal.model.impl
Class OrgLaborModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<OrgLabor>
      extended by com.liferay.portal.model.impl.OrgLaborModelImpl
All Implemented Interfaces:
BaseModel<OrgLabor>, ClassedModel, OrgLaborModel, Serializable, Cloneable, Comparable<OrgLabor>
Direct Known Subclasses:
OrgLaborBaseImpl

@JSON(strict=true)
public class OrgLaborModelImpl
extends BaseModelImpl<OrgLabor>
implements OrgLaborModel

The base model implementation for the OrgLabor service. Represents a row in the "OrgLabor" database table, with each column mapped to a property of this class.

This implementation and its corresponding interface OrgLaborModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in OrgLaborImpl.

See Also:
OrgLaborImpl, OrgLabor, OrgLaborModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static boolean COLUMN_BITMASK_ENABLED
           
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long LOCK_EXPIRATION_TIME
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static long ORGANIZATIONID_COLUMN_BITMASK
           
static String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
 
Constructor Summary
OrgLaborModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(OrgLabor orgLabor)
           
 boolean equals(Object obj)
           
 long getColumnBitmask()
           
 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 getOrganizationId()
          Returns the organization ID of this org labor.
 long getOrgLaborId()
          Returns the org labor ID of this org labor.
 long getOriginalOrganizationId()
           
 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.
 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.
 int hashCode()
           
 void resetOriginalValues()
          Reset all original fields to current values.
 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 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(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.
static OrgLabor toModel(OrgLaborSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<OrgLabor> toModels(OrgLaborSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 OrgLabor toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.OrgLaborModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

ORGANIZATIONID_COLUMN_BITMASK

public static long ORGANIZATIONID_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

OrgLaborModelImpl

public OrgLaborModelImpl()
Method Detail

toModel

public static OrgLabor toModel(OrgLaborSoap soapModel)
Converts the soap model instance into a normal model instance.

Parameters:
soapModel - the soap model instance to convert
Returns:
the normal model instance

toModels

public static List<OrgLabor> toModels(OrgLaborSoap[] soapModels)
Converts the soap model instances into normal model instances.

Parameters:
soapModels - the soap model instances to convert
Returns:
the normal model instances

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: OrgLaborModel
Returns the primary key of this org labor.

Specified by:
getPrimaryKey in interface OrgLaborModel
Returns:
the primary key of this org labor

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: OrgLaborModel
Sets the primary key of this org labor.

Specified by:
setPrimaryKey in interface OrgLaborModel
Parameters:
primaryKey - the primary key of this org labor

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<OrgLabor>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface OrgLaborModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<OrgLabor>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface OrgLaborModel
Parameters:
primaryKeyObj - the primary key of this model instance

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<OrgLabor>
Overrides:
getModelAttributes in class BaseModelImpl<OrgLabor>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<OrgLabor>
Overrides:
setModelAttributes in class BaseModelImpl<OrgLabor>

getOrgLaborId

@JSON
public long getOrgLaborId()
Description copied from interface: OrgLaborModel
Returns the org labor ID of this org labor.

Specified by:
getOrgLaborId in interface OrgLaborModel
Returns:
the org labor ID of this org labor

setOrgLaborId

public void setOrgLaborId(long orgLaborId)
Description copied from interface: OrgLaborModel
Sets the org labor ID of this org labor.

Specified by:
setOrgLaborId in interface OrgLaborModel
Parameters:
orgLaborId - the org labor ID of this org labor

getOrganizationId

@JSON
public long getOrganizationId()
Description copied from interface: OrgLaborModel
Returns the organization ID of this org labor.

Specified by:
getOrganizationId in interface OrgLaborModel
Returns:
the organization ID of this org labor

setOrganizationId

public void setOrganizationId(long organizationId)
Description copied from interface: OrgLaborModel
Sets the organization ID of this org labor.

Specified by:
setOrganizationId in interface OrgLaborModel
Parameters:
organizationId - the organization ID of this org labor

getOriginalOrganizationId

public long getOriginalOrganizationId()

getTypeId

@JSON
public int getTypeId()
Description copied from interface: OrgLaborModel
Returns the type ID of this org labor.

Specified by:
getTypeId in interface OrgLaborModel
Returns:
the type ID of this org labor

setTypeId

public void setTypeId(int typeId)
Description copied from interface: OrgLaborModel
Sets the type ID of this org labor.

Specified by:
setTypeId in interface OrgLaborModel
Parameters:
typeId - the type ID of this org labor

getSunOpen

@JSON
public int getSunOpen()
Description copied from interface: OrgLaborModel
Returns the sun open of this org labor.

Specified by:
getSunOpen in interface OrgLaborModel
Returns:
the sun open of this org labor

setSunOpen

public void setSunOpen(int sunOpen)
Description copied from interface: OrgLaborModel
Sets the sun open of this org labor.

Specified by:
setSunOpen in interface OrgLaborModel
Parameters:
sunOpen - the sun open of this org labor

getSunClose

@JSON
public int getSunClose()
Description copied from interface: OrgLaborModel
Returns the sun close of this org labor.

Specified by:
getSunClose in interface OrgLaborModel
Returns:
the sun close of this org labor

setSunClose

public void setSunClose(int sunClose)
Description copied from interface: OrgLaborModel
Sets the sun close of this org labor.

Specified by:
setSunClose in interface OrgLaborModel
Parameters:
sunClose - the sun close of this org labor

getMonOpen

@JSON
public int getMonOpen()
Description copied from interface: OrgLaborModel
Returns the mon open of this org labor.

Specified by:
getMonOpen in interface OrgLaborModel
Returns:
the mon open of this org labor

setMonOpen

public void setMonOpen(int monOpen)
Description copied from interface: OrgLaborModel
Sets the mon open of this org labor.

Specified by:
setMonOpen in interface OrgLaborModel
Parameters:
monOpen - the mon open of this org labor

getMonClose

@JSON
public int getMonClose()
Description copied from interface: OrgLaborModel
Returns the mon close of this org labor.

Specified by:
getMonClose in interface OrgLaborModel
Returns:
the mon close of this org labor

setMonClose

public void setMonClose(int monClose)
Description copied from interface: OrgLaborModel
Sets the mon close of this org labor.

Specified by:
setMonClose in interface OrgLaborModel
Parameters:
monClose - the mon close of this org labor

getTueOpen

@JSON
public int getTueOpen()
Description copied from interface: OrgLaborModel
Returns the tue open of this org labor.

Specified by:
getTueOpen in interface OrgLaborModel
Returns:
the tue open of this org labor

setTueOpen

public void setTueOpen(int tueOpen)
Description copied from interface: OrgLaborModel
Sets the tue open of this org labor.

Specified by:
setTueOpen in interface OrgLaborModel
Parameters:
tueOpen - the tue open of this org labor

getTueClose

@JSON
public int getTueClose()
Description copied from interface: OrgLaborModel
Returns the tue close of this org labor.

Specified by:
getTueClose in interface OrgLaborModel
Returns:
the tue close of this org labor

setTueClose

public void setTueClose(int tueClose)
Description copied from interface: OrgLaborModel
Sets the tue close of this org labor.

Specified by:
setTueClose in interface OrgLaborModel
Parameters:
tueClose - the tue close of this org labor

getWedOpen

@JSON
public int getWedOpen()
Description copied from interface: OrgLaborModel
Returns the wed open of this org labor.

Specified by:
getWedOpen in interface OrgLaborModel
Returns:
the wed open of this org labor

setWedOpen

public void setWedOpen(int wedOpen)
Description copied from interface: OrgLaborModel
Sets the wed open of this org labor.

Specified by:
setWedOpen in interface OrgLaborModel
Parameters:
wedOpen - the wed open of this org labor

getWedClose

@JSON
public int getWedClose()
Description copied from interface: OrgLaborModel
Returns the wed close of this org labor.

Specified by:
getWedClose in interface OrgLaborModel
Returns:
the wed close of this org labor

setWedClose

public void setWedClose(int wedClose)
Description copied from interface: OrgLaborModel
Sets the wed close of this org labor.

Specified by:
setWedClose in interface OrgLaborModel
Parameters:
wedClose - the wed close of this org labor

getThuOpen

@JSON
public int getThuOpen()
Description copied from interface: OrgLaborModel
Returns the thu open of this org labor.

Specified by:
getThuOpen in interface OrgLaborModel
Returns:
the thu open of this org labor

setThuOpen

public void setThuOpen(int thuOpen)
Description copied from interface: OrgLaborModel
Sets the thu open of this org labor.

Specified by:
setThuOpen in interface OrgLaborModel
Parameters:
thuOpen - the thu open of this org labor

getThuClose

@JSON
public int getThuClose()
Description copied from interface: OrgLaborModel
Returns the thu close of this org labor.

Specified by:
getThuClose in interface OrgLaborModel
Returns:
the thu close of this org labor

setThuClose

public void setThuClose(int thuClose)
Description copied from interface: OrgLaborModel
Sets the thu close of this org labor.

Specified by:
setThuClose in interface OrgLaborModel
Parameters:
thuClose - the thu close of this org labor

getFriOpen

@JSON
public int getFriOpen()
Description copied from interface: OrgLaborModel
Returns the fri open of this org labor.

Specified by:
getFriOpen in interface OrgLaborModel
Returns:
the fri open of this org labor

setFriOpen

public void setFriOpen(int friOpen)
Description copied from interface: OrgLaborModel
Sets the fri open of this org labor.

Specified by:
setFriOpen in interface OrgLaborModel
Parameters:
friOpen - the fri open of this org labor

getFriClose

@JSON
public int getFriClose()
Description copied from interface: OrgLaborModel
Returns the fri close of this org labor.

Specified by:
getFriClose in interface OrgLaborModel
Returns:
the fri close of this org labor

setFriClose

public void setFriClose(int friClose)
Description copied from interface: OrgLaborModel
Sets the fri close of this org labor.

Specified by:
setFriClose in interface OrgLaborModel
Parameters:
friClose - the fri close of this org labor

getSatOpen

@JSON
public int getSatOpen()
Description copied from interface: OrgLaborModel
Returns the sat open of this org labor.

Specified by:
getSatOpen in interface OrgLaborModel
Returns:
the sat open of this org labor

setSatOpen

public void setSatOpen(int satOpen)
Description copied from interface: OrgLaborModel
Sets the sat open of this org labor.

Specified by:
setSatOpen in interface OrgLaborModel
Parameters:
satOpen - the sat open of this org labor

getSatClose

@JSON
public int getSatClose()
Description copied from interface: OrgLaborModel
Returns the sat close of this org labor.

Specified by:
getSatClose in interface OrgLaborModel
Returns:
the sat close of this org labor

setSatClose

public void setSatClose(int satClose)
Description copied from interface: OrgLaborModel
Sets the sat close of this org labor.

Specified by:
setSatClose in interface OrgLaborModel
Parameters:
satClose - the sat close of this org labor

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<OrgLabor>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface OrgLaborModel
Overrides:
getExpandoBridge in class BaseModelImpl<OrgLabor>
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<OrgLabor>
Specified by:
setExpandoBridgeAttributes in interface OrgLaborModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<OrgLabor>
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

public OrgLabor toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<OrgLabor>
Specified by:
toEscapedModel in interface OrgLaborModel
Overrides:
toEscapedModel in class BaseModelImpl<OrgLabor>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public OrgLabor toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<OrgLabor>
Specified by:
toUnescapedModel in interface OrgLaborModel
Overrides:
toUnescapedModel in class BaseModelImpl<OrgLabor>

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<OrgLabor>
Specified by:
clone in interface OrgLaborModel
Specified by:
clone in class BaseModelImpl<OrgLabor>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(OrgLabor orgLabor)
Specified by:
compareTo in interface OrgLaborModel
Specified by:
compareTo in interface Comparable<OrgLabor>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface OrgLaborModel
Overrides:
hashCode in class Object

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<OrgLabor>
Overrides:
resetOriginalValues in class BaseModelImpl<OrgLabor>

toCacheModel

public CacheModel<OrgLabor> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<OrgLabor>
Specified by:
toCacheModel in interface OrgLaborModel
Overrides:
toCacheModel in class BaseModelImpl<OrgLabor>
Returns:
the cache model object

toString

public String toString()
Specified by:
toString in interface OrgLaborModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<OrgLabor>
Specified by:
toXmlString in interface OrgLaborModel
Returns:
the XML representation of this model instance

Liferay 6.1.2-ce-ga3