@ProviderType public class SocialActivityAchievementWrapper extends java.lang.Object implements SocialActivityAchievement, ModelWrapper<SocialActivityAchievement>
This class is a wrapper for SocialActivityAchievement.
SocialActivityAchievement,
Serialized Form| Constructor and Description |
|---|
SocialActivityAchievementWrapper(SocialActivityAchievement socialActivityAchievement) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(SocialActivityAchievement socialActivityAchievement) |
boolean |
equals(java.lang.Object obj) |
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.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
boolean |
getFirstInGroup()
Returns the first in group of this social activity achievement.
|
long |
getGroupId()
Returns the group ID of this social activity achievement.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.lang.String |
getName()
Returns the name of this social activity achievement.
|
long |
getPrimaryKey()
Returns the primary key of this social activity achievement.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getUserId()
Returns the user ID of this social activity achievement.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this social activity achievement.
|
SocialActivityAchievement |
getWrappedModel() |
SocialActivityAchievement |
getWrappedSocialActivityAchievement()
Deprecated.
As of 6.1.0, replaced by
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFirstInGroup()
Returns
true if this social activity achievement is first in group. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setActivityAchievementId(long activityAchievementId)
Sets the activity achievement ID of this social activity achievement.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
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 |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
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(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setName(java.lang.String name)
Sets the name of this social activity achievement.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this social activity achievement.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setUserId(long userId)
Sets the user ID of this social activity achievement.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this social activity achievement.
|
CacheModel<SocialActivityAchievement> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
SocialActivityAchievement |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
java.lang.String |
toString() |
SocialActivityAchievement |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public SocialActivityAchievementWrapper(SocialActivityAchievement socialActivityAchievement)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<SocialActivityAchievement>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<SocialActivityAchievement>public long getPrimaryKey()
getPrimaryKey in interface SocialActivityAchievementModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface SocialActivityAchievementModelprimaryKey - the primary key of this social activity achievementpublic long getActivityAchievementId()
getActivityAchievementId in interface SocialActivityAchievementModelpublic void setActivityAchievementId(long activityAchievementId)
setActivityAchievementId in interface SocialActivityAchievementModelactivityAchievementId - the activity achievement ID of this social activity achievementpublic long getGroupId()
getGroupId in interface SocialActivityAchievementModelpublic void setGroupId(long groupId)
setGroupId in interface SocialActivityAchievementModelgroupId - the group ID of this social activity achievementpublic long getCompanyId()
getCompanyId in interface SocialActivityAchievementModelpublic void setCompanyId(long companyId)
setCompanyId in interface SocialActivityAchievementModelcompanyId - the company ID of this social activity achievementpublic long getUserId()
getUserId in interface SocialActivityAchievementModelpublic void setUserId(long userId)
setUserId in interface SocialActivityAchievementModeluserId - the user ID of this social activity achievementpublic java.lang.String getUserUuid()
throws SystemException
getUserUuid in interface SocialActivityAchievementModelSystemException - if a system exception occurredpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface SocialActivityAchievementModeluserUuid - the user uuid of this social activity achievementpublic long getCreateDate()
getCreateDate in interface SocialActivityAchievementModelpublic void setCreateDate(long createDate)
setCreateDate in interface SocialActivityAchievementModelcreateDate - the create date of this social activity achievementpublic java.lang.String getName()
getName in interface SocialActivityAchievementModelpublic void setName(java.lang.String name)
setName in interface SocialActivityAchievementModelname - the name of this social activity achievementpublic boolean getFirstInGroup()
getFirstInGroup in interface SocialActivityAchievementModelpublic boolean isFirstInGroup()
true if this social activity achievement is first in group.isFirstInGroup in interface SocialActivityAchievementModeltrue if this social activity achievement is first in group; false otherwisepublic void setFirstInGroup(boolean firstInGroup)
setFirstInGroup in interface SocialActivityAchievementModelfirstInGroup - the first in group of this social activity achievementpublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<SocialActivityAchievement>isNew in interface SocialActivityAchievementModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<SocialActivityAchievement>setNew in interface SocialActivityAchievementModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<SocialActivityAchievement>isCachedModel in interface SocialActivityAchievementModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<SocialActivityAchievement>setCachedModel in interface SocialActivityAchievementModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<SocialActivityAchievement>isEscapedModel in interface SocialActivityAchievementModeltrue if this model instance is escaped;
false otherwisepublic java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<SocialActivityAchievement>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface SocialActivityAchievementModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<SocialActivityAchievement>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface SocialActivityAchievementModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<SocialActivityAchievement>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface SocialActivityAchievementModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<SocialActivityAchievement>setExpandoBridgeAttributes in interface SocialActivityAchievementModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<SocialActivityAchievement>setExpandoBridgeAttributes in interface SocialActivityAchievementModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<SocialActivityAchievement>setExpandoBridgeAttributes in interface SocialActivityAchievementModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public java.lang.Object clone()
BaseModelclone in interface BaseModel<SocialActivityAchievement>clone in interface SocialActivityAchievementModelclone in class java.lang.Objectpublic int compareTo(SocialActivityAchievement socialActivityAchievement)
compareTo in interface SocialActivityAchievementModelcompareTo in interface java.lang.Comparable<SocialActivityAchievement>public int hashCode()
hashCode in interface SocialActivityAchievementModelhashCode in class java.lang.Objectpublic CacheModel<SocialActivityAchievement> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<SocialActivityAchievement>toCacheModel in interface SocialActivityAchievementModelpublic SocialActivityAchievement toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<SocialActivityAchievement>toEscapedModel in interface SocialActivityAchievementModelAutoEscapeBeanHandlerpublic SocialActivityAchievement toUnescapedModel()
toUnescapedModel in interface BaseModel<SocialActivityAchievement>toUnescapedModel in interface SocialActivityAchievementModelpublic java.lang.String toString()
toString in interface SocialActivityAchievementModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<SocialActivityAchievement>toXmlString in interface SocialActivityAchievementModelpublic void persist()
throws SystemException
PersistedModelpersist in interface PersistedModelSystemException - if a system exception occurredpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic SocialActivityAchievement getWrappedSocialActivityAchievement()
getWrappedModel()public SocialActivityAchievement getWrappedModel()
getWrappedModel in interface ModelWrapper<SocialActivityAchievement>public void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<SocialActivityAchievement>