@ProviderType public class SocialActivitySetWrapper extends Object implements SocialActivitySet, ModelWrapper<SocialActivitySet>
This class is a wrapper for SocialActivitySet
.
SocialActivitySet
,
Serialized FormACTIVITY_SET_ID_ACCESSOR
Constructor and Description |
---|
SocialActivitySetWrapper(SocialActivitySet socialActivitySet) |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(SocialActivitySet socialActivitySet) |
boolean |
equals(Object obj) |
int |
getActivityCount()
Returns the activity count of this social activity set.
|
long |
getActivitySetId()
Returns the activity set ID of this social activity set.
|
String |
getClassName()
Returns the fully qualified class name of this social activity set.
|
long |
getClassNameId()
Returns the class name ID of this social activity set.
|
long |
getClassPK()
Returns the class pk of this social activity set.
|
long |
getCompanyId()
Returns the company ID of this social activity set.
|
long |
getCreateDate()
Returns the create date of this social activity set.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
String |
getExtraData()
Returns the extra data of this social activity set.
|
long |
getGroupId()
Returns the group ID of this social activity set.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getModifiedDate()
Returns the modified date of this social activity set.
|
long |
getPrimaryKey()
Returns the primary key of this social activity set.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
int |
getType()
Returns the type of this social activity set.
|
long |
getUserId()
Returns the user ID of this social activity set.
|
String |
getUserUuid()
Returns the user uuid of this social activity set.
|
SocialActivitySet |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
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 |
setActivityCount(int activityCount)
Sets the activity count of this social activity set.
|
void |
setActivitySetId(long activitySetId)
Sets the activity set ID of this social activity set.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this social activity set.
|
void |
setClassPK(long classPK)
Sets the class pk of this social activity set.
|
void |
setCompanyId(long companyId)
Sets the company ID of this social activity set.
|
void |
setCreateDate(long createDate)
Sets the create date of this social activity set.
|
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 |
setExtraData(String extraData)
Sets the extra data of this social activity set.
|
void |
setGroupId(long groupId)
Sets the group ID of this social activity set.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(long modifiedDate)
Sets the modified date of this social activity set.
|
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 set.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setType(int type)
Sets the type of this social activity set.
|
void |
setUserId(long userId)
Sets the user ID of this social activity set.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this social activity set.
|
CacheModel<SocialActivitySet> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
SocialActivitySet |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler . |
String |
toString() |
SocialActivitySet |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public SocialActivitySetWrapper(SocialActivitySet socialActivitySet)
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<SocialActivitySet>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<SocialActivitySet>
public Object clone()
BaseModel
clone
in interface BaseModel<SocialActivitySet>
clone
in interface SocialActivitySetModel
clone
in class Object
public int compareTo(SocialActivitySet socialActivitySet)
compareTo
in interface SocialActivitySetModel
compareTo
in interface Comparable<SocialActivitySet>
public int getActivityCount()
getActivityCount
in interface SocialActivitySetModel
public long getActivitySetId()
getActivitySetId
in interface SocialActivitySetModel
public String getClassName()
getClassName
in interface TypedModel
getClassName
in interface SocialActivitySetModel
public long getClassNameId()
getClassNameId
in interface TypedModel
getClassNameId
in interface SocialActivitySetModel
public long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface SocialActivitySetModel
public long getCompanyId()
getCompanyId
in interface ShardedModel
getCompanyId
in interface SocialActivitySetModel
public long getCreateDate()
getCreateDate
in interface SocialActivitySetModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<SocialActivitySet>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface SocialActivitySetModel
public String getExtraData()
getExtraData
in interface SocialActivitySetModel
public long getGroupId()
getGroupId
in interface SocialActivitySetModel
public long getModifiedDate()
getModifiedDate
in interface SocialActivitySetModel
public long getPrimaryKey()
getPrimaryKey
in interface SocialActivitySetModel
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<SocialActivitySet>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface SocialActivitySetModel
public int getType()
getType
in interface SocialActivitySetModel
public long getUserId()
getUserId
in interface SocialActivitySetModel
public String getUserUuid()
getUserUuid
in interface SocialActivitySetModel
public int hashCode()
hashCode
in interface SocialActivitySetModel
hashCode
in class Object
public boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<SocialActivitySet>
isCachedModel
in interface SocialActivitySetModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<SocialActivitySet>
isEscapedModel
in interface SocialActivitySetModel
true
if this model instance is escaped;
false
otherwisepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.isNew
in interface BaseModel<SocialActivitySet>
isNew
in interface SocialActivitySetModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void persist()
PersistedModel
persist
in interface PersistedModel
public void setActivityCount(int activityCount)
setActivityCount
in interface SocialActivitySetModel
activityCount
- the activity count of this social activity setpublic void setActivitySetId(long activitySetId)
setActivitySetId
in interface SocialActivitySetModel
activitySetId
- the activity set ID of this social activity setpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<SocialActivitySet>
setCachedModel
in interface SocialActivitySetModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public void setClassName(String className)
setClassName
in interface SocialActivitySetModel
public void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
setClassNameId
in interface SocialActivitySetModel
classNameId
- the class name ID of this social activity setpublic void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface SocialActivitySetModel
classPK
- the class pk of this social activity setpublic void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
setCompanyId
in interface SocialActivitySetModel
companyId
- the company ID of this social activity setpublic void setCreateDate(long createDate)
setCreateDate
in interface SocialActivitySetModel
createDate
- the create date of this social activity setpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<SocialActivitySet>
setExpandoBridgeAttributes
in interface SocialActivitySetModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<SocialActivitySet>
setExpandoBridgeAttributes
in interface SocialActivitySetModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<SocialActivitySet>
setExpandoBridgeAttributes
in interface SocialActivitySetModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
public void setExtraData(String extraData)
setExtraData
in interface SocialActivitySetModel
extraData
- the extra data of this social activity setpublic void setGroupId(long groupId)
setGroupId
in interface SocialActivitySetModel
groupId
- the group ID of this social activity setpublic void setModifiedDate(long modifiedDate)
setModifiedDate
in interface SocialActivitySetModel
modifiedDate
- the modified date of this social activity setpublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<SocialActivitySet>
setNew
in interface SocialActivitySetModel
n
- whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface SocialActivitySetModel
primaryKey
- the primary key of this social activity setpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<SocialActivitySet>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface SocialActivitySetModel
primaryKeyObj
- the primary key of this model instancepublic void setType(int type)
setType
in interface SocialActivitySetModel
type
- the type of this social activity setpublic void setUserId(long userId)
setUserId
in interface SocialActivitySetModel
userId
- the user ID of this social activity setpublic void setUserUuid(String userUuid)
setUserUuid
in interface SocialActivitySetModel
userUuid
- the user uuid of this social activity setpublic CacheModel<SocialActivitySet> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<SocialActivitySet>
toCacheModel
in interface SocialActivitySetModel
public SocialActivitySet toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<SocialActivitySet>
toEscapedModel
in interface SocialActivitySetModel
AutoEscapeBeanHandler
public String toString()
toString
in interface SocialActivitySetModel
toString
in class Object
public SocialActivitySet toUnescapedModel()
toUnescapedModel
in interface BaseModel<SocialActivitySet>
toUnescapedModel
in interface SocialActivitySetModel
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<SocialActivitySet>
toXmlString
in interface SocialActivitySetModel
public boolean equals(Object obj)
equals
in class Object
public SocialActivitySet getWrappedModel()
getWrappedModel
in interface ModelWrapper<SocialActivitySet>
public boolean isEntityCacheEnabled()
BaseModel
true
if this model's entity cache is enabled.isEntityCacheEnabled
in interface BaseModel<SocialActivitySet>
true
if this model's entity cache is enabled;
false
otherwisepublic boolean isFinderCacheEnabled()
BaseModel
true
if this model's finder cache is enabled.isFinderCacheEnabled
in interface BaseModel<SocialActivitySet>
true
if this model's finder cache is enabled;
false
otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<SocialActivitySet>