Interface AddressModel

All Superinterfaces:
AttachedModel, AuditedModel, BaseModel<Address>, ClassedModel, Cloneable, Comparable<Address>, CTModel<Address>, ExternalReferenceCodeModel, MVCCModel, Serializable, ShardedModel, StagedAuditedModel, StagedModel, TypedModel
All Known Subinterfaces:
Address
All Known Implementing Classes:
AddressWrapper

The base model interface for the Address service. Represents a row in the "Address" database table, with each column mapped to a property of this class.

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.

Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this address.
      Specified by:
      getPrimaryKey in interface CTModel<Address>
      Returns:
      the primary key of this address
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this address.
      Specified by:
      setPrimaryKey in interface CTModel<Address>
      Parameters:
      primaryKey - the primary key of this address
    • getMvccVersion

      long getMvccVersion()
      Returns the mvcc version of this address.
      Specified by:
      getMvccVersion in interface MVCCModel
      Returns:
      the mvcc version of this address
    • setMvccVersion

      void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this address.
      Specified by:
      setMvccVersion in interface MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this address
    • getCtCollectionId

      long getCtCollectionId()
      Returns the ct collection ID of this address.
      Specified by:
      getCtCollectionId in interface CTModel<Address>
      Returns:
      the ct collection ID of this address
    • setCtCollectionId

      void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this address.
      Specified by:
      setCtCollectionId in interface CTModel<Address>
      Parameters:
      ctCollectionId - the ct collection ID of this address
    • getUuid

      @AutoEscape String getUuid()
      Returns the uuid of this address.
      Specified by:
      getUuid in interface StagedModel
      Returns:
      the uuid of this address
    • setUuid

      void setUuid(String uuid)
      Sets the uuid of this address.
      Specified by:
      setUuid in interface StagedModel
      Parameters:
      uuid - the uuid of this address
    • getExternalReferenceCode

      @AutoEscape String getExternalReferenceCode()
      Returns the external reference code of this address.
      Specified by:
      getExternalReferenceCode in interface ExternalReferenceCodeModel
      Returns:
      the external reference code of this address
    • setExternalReferenceCode

      void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this address.
      Specified by:
      setExternalReferenceCode in interface ExternalReferenceCodeModel
      Parameters:
      externalReferenceCode - the external reference code of this address
    • getAddressId

      long getAddressId()
      Returns the address ID of this address.
      Returns:
      the address ID of this address
    • setAddressId

      void setAddressId(long addressId)
      Sets the address ID of this address.
      Parameters:
      addressId - the address ID of this address
    • getCompanyId

      long getCompanyId()
      Returns the company ID of this address.
      Specified by:
      getCompanyId in interface AuditedModel
      Specified by:
      getCompanyId in interface ShardedModel
      Specified by:
      getCompanyId in interface StagedModel
      Returns:
      the company ID of this address
    • setCompanyId

      void setCompanyId(long companyId)
      Sets the company ID of this address.
      Specified by:
      setCompanyId in interface AuditedModel
      Specified by:
      setCompanyId in interface ShardedModel
      Specified by:
      setCompanyId in interface StagedModel
      Parameters:
      companyId - the company ID of this address
    • getUserId

      long getUserId()
      Returns the user ID of this address.
      Specified by:
      getUserId in interface AuditedModel
      Returns:
      the user ID of this address
    • setUserId

      void setUserId(long userId)
      Sets the user ID of this address.
      Specified by:
      setUserId in interface AuditedModel
      Parameters:
      userId - the user ID of this address
    • getUserUuid

      String getUserUuid()
      Returns the user uuid of this address.
      Specified by:
      getUserUuid in interface AuditedModel
      Returns:
      the user uuid of this address
    • setUserUuid

      void setUserUuid(String userUuid)
      Sets the user uuid of this address.
      Specified by:
      setUserUuid in interface AuditedModel
      Parameters:
      userUuid - the user uuid of this address
    • getUserName

      @AutoEscape String getUserName()
      Returns the user name of this address.
      Specified by:
      getUserName in interface AuditedModel
      Returns:
      the user name of this address
    • setUserName

      void setUserName(String userName)
      Sets the user name of this address.
      Specified by:
      setUserName in interface AuditedModel
      Parameters:
      userName - the user name of this address
    • getCreateDate

      Date getCreateDate()
      Returns the create date of this address.
      Specified by:
      getCreateDate in interface AuditedModel
      Specified by:
      getCreateDate in interface StagedModel
      Returns:
      the create date of this address
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this address.
      Specified by:
      setCreateDate in interface AuditedModel
      Specified by:
      setCreateDate in interface StagedModel
      Parameters:
      createDate - the create date of this address
    • getModifiedDate

      Date getModifiedDate()
      Returns the modified date of this address.
      Specified by:
      getModifiedDate in interface AuditedModel
      Specified by:
      getModifiedDate in interface StagedModel
      Returns:
      the modified date of this address
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Sets the modified date of this address.
      Specified by:
      setModifiedDate in interface AuditedModel
      Specified by:
      setModifiedDate in interface StagedModel
      Parameters:
      modifiedDate - the modified date of this address
    • getClassName

      String getClassName()
      Returns the fully qualified class name of this address.
      Specified by:
      getClassName in interface TypedModel
      Returns:
      the fully qualified class name of this address
    • setClassName

      void setClassName(String className)
    • getClassNameId

      long getClassNameId()
      Returns the class name ID of this address.
      Specified by:
      getClassNameId in interface TypedModel
      Returns:
      the class name ID of this address
    • setClassNameId

      void setClassNameId(long classNameId)
      Sets the class name ID of this address.
      Specified by:
      setClassNameId in interface TypedModel
      Parameters:
      classNameId - the class name ID of this address
    • getClassPK

      long getClassPK()
      Returns the class pk of this address.
      Specified by:
      getClassPK in interface AttachedModel
      Returns:
      the class pk of this address
    • setClassPK

      void setClassPK(long classPK)
      Sets the class pk of this address.
      Specified by:
      setClassPK in interface AttachedModel
      Parameters:
      classPK - the class pk of this address
    • getCountryId

      long getCountryId()
      Returns the country ID of this address.
      Returns:
      the country ID of this address
    • setCountryId

      void setCountryId(long countryId)
      Sets the country ID of this address.
      Parameters:
      countryId - the country ID of this address
    • getListTypeId

      long getListTypeId()
      Returns the list type ID of this address.
      Returns:
      the list type ID of this address
    • setListTypeId

      void setListTypeId(long listTypeId)
      Sets the list type ID of this address.
      Parameters:
      listTypeId - the list type ID of this address
    • getRegionId

      long getRegionId()
      Returns the region ID of this address.
      Returns:
      the region ID of this address
    • setRegionId

      void setRegionId(long regionId)
      Sets the region ID of this address.
      Parameters:
      regionId - the region ID of this address
    • getCity

      @AutoEscape String getCity()
      Returns the city of this address.
      Returns:
      the city of this address
    • setCity

      void setCity(String city)
      Sets the city of this address.
      Parameters:
      city - the city of this address
    • getDescription

      @AutoEscape String getDescription()
      Returns the description of this address.
      Returns:
      the description of this address
    • setDescription

      void setDescription(String description)
      Sets the description of this address.
      Parameters:
      description - the description of this address
    • getLatitude

      double getLatitude()
      Returns the latitude of this address.
      Returns:
      the latitude of this address
    • setLatitude

      void setLatitude(double latitude)
      Sets the latitude of this address.
      Parameters:
      latitude - the latitude of this address
    • getLongitude

      double getLongitude()
      Returns the longitude of this address.
      Returns:
      the longitude of this address
    • setLongitude

      void setLongitude(double longitude)
      Sets the longitude of this address.
      Parameters:
      longitude - the longitude of this address
    • getMailing

      boolean getMailing()
      Returns the mailing of this address.
      Returns:
      the mailing of this address
    • isMailing

      boolean isMailing()
      Returns true if this address is mailing.
      Returns:
      true if this address is mailing; false otherwise
    • setMailing

      void setMailing(boolean mailing)
      Sets whether this address is mailing.
      Parameters:
      mailing - the mailing of this address
    • getName

      @AutoEscape String getName()
      Returns the name of this address.
      Returns:
      the name of this address
    • setName

      void setName(String name)
      Sets the name of this address.
      Parameters:
      name - the name of this address
    • getPrimary

      boolean getPrimary()
      Returns the primary of this address.
      Returns:
      the primary of this address
    • isPrimary

      boolean isPrimary()
      Returns true if this address is primary.
      Returns:
      true if this address is primary; false otherwise
    • setPrimary

      void setPrimary(boolean primary)
      Sets whether this address is primary.
      Parameters:
      primary - the primary of this address
    • getStreet1

      @AutoEscape String getStreet1()
      Returns the street1 of this address.
      Returns:
      the street1 of this address
    • setStreet1

      void setStreet1(String street1)
      Sets the street1 of this address.
      Parameters:
      street1 - the street1 of this address
    • getStreet2

      @AutoEscape String getStreet2()
      Returns the street2 of this address.
      Returns:
      the street2 of this address
    • setStreet2

      void setStreet2(String street2)
      Sets the street2 of this address.
      Parameters:
      street2 - the street2 of this address
    • getStreet3

      @AutoEscape String getStreet3()
      Returns the street3 of this address.
      Returns:
      the street3 of this address
    • setStreet3

      void setStreet3(String street3)
      Sets the street3 of this address.
      Parameters:
      street3 - the street3 of this address
    • getValidationDate

      Date getValidationDate()
      Returns the validation date of this address.
      Returns:
      the validation date of this address
    • setValidationDate

      void setValidationDate(Date validationDate)
      Sets the validation date of this address.
      Parameters:
      validationDate - the validation date of this address
    • getValidationStatus

      int getValidationStatus()
      Returns the validation status of this address.
      Returns:
      the validation status of this address
    • setValidationStatus

      void setValidationStatus(int validationStatus)
      Sets the validation status of this address.
      Parameters:
      validationStatus - the validation status of this address
    • getZip

      Returns the zip of this address.
      Returns:
      the zip of this address
    • setZip

      void setZip(String zip)
      Sets the zip of this address.
      Parameters:
      zip - the zip of this address
    • cloneWithOriginalValues

      Address cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface BaseModel<Address>
    • toXmlString

      default String toXmlString()