public class SocialActivitySettingWrapper extends BaseModelWrapper<SocialActivitySetting> implements ModelWrapper<SocialActivitySetting>, SocialActivitySetting
This class is a wrapper for SocialActivitySetting
.
SocialActivitySetting
,
Serialized Formmodel
ACTIVITY_SETTING_ID_ACCESSOR
Constructor and Description |
---|
SocialActivitySettingWrapper(SocialActivitySetting socialActivitySetting) |
Modifier and Type | Method and Description |
---|---|
SocialActivitySetting |
cloneWithOriginalValues() |
long |
getActivitySettingId()
Returns the activity setting ID of this social activity setting.
|
int |
getActivityType()
Returns the activity type of this social activity setting.
|
Map<String,Function<SocialActivitySetting,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<SocialActivitySetting,Object>> |
getAttributeSetterBiConsumers() |
String |
getClassName()
Returns the fully qualified class name of this social activity setting.
|
long |
getClassNameId()
Returns the class name ID of this social activity setting.
|
long |
getCompanyId()
Returns the company ID of this social activity setting.
|
long |
getCtCollectionId()
Returns the ct collection ID of this social activity setting.
|
long |
getGroupId()
Returns the group ID of this social activity setting.
|
Map<String,Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this social activity setting.
|
String |
getName()
Returns the name of this social activity setting.
|
long |
getPrimaryKey()
Returns the primary key of this social activity setting.
|
String |
getValue()
Returns the value of this social activity setting.
|
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setActivitySettingId(long activitySettingId)
Sets the activity setting ID of this social activity setting.
|
void |
setActivityType(int activityType)
Sets the activity type of this social activity setting.
|
void |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this social activity setting.
|
void |
setCompanyId(long companyId)
Sets the company ID of this social activity setting.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this social activity setting.
|
void |
setGroupId(long groupId)
Sets the group ID of this social activity setting.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this social activity setting.
|
void |
setName(String name)
Sets the name of this social activity setting.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this social activity setting.
|
void |
setValue(String value)
Sets the value of this social activity setting.
|
String |
toXmlString() |
protected SocialActivitySettingWrapper |
wrap(SocialActivitySetting socialActivitySetting) |
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
getWrappedModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
getModelClass, getModelClassName
public SocialActivitySettingWrapper(SocialActivitySetting socialActivitySetting)
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<SocialActivitySetting>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<SocialActivitySetting>
public SocialActivitySetting cloneWithOriginalValues()
cloneWithOriginalValues
in interface BaseModel<SocialActivitySetting>
cloneWithOriginalValues
in interface SocialActivitySettingModel
public long getActivitySettingId()
getActivitySettingId
in interface SocialActivitySettingModel
public int getActivityType()
getActivityType
in interface SocialActivitySettingModel
public String getClassName()
getClassName
in interface TypedModel
getClassName
in interface SocialActivitySettingModel
public long getClassNameId()
getClassNameId
in interface TypedModel
getClassNameId
in interface SocialActivitySettingModel
public long getCompanyId()
getCompanyId
in interface ShardedModel
getCompanyId
in interface SocialActivitySettingModel
public long getCtCollectionId()
getCtCollectionId
in interface CTModel<SocialActivitySetting>
getCtCollectionId
in interface SocialActivitySettingModel
public long getGroupId()
getGroupId
in interface SocialActivitySettingModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface SocialActivitySettingModel
public String getName()
getName
in interface SocialActivitySettingModel
public long getPrimaryKey()
getPrimaryKey
in interface CTModel<SocialActivitySetting>
getPrimaryKey
in interface SocialActivitySettingModel
public String getValue()
getValue
in interface SocialActivitySettingModel
public void persist()
PersistedModel
persist
in interface PersistedModel
public void setActivitySettingId(long activitySettingId)
setActivitySettingId
in interface SocialActivitySettingModel
activitySettingId
- the activity setting ID of this social activity settingpublic void setActivityType(int activityType)
setActivityType
in interface SocialActivitySettingModel
activityType
- the activity type of this social activity settingpublic void setClassName(String className)
setClassName
in interface SocialActivitySettingModel
public void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
setClassNameId
in interface SocialActivitySettingModel
classNameId
- the class name ID of this social activity settingpublic void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
setCompanyId
in interface SocialActivitySettingModel
companyId
- the company ID of this social activity settingpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface CTModel<SocialActivitySetting>
setCtCollectionId
in interface SocialActivitySettingModel
ctCollectionId
- the ct collection ID of this social activity settingpublic void setGroupId(long groupId)
setGroupId
in interface SocialActivitySettingModel
groupId
- the group ID of this social activity settingpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface SocialActivitySettingModel
mvccVersion
- the mvcc version of this social activity settingpublic void setName(String name)
setName
in interface SocialActivitySettingModel
name
- the name of this social activity settingpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CTModel<SocialActivitySetting>
setPrimaryKey
in interface SocialActivitySettingModel
primaryKey
- the primary key of this social activity settingpublic void setValue(String value)
setValue
in interface SocialActivitySettingModel
value
- the value of this social activity settingpublic String toXmlString()
toXmlString
in interface SocialActivitySettingModel
public Map<String,Function<SocialActivitySetting,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions
in interface BaseModel<SocialActivitySetting>
public Map<String,BiConsumer<SocialActivitySetting,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers
in interface BaseModel<SocialActivitySetting>
protected SocialActivitySettingWrapper wrap(SocialActivitySetting socialActivitySetting)
wrap
in class BaseModelWrapper<SocialActivitySetting>