@ProviderType public class AnnouncementsDeliveryWrapper extends java.lang.Object implements AnnouncementsDelivery, ModelWrapper<AnnouncementsDelivery>
This class is a wrapper for AnnouncementsDelivery.
AnnouncementsDelivery,
Serialized Form| Constructor and Description |
|---|
AnnouncementsDeliveryWrapper(AnnouncementsDelivery announcementsDelivery) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(AnnouncementsDelivery announcementsDelivery) |
boolean |
equals(java.lang.Object obj) |
long |
getCompanyId()
Returns the company ID of this announcements delivery.
|
long |
getDeliveryId()
Returns the delivery ID of this announcements delivery.
|
boolean |
getEmail()
Returns the email of this announcements delivery.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
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 delivery.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
boolean |
getSms()
Returns the sms of this announcements delivery.
|
java.lang.String |
getType()
Returns the type of this announcements delivery.
|
long |
getUserId()
Returns the user ID of this announcements delivery.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this announcements delivery.
|
boolean |
getWebsite()
Returns the website of this announcements delivery.
|
AnnouncementsDelivery |
getWrappedAnnouncementsDelivery()
Deprecated.
As of 6.1.0, replaced by
getWrappedModel() |
AnnouncementsDelivery |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEmail()
Returns
true if this announcements delivery is email. |
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. |
boolean |
isSms()
Returns
true if this announcements delivery is sms. |
boolean |
isWebsite()
Returns
true if this announcements delivery is website. |
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 |
setCompanyId(long companyId)
Sets the company ID of this announcements delivery.
|
void |
setDeliveryId(long deliveryId)
Sets the delivery ID of this announcements delivery.
|
void |
setEmail(boolean email)
Sets whether this announcements delivery is email.
|
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 |
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 delivery.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setSms(boolean sms)
Sets whether this announcements delivery is sms.
|
void |
setType(java.lang.String type)
Sets the type of this announcements delivery.
|
void |
setUserId(long userId)
Sets the user ID of this announcements delivery.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this announcements delivery.
|
void |
setWebsite(boolean website)
Sets whether this announcements delivery is website.
|
CacheModel<AnnouncementsDelivery> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
AnnouncementsDelivery |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
java.lang.String |
toString() |
AnnouncementsDelivery |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public AnnouncementsDeliveryWrapper(AnnouncementsDelivery announcementsDelivery)
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<AnnouncementsDelivery>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<AnnouncementsDelivery>public long getPrimaryKey()
getPrimaryKey in interface AnnouncementsDeliveryModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface AnnouncementsDeliveryModelprimaryKey - the primary key of this announcements deliverypublic long getDeliveryId()
getDeliveryId in interface AnnouncementsDeliveryModelpublic void setDeliveryId(long deliveryId)
setDeliveryId in interface AnnouncementsDeliveryModeldeliveryId - the delivery ID of this announcements deliverypublic long getCompanyId()
getCompanyId in interface AnnouncementsDeliveryModelpublic void setCompanyId(long companyId)
setCompanyId in interface AnnouncementsDeliveryModelcompanyId - the company ID of this announcements deliverypublic long getUserId()
getUserId in interface AnnouncementsDeliveryModelpublic void setUserId(long userId)
setUserId in interface AnnouncementsDeliveryModeluserId - the user ID of this announcements deliverypublic java.lang.String getUserUuid()
throws SystemException
getUserUuid in interface AnnouncementsDeliveryModelSystemException - if a system exception occurredpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface AnnouncementsDeliveryModeluserUuid - the user uuid of this announcements deliverypublic java.lang.String getType()
getType in interface AnnouncementsDeliveryModelpublic void setType(java.lang.String type)
setType in interface AnnouncementsDeliveryModeltype - the type of this announcements deliverypublic boolean getEmail()
getEmail in interface AnnouncementsDeliveryModelpublic boolean isEmail()
true if this announcements delivery is email.isEmail in interface AnnouncementsDeliveryModeltrue if this announcements delivery is email; false otherwisepublic void setEmail(boolean email)
setEmail in interface AnnouncementsDeliveryModelemail - the email of this announcements deliverypublic boolean getSms()
getSms in interface AnnouncementsDeliveryModelpublic boolean isSms()
true if this announcements delivery is sms.isSms in interface AnnouncementsDeliveryModeltrue if this announcements delivery is sms; false otherwisepublic void setSms(boolean sms)
setSms in interface AnnouncementsDeliveryModelsms - the sms of this announcements deliverypublic boolean getWebsite()
getWebsite in interface AnnouncementsDeliveryModelpublic boolean isWebsite()
true if this announcements delivery is website.isWebsite in interface AnnouncementsDeliveryModeltrue if this announcements delivery is website; false otherwisepublic void setWebsite(boolean website)
setWebsite in interface AnnouncementsDeliveryModelwebsite - the website of this announcements deliverypublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<AnnouncementsDelivery>isNew in interface AnnouncementsDeliveryModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<AnnouncementsDelivery>setNew in interface AnnouncementsDeliveryModeln - 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<AnnouncementsDelivery>isCachedModel in interface AnnouncementsDeliveryModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<AnnouncementsDelivery>setCachedModel in interface AnnouncementsDeliveryModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<AnnouncementsDelivery>isEscapedModel in interface AnnouncementsDeliveryModeltrue if this model instance is escaped;
false otherwisepublic java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<AnnouncementsDelivery>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface AnnouncementsDeliveryModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<AnnouncementsDelivery>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface AnnouncementsDeliveryModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<AnnouncementsDelivery>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface AnnouncementsDeliveryModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<AnnouncementsDelivery>setExpandoBridgeAttributes in interface AnnouncementsDeliveryModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<AnnouncementsDelivery>setExpandoBridgeAttributes in interface AnnouncementsDeliveryModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<AnnouncementsDelivery>setExpandoBridgeAttributes in interface AnnouncementsDeliveryModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public java.lang.Object clone()
BaseModelclone in interface BaseModel<AnnouncementsDelivery>clone in interface AnnouncementsDeliveryModelclone in class java.lang.Objectpublic int compareTo(AnnouncementsDelivery announcementsDelivery)
compareTo in interface AnnouncementsDeliveryModelcompareTo in interface java.lang.Comparable<AnnouncementsDelivery>public int hashCode()
hashCode in interface AnnouncementsDeliveryModelhashCode in class java.lang.Objectpublic CacheModel<AnnouncementsDelivery> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<AnnouncementsDelivery>toCacheModel in interface AnnouncementsDeliveryModelpublic AnnouncementsDelivery toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<AnnouncementsDelivery>toEscapedModel in interface AnnouncementsDeliveryModelAutoEscapeBeanHandlerpublic AnnouncementsDelivery toUnescapedModel()
toUnescapedModel in interface BaseModel<AnnouncementsDelivery>toUnescapedModel in interface AnnouncementsDeliveryModelpublic java.lang.String toString()
toString in interface AnnouncementsDeliveryModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<AnnouncementsDelivery>toXmlString in interface AnnouncementsDeliveryModelpublic 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 AnnouncementsDelivery getWrappedAnnouncementsDelivery()
getWrappedModel()public AnnouncementsDelivery getWrappedModel()
getWrappedModel in interface ModelWrapper<AnnouncementsDelivery>public void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<AnnouncementsDelivery>