@ProviderType public class AnnouncementsFlagWrapper extends java.lang.Object implements AnnouncementsFlag, ModelWrapper<AnnouncementsFlag>
This class is a wrapper for AnnouncementsFlag.
AnnouncementsFlag,
Serialized Form| Constructor and Description |
|---|
AnnouncementsFlagWrapper(AnnouncementsFlag announcementsFlag) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(AnnouncementsFlag announcementsFlag) |
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreateDate()
Returns the create date of this announcements flag.
|
long |
getEntryId()
Returns the entry ID of this announcements flag.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getFlagId()
Returns the flag ID of this announcements flag.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
long |
getPrimaryKey()
Returns the primary key of this announcements flag.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getUserId()
Returns the user ID of this announcements flag.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this announcements flag.
|
int |
getValue()
Returns the value of this announcements flag.
|
AnnouncementsFlag |
getWrappedAnnouncementsFlag()
Deprecated.
As of 6.1.0, replaced by
getWrappedModel() |
AnnouncementsFlag |
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 |
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 |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this announcements flag.
|
void |
setEntryId(long entryId)
Sets the entry ID of this announcements flag.
|
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 |
setFlagId(long flagId)
Sets the flag ID of this announcements flag.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
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 announcements flag.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setUserId(long userId)
Sets the user ID of this announcements flag.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this announcements flag.
|
void |
setValue(int value)
Sets the value of this announcements flag.
|
CacheModel<AnnouncementsFlag> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
AnnouncementsFlag |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
java.lang.String |
toString() |
AnnouncementsFlag |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public AnnouncementsFlagWrapper(AnnouncementsFlag announcementsFlag)
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<AnnouncementsFlag>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<AnnouncementsFlag>public long getPrimaryKey()
getPrimaryKey in interface AnnouncementsFlagModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface AnnouncementsFlagModelprimaryKey - the primary key of this announcements flagpublic long getFlagId()
getFlagId in interface AnnouncementsFlagModelpublic void setFlagId(long flagId)
setFlagId in interface AnnouncementsFlagModelflagId - the flag ID of this announcements flagpublic long getUserId()
getUserId in interface AnnouncementsFlagModelpublic void setUserId(long userId)
setUserId in interface AnnouncementsFlagModeluserId - the user ID of this announcements flagpublic java.lang.String getUserUuid()
throws SystemException
getUserUuid in interface AnnouncementsFlagModelSystemException - if a system exception occurredpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface AnnouncementsFlagModeluserUuid - the user uuid of this announcements flagpublic java.util.Date getCreateDate()
getCreateDate in interface AnnouncementsFlagModelpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface AnnouncementsFlagModelcreateDate - the create date of this announcements flagpublic long getEntryId()
getEntryId in interface AnnouncementsFlagModelpublic void setEntryId(long entryId)
setEntryId in interface AnnouncementsFlagModelentryId - the entry ID of this announcements flagpublic int getValue()
getValue in interface AnnouncementsFlagModelpublic void setValue(int value)
setValue in interface AnnouncementsFlagModelvalue - the value of this announcements flagpublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<AnnouncementsFlag>isNew in interface AnnouncementsFlagModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<AnnouncementsFlag>setNew in interface AnnouncementsFlagModeln - 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<AnnouncementsFlag>isCachedModel in interface AnnouncementsFlagModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<AnnouncementsFlag>setCachedModel in interface AnnouncementsFlagModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<AnnouncementsFlag>isEscapedModel in interface AnnouncementsFlagModeltrue if this model instance is escaped;
false otherwisepublic java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<AnnouncementsFlag>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface AnnouncementsFlagModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<AnnouncementsFlag>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface AnnouncementsFlagModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<AnnouncementsFlag>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface AnnouncementsFlagModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<AnnouncementsFlag>setExpandoBridgeAttributes in interface AnnouncementsFlagModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<AnnouncementsFlag>setExpandoBridgeAttributes in interface AnnouncementsFlagModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<AnnouncementsFlag>setExpandoBridgeAttributes in interface AnnouncementsFlagModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public java.lang.Object clone()
BaseModelclone in interface BaseModel<AnnouncementsFlag>clone in interface AnnouncementsFlagModelclone in class java.lang.Objectpublic int compareTo(AnnouncementsFlag announcementsFlag)
compareTo in interface AnnouncementsFlagModelcompareTo in interface java.lang.Comparable<AnnouncementsFlag>public int hashCode()
hashCode in interface AnnouncementsFlagModelhashCode in class java.lang.Objectpublic CacheModel<AnnouncementsFlag> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<AnnouncementsFlag>toCacheModel in interface AnnouncementsFlagModelpublic AnnouncementsFlag toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<AnnouncementsFlag>toEscapedModel in interface AnnouncementsFlagModelAutoEscapeBeanHandlerpublic AnnouncementsFlag toUnescapedModel()
toUnescapedModel in interface BaseModel<AnnouncementsFlag>toUnescapedModel in interface AnnouncementsFlagModelpublic java.lang.String toString()
toString in interface AnnouncementsFlagModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<AnnouncementsFlag>toXmlString in interface AnnouncementsFlagModelpublic 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 AnnouncementsFlag getWrappedAnnouncementsFlag()
getWrappedModel()public AnnouncementsFlag getWrappedModel()
getWrappedModel in interface ModelWrapper<AnnouncementsFlag>public void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<AnnouncementsFlag>