@ProviderType public class AddressWrapper extends BaseModelWrapper<Address> implements Address, ModelWrapper<Address>
This class is a wrapper for Address
.
Address
,
Serialized Formmodel
ADDRESS_ID_ACCESSOR
Constructor and Description |
---|
AddressWrapper(Address address) |
Modifier and Type | Method and Description |
---|---|
long |
getAddressId()
Returns the address ID of this address.
|
java.lang.String |
getCity()
Returns the city of this address.
|
java.lang.String |
getClassName()
Returns the fully qualified class name of this address.
|
long |
getClassNameId()
Returns the class name ID of this address.
|
long |
getClassPK()
Returns the class pk of this address.
|
long |
getCompanyId()
Returns the company ID of this address.
|
Country |
getCountry() |
long |
getCountryId()
Returns the country ID of this address.
|
java.util.Date |
getCreateDate()
Returns the create date of this address.
|
boolean |
getMailing()
Returns the mailing of this address.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this address.
|
long |
getMvccVersion()
Returns the mvcc version of this address.
|
boolean |
getPrimary()
Returns the primary of this address.
|
long |
getPrimaryKey()
Returns the primary key of this address.
|
Region |
getRegion() |
long |
getRegionId()
Returns the region ID of this address.
|
StagedModelType |
getStagedModelType() |
java.lang.String |
getStreet1()
Returns the street1 of this address.
|
java.lang.String |
getStreet2()
Returns the street2 of this address.
|
java.lang.String |
getStreet3()
Returns the street3 of this address.
|
ListType |
getType() |
long |
getTypeId()
Returns the type ID of this address.
|
long |
getUserId()
Returns the user ID of this address.
|
java.lang.String |
getUserName()
Returns the user name of this address.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this address.
|
java.lang.String |
getUuid()
Returns the uuid of this address.
|
java.lang.String |
getZip()
Returns the zip of this address.
|
boolean |
isMailing()
Returns
true if this address is mailing. |
boolean |
isPrimary()
Returns
true if this address is primary. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setAddressId(long addressId)
Sets the address ID of this address.
|
void |
setCity(java.lang.String city)
Sets the city of this address.
|
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this address.
|
void |
setClassPK(long classPK)
Sets the class pk of this address.
|
void |
setCompanyId(long companyId)
Sets the company ID of this address.
|
void |
setCountryId(long countryId)
Sets the country ID of this address.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this address.
|
void |
setMailing(boolean mailing)
Sets whether this address is mailing.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this address.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this address.
|
void |
setPrimary(boolean primary)
Sets whether this address is primary.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this address.
|
void |
setRegionId(long regionId)
Sets the region ID of this address.
|
void |
setStreet1(java.lang.String street1)
Sets the street1 of this address.
|
void |
setStreet2(java.lang.String street2)
Sets the street2 of this address.
|
void |
setStreet3(java.lang.String street3)
Sets the street3 of this address.
|
void |
setTypeId(long typeId)
Sets the type ID of this address.
|
void |
setUserId(long userId)
Sets the user ID of this address.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this address.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this address.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this address.
|
void |
setZip(java.lang.String zip)
Sets the zip of this address.
|
protected AddressWrapper |
wrap(Address address) |
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
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
clone
getModelClass, getModelClassName
getWrappedModel
public AddressWrapper(Address address)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface BaseModel<Address>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface BaseModel<Address>
public long getAddressId()
getAddressId
in interface AddressModel
public java.lang.String getCity()
getCity
in interface AddressModel
public java.lang.String getClassName()
getClassName
in interface AddressModel
getClassName
in interface TypedModel
public long getClassNameId()
getClassNameId
in interface AddressModel
getClassNameId
in interface TypedModel
public long getClassPK()
getClassPK
in interface AddressModel
getClassPK
in interface AttachedModel
public long getCompanyId()
getCompanyId
in interface AddressModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface ShardedModel
getCompanyId
in interface StagedModel
public Country getCountry()
getCountry
in interface Address
public long getCountryId()
getCountryId
in interface AddressModel
public java.util.Date getCreateDate()
getCreateDate
in interface AddressModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface StagedModel
public boolean getMailing()
getMailing
in interface AddressModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface AddressModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface StagedModel
public long getMvccVersion()
getMvccVersion
in interface AddressModel
getMvccVersion
in interface MVCCModel
public boolean getPrimary()
getPrimary
in interface AddressModel
public long getPrimaryKey()
getPrimaryKey
in interface AddressModel
public long getRegionId()
getRegionId
in interface AddressModel
public java.lang.String getStreet1()
getStreet1
in interface AddressModel
public java.lang.String getStreet2()
getStreet2
in interface AddressModel
public java.lang.String getStreet3()
getStreet3
in interface AddressModel
public long getTypeId()
getTypeId
in interface AddressModel
public long getUserId()
getUserId
in interface AddressModel
getUserId
in interface AuditedModel
public java.lang.String getUserName()
getUserName
in interface AddressModel
getUserName
in interface AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface AddressModel
getUserUuid
in interface AuditedModel
public java.lang.String getUuid()
getUuid
in interface AddressModel
getUuid
in interface StagedModel
public java.lang.String getZip()
getZip
in interface AddressModel
public boolean isMailing()
true
if this address is mailing.isMailing
in interface AddressModel
true
if this address is mailing; false
otherwisepublic boolean isPrimary()
true
if this address is primary.isPrimary
in interface AddressModel
true
if this address is primary; false
otherwisepublic void persist()
PersistedModel
persist
in interface PersistedModel
public void setAddressId(long addressId)
setAddressId
in interface AddressModel
addressId
- the address ID of this addresspublic void setCity(java.lang.String city)
setCity
in interface AddressModel
city
- the city of this addresspublic void setClassName(java.lang.String className)
setClassName
in interface AddressModel
public void setClassNameId(long classNameId)
setClassNameId
in interface AddressModel
setClassNameId
in interface TypedModel
classNameId
- the class name ID of this addresspublic void setClassPK(long classPK)
setClassPK
in interface AddressModel
setClassPK
in interface AttachedModel
classPK
- the class pk of this addresspublic void setCompanyId(long companyId)
setCompanyId
in interface AddressModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface ShardedModel
setCompanyId
in interface StagedModel
companyId
- the company ID of this addresspublic void setCountryId(long countryId)
setCountryId
in interface AddressModel
countryId
- the country ID of this addresspublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface AddressModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface StagedModel
createDate
- the create date of this addresspublic void setMailing(boolean mailing)
setMailing
in interface AddressModel
mailing
- the mailing of this addresspublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface AddressModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface StagedModel
modifiedDate
- the modified date of this addresspublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface AddressModel
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this addresspublic void setPrimary(boolean primary)
setPrimary
in interface AddressModel
primary
- the primary of this addresspublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface AddressModel
primaryKey
- the primary key of this addresspublic void setRegionId(long regionId)
setRegionId
in interface AddressModel
regionId
- the region ID of this addresspublic void setStreet1(java.lang.String street1)
setStreet1
in interface AddressModel
street1
- the street1 of this addresspublic void setStreet2(java.lang.String street2)
setStreet2
in interface AddressModel
street2
- the street2 of this addresspublic void setStreet3(java.lang.String street3)
setStreet3
in interface AddressModel
street3
- the street3 of this addresspublic void setTypeId(long typeId)
setTypeId
in interface AddressModel
typeId
- the type ID of this addresspublic void setUserId(long userId)
setUserId
in interface AddressModel
setUserId
in interface AuditedModel
userId
- the user ID of this addresspublic void setUserName(java.lang.String userName)
setUserName
in interface AddressModel
setUserName
in interface AuditedModel
userName
- the user name of this addresspublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface AddressModel
setUserUuid
in interface AuditedModel
userUuid
- the user uuid of this addresspublic void setUuid(java.lang.String uuid)
setUuid
in interface AddressModel
setUuid
in interface StagedModel
uuid
- the uuid of this addresspublic void setZip(java.lang.String zip)
setZip
in interface AddressModel
zip
- the zip of this addresspublic StagedModelType getStagedModelType()
getStagedModelType
in interface StagedModel
protected AddressWrapper wrap(Address address)
wrap
in class BaseModelWrapper<Address>