Liferay 6.1.2-ce-ga3

com.liferay.portlet.mobiledevicerules.model.impl
Class MDRRuleGroupInstanceModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<MDRRuleGroupInstance>
      extended by com.liferay.portlet.mobiledevicerules.model.impl.MDRRuleGroupInstanceModelImpl
All Implemented Interfaces:
AttachedModel, AuditedModel, BaseModel<MDRRuleGroupInstance>, ClassedModel, GroupedModel, MDRRuleGroupInstanceModel, Serializable, Cloneable, Comparable<MDRRuleGroupInstance>
Direct Known Subclasses:
MDRRuleGroupInstanceBaseImpl

@JSON(strict=true)
public class MDRRuleGroupInstanceModelImpl
extends BaseModelImpl<MDRRuleGroupInstance>
implements MDRRuleGroupInstanceModel

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

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

See Also:
MDRRuleGroupInstanceImpl, MDRRuleGroupInstance, MDRRuleGroupInstanceModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static long CLASSNAMEID_COLUMN_BITMASK
           
static long CLASSPK_COLUMN_BITMASK
           
static boolean COLUMN_BITMASK_ENABLED
           
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long GROUPID_COLUMN_BITMASK
           
static long LOCK_EXPIRATION_TIME
           
static long RULEGROUPID_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
           
static long UUID_COLUMN_BITMASK
           
 
Constructor Summary
MDRRuleGroupInstanceModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(MDRRuleGroupInstance mdrRuleGroupInstance)
           
 boolean equals(Object obj)
           
 String getClassName()
          Returns the fully qualified class name of this m d r rule group instance.
 long getClassNameId()
          Returns the class name ID of this m d r rule group instance.
 long getClassPK()
          Returns the class p k of this m d r rule group instance.
 long getColumnBitmask()
           
 long getCompanyId()
          Returns the company ID of this m d r rule group instance.
 Date getCreateDate()
          Returns the create date of this m d r rule group instance.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getGroupId()
          Returns the group ID of this m d r rule group instance.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this m d r rule group instance.
 long getOriginalClassNameId()
           
 long getOriginalClassPK()
           
 long getOriginalGroupId()
           
 long getOriginalRuleGroupId()
           
 String getOriginalUuid()
           
 long getPrimaryKey()
          Returns the primary key of this m d r rule group instance.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 int getPriority()
          Returns the priority of this m d r rule group instance.
 long getRuleGroupId()
          Returns the rule group ID of this m d r rule group instance.
 long getRuleGroupInstanceId()
          Returns the rule group instance ID of this m d r rule group instance.
 long getUserId()
          Returns the user ID of this m d r rule group instance.
 String getUserName()
          Returns the user name of this m d r rule group instance.
 String getUserUuid()
          Returns the user uuid of this m d r rule group instance.
 String getUuid()
          Returns the uuid of this m d r rule group instance.
 int hashCode()
           
 void resetOriginalValues()
          Reset all original fields to current values.
 void setClassName(String className)
           
 void setClassNameId(long classNameId)
          Sets the class name ID of this m d r rule group instance.
 void setClassPK(long classPK)
          Sets the class p k of this m d r rule group instance.
 void setCompanyId(long companyId)
          Sets the company ID of this m d r rule group instance.
 void setCreateDate(Date createDate)
          Sets the create date of this m d r rule group instance.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setGroupId(long groupId)
          Sets the group ID of this m d r rule group instance.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this m d r rule group instance.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this m d r rule group instance.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setPriority(int priority)
          Sets the priority of this m d r rule group instance.
 void setRuleGroupId(long ruleGroupId)
          Sets the rule group ID of this m d r rule group instance.
 void setRuleGroupInstanceId(long ruleGroupInstanceId)
          Sets the rule group instance ID of this m d r rule group instance.
 void setUserId(long userId)
          Sets the user ID of this m d r rule group instance.
 void setUserName(String userName)
          Sets the user name of this m d r rule group instance.
 void setUserUuid(String userUuid)
          Sets the user uuid of this m d r rule group instance.
 void setUuid(String uuid)
          Sets the uuid of this m d r rule group instance.
 CacheModel<MDRRuleGroupInstance> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 MDRRuleGroupInstance toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
static MDRRuleGroupInstance toModel(MDRRuleGroupInstanceSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<MDRRuleGroupInstance> toModels(MDRRuleGroupInstanceSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 MDRRuleGroupInstance 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.portlet.mobiledevicerules.model.MDRRuleGroupInstanceModel
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

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

CLASSNAMEID_COLUMN_BITMASK

public static long CLASSNAMEID_COLUMN_BITMASK

CLASSPK_COLUMN_BITMASK

public static long CLASSPK_COLUMN_BITMASK

GROUPID_COLUMN_BITMASK

public static long GROUPID_COLUMN_BITMASK

RULEGROUPID_COLUMN_BITMASK

public static long RULEGROUPID_COLUMN_BITMASK

UUID_COLUMN_BITMASK

public static long UUID_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

MDRRuleGroupInstanceModelImpl

public MDRRuleGroupInstanceModelImpl()
Method Detail

toModel

public static MDRRuleGroupInstance toModel(MDRRuleGroupInstanceSoap 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<MDRRuleGroupInstance> toModels(MDRRuleGroupInstanceSoap[] 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: MDRRuleGroupInstanceModel
Returns the primary key of this m d r rule group instance.

Specified by:
getPrimaryKey in interface MDRRuleGroupInstanceModel
Returns:
the primary key of this m d r rule group instance

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: MDRRuleGroupInstanceModel
Sets the primary key of this m d r rule group instance.

Specified by:
setPrimaryKey in interface MDRRuleGroupInstanceModel
Parameters:
primaryKey - the primary key of this m d r rule group instance

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<MDRRuleGroupInstance>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface MDRRuleGroupInstanceModel
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<MDRRuleGroupInstance>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface MDRRuleGroupInstanceModel
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<MDRRuleGroupInstance>
Overrides:
getModelAttributes in class BaseModelImpl<MDRRuleGroupInstance>

setModelAttributes

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

getUuid

@JSON
public String getUuid()
Description copied from interface: MDRRuleGroupInstanceModel
Returns the uuid of this m d r rule group instance.

Specified by:
getUuid in interface MDRRuleGroupInstanceModel
Returns:
the uuid of this m d r rule group instance

setUuid

public void setUuid(String uuid)
Description copied from interface: MDRRuleGroupInstanceModel
Sets the uuid of this m d r rule group instance.

Specified by:
setUuid in interface MDRRuleGroupInstanceModel
Parameters:
uuid - the uuid of this m d r rule group instance

getOriginalUuid

public String getOriginalUuid()

getRuleGroupInstanceId

@JSON
public long getRuleGroupInstanceId()
Description copied from interface: MDRRuleGroupInstanceModel
Returns the rule group instance ID of this m d r rule group instance.

Specified by:
getRuleGroupInstanceId in interface MDRRuleGroupInstanceModel
Returns:
the rule group instance ID of this m d r rule group instance

setRuleGroupInstanceId

public void setRuleGroupInstanceId(long ruleGroupInstanceId)
Description copied from interface: MDRRuleGroupInstanceModel
Sets the rule group instance ID of this m d r rule group instance.

Specified by:
setRuleGroupInstanceId in interface MDRRuleGroupInstanceModel
Parameters:
ruleGroupInstanceId - the rule group instance ID of this m d r rule group instance

getGroupId

@JSON
public long getGroupId()
Description copied from interface: MDRRuleGroupInstanceModel
Returns the group ID of this m d r rule group instance.

Specified by:
getGroupId in interface GroupedModel
Specified by:
getGroupId in interface MDRRuleGroupInstanceModel
Returns:
the group ID of this m d r rule group instance

setGroupId

public void setGroupId(long groupId)
Description copied from interface: MDRRuleGroupInstanceModel
Sets the group ID of this m d r rule group instance.

Specified by:
setGroupId in interface GroupedModel
Specified by:
setGroupId in interface MDRRuleGroupInstanceModel
Parameters:
groupId - the group ID of this m d r rule group instance

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

@JSON
public long getCompanyId()
Description copied from interface: MDRRuleGroupInstanceModel
Returns the company ID of this m d r rule group instance.

Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface MDRRuleGroupInstanceModel
Returns:
the company ID of this m d r rule group instance

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: MDRRuleGroupInstanceModel
Sets the company ID of this m d r rule group instance.

Specified by:
setCompanyId in interface AuditedModel
Specified by:
setCompanyId in interface MDRRuleGroupInstanceModel
Parameters:
companyId - the company ID of this m d r rule group instance

getUserId

@JSON
public long getUserId()
Description copied from interface: MDRRuleGroupInstanceModel
Returns the user ID of this m d r rule group instance.

Specified by:
getUserId in interface AuditedModel
Specified by:
getUserId in interface MDRRuleGroupInstanceModel
Returns:
the user ID of this m d r rule group instance

setUserId

public void setUserId(long userId)
Description copied from interface: MDRRuleGroupInstanceModel
Sets the user ID of this m d r rule group instance.

Specified by:
setUserId in interface AuditedModel
Specified by:
setUserId in interface MDRRuleGroupInstanceModel
Parameters:
userId - the user ID of this m d r rule group instance

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: MDRRuleGroupInstanceModel
Returns the user uuid of this m d r rule group instance.

Specified by:
getUserUuid in interface AuditedModel
Specified by:
getUserUuid in interface MDRRuleGroupInstanceModel
Returns:
the user uuid of this m d r rule group instance
Throws:
SystemException - if a system exception occurred

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: MDRRuleGroupInstanceModel
Sets the user uuid of this m d r rule group instance.

Specified by:
setUserUuid in interface AuditedModel
Specified by:
setUserUuid in interface MDRRuleGroupInstanceModel
Parameters:
userUuid - the user uuid of this m d r rule group instance

getUserName

@JSON
public String getUserName()
Description copied from interface: MDRRuleGroupInstanceModel
Returns the user name of this m d r rule group instance.

Specified by:
getUserName in interface AuditedModel
Specified by:
getUserName in interface MDRRuleGroupInstanceModel
Returns:
the user name of this m d r rule group instance

setUserName

public void setUserName(String userName)
Description copied from interface: MDRRuleGroupInstanceModel
Sets the user name of this m d r rule group instance.

Specified by:
setUserName in interface AuditedModel
Specified by:
setUserName in interface MDRRuleGroupInstanceModel
Parameters:
userName - the user name of this m d r rule group instance

getCreateDate

@JSON
public Date getCreateDate()
Description copied from interface: MDRRuleGroupInstanceModel
Returns the create date of this m d r rule group instance.

Specified by:
getCreateDate in interface AuditedModel
Specified by:
getCreateDate in interface MDRRuleGroupInstanceModel
Returns:
the create date of this m d r rule group instance

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: MDRRuleGroupInstanceModel
Sets the create date of this m d r rule group instance.

Specified by:
setCreateDate in interface AuditedModel
Specified by:
setCreateDate in interface MDRRuleGroupInstanceModel
Parameters:
createDate - the create date of this m d r rule group instance

getModifiedDate

@JSON
public Date getModifiedDate()
Description copied from interface: MDRRuleGroupInstanceModel
Returns the modified date of this m d r rule group instance.

Specified by:
getModifiedDate in interface AuditedModel
Specified by:
getModifiedDate in interface MDRRuleGroupInstanceModel
Returns:
the modified date of this m d r rule group instance

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: MDRRuleGroupInstanceModel
Sets the modified date of this m d r rule group instance.

Specified by:
setModifiedDate in interface AuditedModel
Specified by:
setModifiedDate in interface MDRRuleGroupInstanceModel
Parameters:
modifiedDate - the modified date of this m d r rule group instance

getClassName

public String getClassName()
Description copied from interface: MDRRuleGroupInstanceModel
Returns the fully qualified class name of this m d r rule group instance.

Specified by:
getClassName in interface AttachedModel
Specified by:
getClassName in interface MDRRuleGroupInstanceModel
Returns:
the fully qualified class name of this m d r rule group instance

setClassName

public void setClassName(String className)
Specified by:
setClassName in interface MDRRuleGroupInstanceModel

getClassNameId

@JSON
public long getClassNameId()
Description copied from interface: MDRRuleGroupInstanceModel
Returns the class name ID of this m d r rule group instance.

Specified by:
getClassNameId in interface AttachedModel
Specified by:
getClassNameId in interface MDRRuleGroupInstanceModel
Returns:
the class name ID of this m d r rule group instance

setClassNameId

public void setClassNameId(long classNameId)
Description copied from interface: MDRRuleGroupInstanceModel
Sets the class name ID of this m d r rule group instance.

Specified by:
setClassNameId in interface AttachedModel
Specified by:
setClassNameId in interface MDRRuleGroupInstanceModel
Parameters:
classNameId - the class name ID of this m d r rule group instance

getOriginalClassNameId

public long getOriginalClassNameId()

getClassPK

@JSON
public long getClassPK()
Description copied from interface: MDRRuleGroupInstanceModel
Returns the class p k of this m d r rule group instance.

Specified by:
getClassPK in interface AttachedModel
Specified by:
getClassPK in interface MDRRuleGroupInstanceModel
Returns:
the class p k of this m d r rule group instance

setClassPK

public void setClassPK(long classPK)
Description copied from interface: MDRRuleGroupInstanceModel
Sets the class p k of this m d r rule group instance.

Specified by:
setClassPK in interface AttachedModel
Specified by:
setClassPK in interface MDRRuleGroupInstanceModel
Parameters:
classPK - the class p k of this m d r rule group instance

getOriginalClassPK

public long getOriginalClassPK()

getRuleGroupId

@JSON
public long getRuleGroupId()
Description copied from interface: MDRRuleGroupInstanceModel
Returns the rule group ID of this m d r rule group instance.

Specified by:
getRuleGroupId in interface MDRRuleGroupInstanceModel
Returns:
the rule group ID of this m d r rule group instance

setRuleGroupId

public void setRuleGroupId(long ruleGroupId)
Description copied from interface: MDRRuleGroupInstanceModel
Sets the rule group ID of this m d r rule group instance.

Specified by:
setRuleGroupId in interface MDRRuleGroupInstanceModel
Parameters:
ruleGroupId - the rule group ID of this m d r rule group instance

getOriginalRuleGroupId

public long getOriginalRuleGroupId()

getPriority

@JSON
public int getPriority()
Description copied from interface: MDRRuleGroupInstanceModel
Returns the priority of this m d r rule group instance.

Specified by:
getPriority in interface MDRRuleGroupInstanceModel
Returns:
the priority of this m d r rule group instance

setPriority

public void setPriority(int priority)
Description copied from interface: MDRRuleGroupInstanceModel
Sets the priority of this m d r rule group instance.

Specified by:
setPriority in interface MDRRuleGroupInstanceModel
Parameters:
priority - the priority of this m d r rule group instance

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<MDRRuleGroupInstance>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface MDRRuleGroupInstanceModel
Overrides:
getExpandoBridge in class BaseModelImpl<MDRRuleGroupInstance>
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<MDRRuleGroupInstance>
Specified by:
setExpandoBridgeAttributes in interface MDRRuleGroupInstanceModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<MDRRuleGroupInstance>
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

toEscapedModel

public MDRRuleGroupInstance 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<MDRRuleGroupInstance>
Specified by:
toEscapedModel in interface MDRRuleGroupInstanceModel
Overrides:
toEscapedModel in class BaseModelImpl<MDRRuleGroupInstance>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public MDRRuleGroupInstance toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<MDRRuleGroupInstance>
Specified by:
toUnescapedModel in interface MDRRuleGroupInstanceModel
Overrides:
toUnescapedModel in class BaseModelImpl<MDRRuleGroupInstance>

clone

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

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

compareTo

public int compareTo(MDRRuleGroupInstance mdrRuleGroupInstance)
Specified by:
compareTo in interface MDRRuleGroupInstanceModel
Specified by:
compareTo in interface Comparable<MDRRuleGroupInstance>

equals

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

hashCode

public int hashCode()
Specified by:
hashCode in interface MDRRuleGroupInstanceModel
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<MDRRuleGroupInstance>
Overrides:
resetOriginalValues in class BaseModelImpl<MDRRuleGroupInstance>

toCacheModel

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

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

toString

public String toString()
Specified by:
toString in interface MDRRuleGroupInstanceModel
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<MDRRuleGroupInstance>
Specified by:
toXmlString in interface MDRRuleGroupInstanceModel
Returns:
the XML representation of this model instance

Liferay 6.1.2-ce-ga3