public class AnnouncementsDeliveryWrapper extends BaseModelWrapper<AnnouncementsDelivery> implements AnnouncementsDelivery, ModelWrapper<AnnouncementsDelivery>
This class is a wrapper for AnnouncementsDelivery
.
AnnouncementsDelivery
,
Serialized Formmodel
DELIVERY_ID_ACCESSOR
Constructor and Description |
---|
AnnouncementsDeliveryWrapper(AnnouncementsDelivery announcementsDelivery) |
Modifier and Type | Method and Description |
---|---|
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, 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 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 long getCompanyId()
getCompanyId
in interface AnnouncementsDeliveryModel
getCompanyId
in interface ShardedModel
public long getDeliveryId()
getDeliveryId
in interface AnnouncementsDeliveryModel
public boolean getEmail()
getEmail
in interface AnnouncementsDeliveryModel
public long getMvccVersion()
getMvccVersion
in interface AnnouncementsDeliveryModel
getMvccVersion
in interface MVCCModel
public long getPrimaryKey()
getPrimaryKey
in interface AnnouncementsDeliveryModel
public boolean getSms()
getSms
in interface AnnouncementsDeliveryModel
public String getType()
getType
in interface AnnouncementsDeliveryModel
public long getUserId()
getUserId
in interface AnnouncementsDeliveryModel
public String getUserUuid()
getUserUuid
in interface AnnouncementsDeliveryModel
public boolean getWebsite()
getWebsite
in interface AnnouncementsDeliveryModel
public boolean isEmail()
true
if this announcements delivery is email.isEmail
in interface AnnouncementsDeliveryModel
true
if this announcements delivery is email; false
otherwisepublic boolean isSms()
true
if this announcements delivery is sms.isSms
in interface AnnouncementsDeliveryModel
true
if this announcements delivery is sms; false
otherwisepublic boolean isWebsite()
true
if this announcements delivery is website.isWebsite
in interface AnnouncementsDeliveryModel
true
if this announcements delivery is website; false
otherwisepublic void persist()
PersistedModel
persist
in interface PersistedModel
public void setCompanyId(long companyId)
setCompanyId
in interface AnnouncementsDeliveryModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this announcements deliverypublic void setDeliveryId(long deliveryId)
setDeliveryId
in interface AnnouncementsDeliveryModel
deliveryId
- the delivery ID of this announcements deliverypublic void setEmail(boolean email)
setEmail
in interface AnnouncementsDeliveryModel
email
- the email of this announcements deliverypublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface AnnouncementsDeliveryModel
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this announcements deliverypublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface AnnouncementsDeliveryModel
primaryKey
- the primary key of this announcements deliverypublic void setSms(boolean sms)
setSms
in interface AnnouncementsDeliveryModel
sms
- the sms of this announcements deliverypublic void setType(String type)
setType
in interface AnnouncementsDeliveryModel
type
- the type of this announcements deliverypublic void setUserId(long userId)
setUserId
in interface AnnouncementsDeliveryModel
userId
- the user ID of this announcements deliverypublic void setUserUuid(String userUuid)
setUserUuid
in interface AnnouncementsDeliveryModel
userUuid
- the user uuid of this announcements deliverypublic void setWebsite(boolean website)
setWebsite
in interface AnnouncementsDeliveryModel
website
- the website of this announcements deliveryprotected AnnouncementsDeliveryWrapper wrap(AnnouncementsDelivery announcementsDelivery)
wrap
in class BaseModelWrapper<AnnouncementsDelivery>