public class SocialActivityAchievementWrapper extends BaseModelWrapper<SocialActivityAchievement> implements ModelWrapper<SocialActivityAchievement>, SocialActivityAchievement
This class is a wrapper for SocialActivityAchievement
.
SocialActivityAchievement
,
Serialized Formmodel
ACTIVITY_ACHIEVEMENT_ID_ACCESSOR
Constructor and Description |
---|
SocialActivityAchievementWrapper(SocialActivityAchievement socialActivityAchievement) |
Modifier and Type | Method and Description |
---|---|
SocialActivityAchievement |
cloneWithOriginalValues() |
long |
getActivityAchievementId()
Returns the activity achievement ID of this social activity achievement.
|
Map<String,Function<SocialActivityAchievement,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<SocialActivityAchievement,Object>> |
getAttributeSetterBiConsumers() |
long |
getCompanyId()
Returns the company ID of this social activity achievement.
|
long |
getCreateDate()
Returns the create date of this social activity achievement.
|
long |
getCtCollectionId()
Returns the ct collection ID of this social activity achievement.
|
boolean |
getFirstInGroup()
Returns the first in group of this social activity achievement.
|
long |
getGroupId()
Returns the group ID of this social activity achievement.
|
Map<String,Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this social activity achievement.
|
String |
getName()
Returns the name of this social activity achievement.
|
long |
getPrimaryKey()
Returns the primary key of this social activity achievement.
|
long |
getUserId()
Returns the user ID of this social activity achievement.
|
String |
getUserUuid()
Returns the user uuid of this social activity achievement.
|
boolean |
isFirstInGroup()
Returns
true if this social activity achievement is first in group. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setActivityAchievementId(long activityAchievementId)
Sets the activity achievement ID of this social activity achievement.
|
void |
setCompanyId(long companyId)
Sets the company ID of this social activity achievement.
|
void |
setCreateDate(long createDate)
Sets the create date of this social activity achievement.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this social activity achievement.
|
void |
setFirstInGroup(boolean firstInGroup)
Sets whether this social activity achievement is first in group.
|
void |
setGroupId(long groupId)
Sets the group ID of this social activity achievement.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this social activity achievement.
|
void |
setName(String name)
Sets the name of this social activity achievement.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this social activity achievement.
|
void |
setUserId(long userId)
Sets the user ID of this social activity achievement.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this social activity achievement.
|
protected SocialActivityAchievementWrapper |
wrap(SocialActivityAchievement socialActivityAchievement) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
getWrappedModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
public SocialActivityAchievementWrapper(SocialActivityAchievement socialActivityAchievement)
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<SocialActivityAchievement>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<SocialActivityAchievement>
public SocialActivityAchievement cloneWithOriginalValues()
cloneWithOriginalValues
in interface BaseModel<SocialActivityAchievement>
cloneWithOriginalValues
in interface SocialActivityAchievementModel
public long getActivityAchievementId()
getActivityAchievementId
in interface SocialActivityAchievementModel
public long getCompanyId()
getCompanyId
in interface ShardedModel
getCompanyId
in interface SocialActivityAchievementModel
public long getCreateDate()
getCreateDate
in interface SocialActivityAchievementModel
public long getCtCollectionId()
getCtCollectionId
in interface CTModel<SocialActivityAchievement>
getCtCollectionId
in interface SocialActivityAchievementModel
public boolean getFirstInGroup()
getFirstInGroup
in interface SocialActivityAchievementModel
public long getGroupId()
getGroupId
in interface SocialActivityAchievementModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface SocialActivityAchievementModel
public String getName()
getName
in interface SocialActivityAchievementModel
public long getPrimaryKey()
getPrimaryKey
in interface CTModel<SocialActivityAchievement>
getPrimaryKey
in interface SocialActivityAchievementModel
public long getUserId()
getUserId
in interface SocialActivityAchievementModel
public String getUserUuid()
getUserUuid
in interface SocialActivityAchievementModel
public boolean isFirstInGroup()
true
if this social activity achievement is first in group.isFirstInGroup
in interface SocialActivityAchievementModel
true
if this social activity achievement is first in group; false
otherwisepublic void persist()
PersistedModel
persist
in interface PersistedModel
public void setActivityAchievementId(long activityAchievementId)
setActivityAchievementId
in interface SocialActivityAchievementModel
activityAchievementId
- the activity achievement ID of this social activity achievementpublic void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
setCompanyId
in interface SocialActivityAchievementModel
companyId
- the company ID of this social activity achievementpublic void setCreateDate(long createDate)
setCreateDate
in interface SocialActivityAchievementModel
createDate
- the create date of this social activity achievementpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface CTModel<SocialActivityAchievement>
setCtCollectionId
in interface SocialActivityAchievementModel
ctCollectionId
- the ct collection ID of this social activity achievementpublic void setFirstInGroup(boolean firstInGroup)
setFirstInGroup
in interface SocialActivityAchievementModel
firstInGroup
- the first in group of this social activity achievementpublic void setGroupId(long groupId)
setGroupId
in interface SocialActivityAchievementModel
groupId
- the group ID of this social activity achievementpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface SocialActivityAchievementModel
mvccVersion
- the mvcc version of this social activity achievementpublic void setName(String name)
setName
in interface SocialActivityAchievementModel
name
- the name of this social activity achievementpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CTModel<SocialActivityAchievement>
setPrimaryKey
in interface SocialActivityAchievementModel
primaryKey
- the primary key of this social activity achievementpublic void setUserId(long userId)
setUserId
in interface SocialActivityAchievementModel
userId
- the user ID of this social activity achievementpublic void setUserUuid(String userUuid)
setUserUuid
in interface SocialActivityAchievementModel
userUuid
- the user uuid of this social activity achievementpublic Map<String,Function<SocialActivityAchievement,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions
in interface BaseModel<SocialActivityAchievement>
public Map<String,BiConsumer<SocialActivityAchievement,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers
in interface BaseModel<SocialActivityAchievement>
protected SocialActivityAchievementWrapper wrap(SocialActivityAchievement socialActivityAchievement)
wrap
in class BaseModelWrapper<SocialActivityAchievement>