@ProviderType public interface SocialActivityAchievementModel extends BaseModel<SocialActivityAchievement>, ShardedModel
This interface and its corresponding implementation SocialActivityAchievementModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in SocialActivityAchievementImpl
.
SocialActivityAchievement
,
SocialActivityAchievementImpl
,
SocialActivityAchievementModelImpl
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(SocialActivityAchievement socialActivityAchievement) |
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.
|
String |
getName()
Returns the name of this social activity achievement.
|
long |
getPrimaryKey()
Returns the primary key of this social activity achievement.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getUserId()
Returns the user ID of this social activity achievement.
|
String |
getUserUuid()
Returns the user uuid of this social activity achievement.
|
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 |
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 |
setName(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(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(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 . |
String |
toString() |
SocialActivityAchievement |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
getModelClass, getModelClassName
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this social activity achievementlong getActivityAchievementId()
void setActivityAchievementId(long activityAchievementId)
activityAchievementId
- the activity achievement ID of this social activity achievementlong getGroupId()
void setGroupId(long groupId)
groupId
- the group ID of this social activity achievementlong getCompanyId()
getCompanyId
in interface ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
companyId
- the company ID of this social activity achievementlong getUserId()
void setUserId(long userId)
userId
- the user ID of this social activity achievementString getUserUuid()
void setUserUuid(String userUuid)
userUuid
- the user uuid of this social activity achievementlong getCreateDate()
void setCreateDate(long createDate)
createDate
- the create date of this social activity achievement@AutoEscape String getName()
void setName(String name)
name
- the name of this social activity achievementboolean getFirstInGroup()
boolean isFirstInGroup()
true
if this social activity achievement is first in group.true
if this social activity achievement is first in group; false
otherwisevoid setFirstInGroup(boolean firstInGroup)
firstInGroup
- the first in group of this social activity achievementboolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.isNew
in interface BaseModel<SocialActivityAchievement>
true
if this model instance does not yet exist in
the database; false
otherwisevoid setNew(boolean n)
BaseModel
setNew
in interface BaseModel<SocialActivityAchievement>
n
- whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<SocialActivityAchievement>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<SocialActivityAchievement>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<SocialActivityAchievement>
true
if this model instance is escaped;
false
otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<SocialActivityAchievement>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<SocialActivityAchievement>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<SocialActivityAchievement>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<SocialActivityAchievement>
void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<SocialActivityAchievement>
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<SocialActivityAchievement>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
Object clone()
BaseModel
clone
in interface BaseModel<SocialActivityAchievement>
int compareTo(SocialActivityAchievement socialActivityAchievement)
compareTo
in interface Comparable<SocialActivityAchievement>
int hashCode()
hashCode
in class Object
CacheModel<SocialActivityAchievement> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<SocialActivityAchievement>
SocialActivityAchievement toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<SocialActivityAchievement>
AutoEscapeBeanHandler
SocialActivityAchievement toUnescapedModel()
toUnescapedModel
in interface BaseModel<SocialActivityAchievement>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<SocialActivityAchievement>