public class AnnouncementsDeliveryWrapper extends BaseModelWrapper<AnnouncementsDelivery> implements AnnouncementsDelivery, ModelWrapper<AnnouncementsDelivery>
This class is a wrapper for AnnouncementsDelivery.
AnnouncementsDelivery,
Serialized FormmodelDELIVERY_ID_ACCESSOR| Constructor and Description |
|---|
AnnouncementsDeliveryWrapper(AnnouncementsDelivery announcementsDelivery) |
| Modifier and Type | Method and Description |
|---|---|
AnnouncementsDelivery |
cloneWithOriginalValues() |
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.
|
Map<String,Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this announcements delivery.
|
long |
getPrimaryKey()
Returns the primary key of this announcements delivery.
|
boolean |
getSms()
Returns the sms of this announcements delivery.
|
String |
getType()
Returns the type of this announcements delivery.
|
long |
getUserId()
Returns the user ID of this announcements delivery.
|
String |
getUserUuid()
Returns the user uuid of this announcements delivery.
|
boolean |
getWebsite()
Returns the website of this announcements delivery.
|
boolean |
isEmail()
Returns
true if this announcements delivery is email. |
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 |
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 |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this announcements delivery.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this announcements delivery.
|
void |
setSms(boolean sms)
Sets whether this announcements delivery is sms.
|
void |
setType(String type)
Sets the type of this announcements delivery.
|
void |
setUserId(long userId)
Sets the user ID of this announcements delivery.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this announcements delivery.
|
void |
setWebsite(boolean website)
Sets whether this announcements delivery is website.
|
protected AnnouncementsDeliveryWrapper |
wrap(AnnouncementsDelivery announcementsDelivery) |
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, toXmlStringclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamegetWrappedModelpublic AnnouncementsDeliveryWrapper(AnnouncementsDelivery announcementsDelivery)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<AnnouncementsDelivery>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<AnnouncementsDelivery>public AnnouncementsDelivery cloneWithOriginalValues()
cloneWithOriginalValues in interface AnnouncementsDeliveryModelcloneWithOriginalValues in interface BaseModel<AnnouncementsDelivery>public long getCompanyId()
getCompanyId in interface AnnouncementsDeliveryModelgetCompanyId in interface ShardedModelpublic long getDeliveryId()
getDeliveryId in interface AnnouncementsDeliveryModelpublic boolean getEmail()
getEmail in interface AnnouncementsDeliveryModelpublic long getMvccVersion()
getMvccVersion in interface AnnouncementsDeliveryModelgetMvccVersion in interface MVCCModelpublic long getPrimaryKey()
getPrimaryKey in interface AnnouncementsDeliveryModelpublic boolean getSms()
getSms in interface AnnouncementsDeliveryModelpublic String getType()
getType in interface AnnouncementsDeliveryModelpublic long getUserId()
getUserId in interface AnnouncementsDeliveryModelpublic String getUserUuid()
getUserUuid in interface AnnouncementsDeliveryModelpublic boolean getWebsite()
getWebsite in interface AnnouncementsDeliveryModelpublic boolean isEmail()
true if this announcements delivery is email.isEmail in interface AnnouncementsDeliveryModeltrue if this announcements delivery is email; false otherwisepublic boolean isSms()
true if this announcements delivery is sms.isSms in interface AnnouncementsDeliveryModeltrue if this announcements delivery is sms; false otherwisepublic boolean isWebsite()
true if this announcements delivery is website.isWebsite in interface AnnouncementsDeliveryModeltrue if this announcements delivery is website; false otherwisepublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCompanyId(long companyId)
setCompanyId in interface AnnouncementsDeliveryModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this announcements deliverypublic void setDeliveryId(long deliveryId)
setDeliveryId in interface AnnouncementsDeliveryModeldeliveryId - the delivery ID of this announcements deliverypublic void setEmail(boolean email)
setEmail in interface AnnouncementsDeliveryModelemail - the email of this announcements deliverypublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface AnnouncementsDeliveryModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this announcements deliverypublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface AnnouncementsDeliveryModelprimaryKey - the primary key of this announcements deliverypublic void setSms(boolean sms)
setSms in interface AnnouncementsDeliveryModelsms - the sms of this announcements deliverypublic void setType(String type)
setType in interface AnnouncementsDeliveryModeltype - the type of this announcements deliverypublic void setUserId(long userId)
setUserId in interface AnnouncementsDeliveryModeluserId - the user ID of this announcements deliverypublic void setUserUuid(String userUuid)
setUserUuid in interface AnnouncementsDeliveryModeluserUuid - the user uuid of this announcements deliverypublic void setWebsite(boolean website)
setWebsite in interface AnnouncementsDeliveryModelwebsite - the website of this announcements deliveryprotected AnnouncementsDeliveryWrapper wrap(AnnouncementsDelivery announcementsDelivery)
wrap in class BaseModelWrapper<AnnouncementsDelivery>