@ProviderType public interface AddressModel extends AttachedModel, BaseModel<Address>, MVCCModel, ShardedModel, StagedAuditedModel
This interface and its corresponding implementation com.liferay.portal.model.impl.AddressModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.AddressImpl.
Address,
com.liferay.portal.model.impl.AddressImpl,
com.liferay.portal.model.impl.AddressModelImpl| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(Address address) |
long |
getAddressId()
Returns the address ID of this address.
|
String |
getCity()
Returns the city of this address.
|
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 p k of this address.
|
long |
getCompanyId()
Returns the company ID of this address.
|
long |
getCountryId()
Returns the country ID of this address.
|
Date |
getCreateDate()
Returns the create date of this address.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
boolean |
getMailing()
Returns the mailing of this address.
|
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.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getRegionId()
Returns the region ID of this address.
|
String |
getStreet1()
Returns the street1 of this address.
|
String |
getStreet2()
Returns the street2 of this address.
|
String |
getStreet3()
Returns the street3 of this address.
|
long |
getTypeId()
Returns the type ID of this address.
|
long |
getUserId()
Returns the user ID of this address.
|
String |
getUserName()
Returns the user name of this address.
|
String |
getUserUuid()
Returns the user uuid of this address.
|
String |
getUuid()
Returns the uuid of this address.
|
String |
getZip()
Returns the zip of this address.
|
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 |
isMailing()
Returns
true if this address is mailing. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
boolean |
isPrimary()
Returns
true if this address is primary. |
void |
setAddressId(long addressId)
Sets the address ID of this address.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setCity(String city)
Sets the city of this address.
|
void |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this address.
|
void |
setClassPK(long classPK)
Sets the class p k 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(Date createDate)
Sets the create date of this address.
|
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 |
setMailing(boolean mailing)
Sets whether this address is mailing.
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this address.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this address.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimary(boolean primary)
Sets whether this address is primary.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this address.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setRegionId(long regionId)
Sets the region ID of this address.
|
void |
setStreet1(String street1)
Sets the street1 of this address.
|
void |
setStreet2(String street2)
Sets the street2 of this address.
|
void |
setStreet3(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(String userName)
Sets the user name of this address.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this address.
|
void |
setUuid(String uuid)
Sets the uuid of this address.
|
void |
setZip(String zip)
Sets the zip of this address.
|
CacheModel<Address> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
Address |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
Address |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributesgetStagedModelTypegetModelClass, getModelClassNamelong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this addresslong getMvccVersion()
getMvccVersion in interface MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this address@AutoEscape String getUuid()
getUuid in interface StagedModelvoid setUuid(String uuid)
setUuid in interface StagedModeluuid - the uuid of this addresslong getAddressId()
void setAddressId(long addressId)
addressId - the address ID of this addresslong getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelvoid setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this addresslong getUserId()
getUserId in interface AuditedModelvoid setUserId(long userId)
setUserId in interface AuditedModeluserId - the user ID of this addressString getUserUuid()
getUserUuid in interface AuditedModelvoid setUserUuid(String userUuid)
setUserUuid in interface AuditedModeluserUuid - the user uuid of this address@AutoEscape String getUserName()
getUserName in interface AuditedModelvoid setUserName(String userName)
setUserName in interface AuditedModeluserName - the user name of this addressDate getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelvoid setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelcreateDate - the create date of this addressDate getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelvoid setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this addressString getClassName()
getClassName in interface TypedModelvoid setClassName(String className)
long getClassNameId()
getClassNameId in interface TypedModelvoid setClassNameId(long classNameId)
setClassNameId in interface TypedModelclassNameId - the class name ID of this addresslong getClassPK()
getClassPK in interface AttachedModelvoid setClassPK(long classPK)
setClassPK in interface AttachedModelclassPK - the class p k of this address@AutoEscape String getStreet1()
void setStreet1(String street1)
street1 - the street1 of this address@AutoEscape String getStreet2()
void setStreet2(String street2)
street2 - the street2 of this address@AutoEscape String getStreet3()
void setStreet3(String street3)
street3 - the street3 of this address@AutoEscape String getCity()
void setCity(String city)
city - the city of this address@AutoEscape String getZip()
void setZip(String zip)
zip - the zip of this addresslong getRegionId()
void setRegionId(long regionId)
regionId - the region ID of this addresslong getCountryId()
void setCountryId(long countryId)
countryId - the country ID of this addresslong getTypeId()
void setTypeId(long typeId)
typeId - the type ID of this addressboolean getMailing()
boolean isMailing()
true if this address is mailing.true if this address is mailing; false otherwisevoid setMailing(boolean mailing)
mailing - the mailing of this addressboolean getPrimary()
boolean isPrimary()
true if this address is primary.true if this address is primary; false otherwisevoid setPrimary(boolean primary)
primary - the primary of this addressboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.void setNew(boolean n)
BaseModelboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<Address>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<Address>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<Address>true if this model instance is escaped;
false otherwiseSerializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<Address>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<Address>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<Address>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<Address>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<Address>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<Address>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()Object clone()
BaseModelclone in interface BaseModel<Address>clone in interface StagedModelint compareTo(Address address)
compareTo in interface Comparable<Address>CacheModel<Address> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<Address>Address toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<Address>AutoEscapeBeanHandlerAddress toUnescapedModel()
toUnescapedModel in interface BaseModel<Address>String toXmlString()
BaseModeltoXmlString in interface BaseModel<Address>