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 |
---|---|
long |
getActivityAchievementId()
Returns the activity achievement ID of this social activity achievement.
|
long |
getCompanyId()
Returns the company ID of this social activity achievement.
|
long |
getCreateDate()
Returns the create date 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() |
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()
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
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 |
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 |
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 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 boolean getFirstInGroup()
getFirstInGroup
in interface SocialActivityAchievementModel
public long getGroupId()
getGroupId
in interface SocialActivityAchievementModel
public String getName()
getName
in interface SocialActivityAchievementModel
public long getPrimaryKey()
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()
SocialActivityAchievement
interface instead.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 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 setName(String name)
setName
in interface SocialActivityAchievementModel
name
- the name of this social activity achievementpublic void setPrimaryKey(long primaryKey)
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 achievementprotected SocialActivityAchievementWrapper wrap(SocialActivityAchievement socialActivityAchievement)
wrap
in class BaseModelWrapper<SocialActivityAchievement>