public class AnnouncementsFlagWrapper extends BaseModelWrapper<AnnouncementsFlag> implements AnnouncementsFlag, ModelWrapper<AnnouncementsFlag>
This class is a wrapper for AnnouncementsFlag
.
AnnouncementsFlag
,
Serialized Formmodel
FLAG_ID_ACCESSOR
Constructor and Description |
---|
AnnouncementsFlagWrapper(AnnouncementsFlag announcementsFlag) |
Modifier and Type | Method and Description |
---|---|
long |
getCompanyId()
Returns the company ID of this announcements flag.
|
Date |
getCreateDate()
Returns the create date of this announcements flag.
|
long |
getEntryId()
Returns the entry ID of this announcements flag.
|
long |
getFlagId()
Returns the flag ID of this announcements flag.
|
Map<String,Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this announcements flag.
|
long |
getPrimaryKey()
Returns the primary key of this announcements flag.
|
long |
getUserId()
Returns the user ID of this announcements flag.
|
String |
getUserUuid()
Returns the user uuid of this announcements flag.
|
int |
getValue()
Returns the value of this announcements flag.
|
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setCompanyId(long companyId)
Sets the company ID of this announcements flag.
|
void |
setCreateDate(Date createDate)
Sets the create date of this announcements flag.
|
void |
setEntryId(long entryId)
Sets the entry ID of this announcements flag.
|
void |
setFlagId(long flagId)
Sets the flag ID of this announcements flag.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this announcements flag.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this announcements flag.
|
void |
setUserId(long userId)
Sets the user ID of this announcements flag.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this announcements flag.
|
void |
setValue(int value)
Sets the value of this announcements flag.
|
protected AnnouncementsFlagWrapper |
wrap(AnnouncementsFlag announcementsFlag) |
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
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
getWrappedModel
public AnnouncementsFlagWrapper(AnnouncementsFlag announcementsFlag)
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<AnnouncementsFlag>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<AnnouncementsFlag>
public long getCompanyId()
getCompanyId
in interface AnnouncementsFlagModel
getCompanyId
in interface ShardedModel
public Date getCreateDate()
getCreateDate
in interface AnnouncementsFlagModel
public long getEntryId()
getEntryId
in interface AnnouncementsFlagModel
public long getFlagId()
getFlagId
in interface AnnouncementsFlagModel
public long getMvccVersion()
getMvccVersion
in interface AnnouncementsFlagModel
getMvccVersion
in interface MVCCModel
public long getPrimaryKey()
getPrimaryKey
in interface AnnouncementsFlagModel
public long getUserId()
getUserId
in interface AnnouncementsFlagModel
public String getUserUuid()
getUserUuid
in interface AnnouncementsFlagModel
public int getValue()
getValue
in interface AnnouncementsFlagModel
public void persist()
PersistedModel
persist
in interface PersistedModel
public void setCompanyId(long companyId)
setCompanyId
in interface AnnouncementsFlagModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this announcements flagpublic void setCreateDate(Date createDate)
setCreateDate
in interface AnnouncementsFlagModel
createDate
- the create date of this announcements flagpublic void setEntryId(long entryId)
setEntryId
in interface AnnouncementsFlagModel
entryId
- the entry ID of this announcements flagpublic void setFlagId(long flagId)
setFlagId
in interface AnnouncementsFlagModel
flagId
- the flag ID of this announcements flagpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface AnnouncementsFlagModel
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this announcements flagpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface AnnouncementsFlagModel
primaryKey
- the primary key of this announcements flagpublic void setUserId(long userId)
setUserId
in interface AnnouncementsFlagModel
userId
- the user ID of this announcements flagpublic void setUserUuid(String userUuid)
setUserUuid
in interface AnnouncementsFlagModel
userUuid
- the user uuid of this announcements flagpublic void setValue(int value)
setValue
in interface AnnouncementsFlagModel
value
- the value of this announcements flagprotected AnnouncementsFlagWrapper wrap(AnnouncementsFlag announcementsFlag)
wrap
in class BaseModelWrapper<AnnouncementsFlag>