com.liferay.portal.model
Class AddressWrapper
java.lang.Object
com.liferay.portal.model.AddressWrapper
- All Implemented Interfaces:
- Address, AddressModel, BaseModel<Address>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Address>
public class AddressWrapper
- extends java.lang.Object
- implements Address
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class is a wrapper for Address
.
- Author:
- Brian Wing Shun Chan
- See Also:
Address
,
Serialized Form- Generated:
Methods inherited from class java.lang.Object |
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
AddressWrapper
public AddressWrapper(Address address)
getPrimaryKey
public long getPrimaryKey()
- Specified by:
getPrimaryKey
in interface AddressModel
setPrimaryKey
public void setPrimaryKey(long pk)
- Specified by:
setPrimaryKey
in interface AddressModel
getAddressId
public long getAddressId()
- Specified by:
getAddressId
in interface AddressModel
setAddressId
public void setAddressId(long addressId)
- Specified by:
setAddressId
in interface AddressModel
getCompanyId
public long getCompanyId()
- Specified by:
getCompanyId
in interface AddressModel
setCompanyId
public void setCompanyId(long companyId)
- Specified by:
setCompanyId
in interface AddressModel
getUserId
public long getUserId()
- Specified by:
getUserId
in interface AddressModel
setUserId
public void setUserId(long userId)
- Specified by:
setUserId
in interface AddressModel
getUserUuid
public java.lang.String getUserUuid()
throws com.liferay.portal.SystemException
- Specified by:
getUserUuid
in interface AddressModel
- Throws:
com.liferay.portal.SystemException
setUserUuid
public void setUserUuid(java.lang.String userUuid)
- Specified by:
setUserUuid
in interface AddressModel
getUserName
public java.lang.String getUserName()
- Specified by:
getUserName
in interface AddressModel
setUserName
public void setUserName(java.lang.String userName)
- Specified by:
setUserName
in interface AddressModel
getCreateDate
public java.util.Date getCreateDate()
- Specified by:
getCreateDate
in interface AddressModel
setCreateDate
public void setCreateDate(java.util.Date createDate)
- Specified by:
setCreateDate
in interface AddressModel
getModifiedDate
public java.util.Date getModifiedDate()
- Specified by:
getModifiedDate
in interface AddressModel
setModifiedDate
public void setModifiedDate(java.util.Date modifiedDate)
- Specified by:
setModifiedDate
in interface AddressModel
getClassName
public java.lang.String getClassName()
- Specified by:
getClassName
in interface AddressModel
getClassNameId
public long getClassNameId()
- Specified by:
getClassNameId
in interface AddressModel
setClassNameId
public void setClassNameId(long classNameId)
- Specified by:
setClassNameId
in interface AddressModel
getClassPK
public long getClassPK()
- Specified by:
getClassPK
in interface AddressModel
setClassPK
public void setClassPK(long classPK)
- Specified by:
setClassPK
in interface AddressModel
getStreet1
public java.lang.String getStreet1()
- Specified by:
getStreet1
in interface AddressModel
setStreet1
public void setStreet1(java.lang.String street1)
- Specified by:
setStreet1
in interface AddressModel
getStreet2
public java.lang.String getStreet2()
- Specified by:
getStreet2
in interface AddressModel
setStreet2
public void setStreet2(java.lang.String street2)
- Specified by:
setStreet2
in interface AddressModel
getStreet3
public java.lang.String getStreet3()
- Specified by:
getStreet3
in interface AddressModel
setStreet3
public void setStreet3(java.lang.String street3)
- Specified by:
setStreet3
in interface AddressModel
getCity
public java.lang.String getCity()
- Specified by:
getCity
in interface AddressModel
setCity
public void setCity(java.lang.String city)
- Specified by:
setCity
in interface AddressModel
getZip
public java.lang.String getZip()
- Specified by:
getZip
in interface AddressModel
setZip
public void setZip(java.lang.String zip)
- Specified by:
setZip
in interface AddressModel
getRegionId
public long getRegionId()
- Specified by:
getRegionId
in interface AddressModel
setRegionId
public void setRegionId(long regionId)
- Specified by:
setRegionId
in interface AddressModel
getCountryId
public long getCountryId()
- Specified by:
getCountryId
in interface AddressModel
setCountryId
public void setCountryId(long countryId)
- Specified by:
setCountryId
in interface AddressModel
getTypeId
public int getTypeId()
- Specified by:
getTypeId
in interface AddressModel
setTypeId
public void setTypeId(int typeId)
- Specified by:
setTypeId
in interface AddressModel
getMailing
public boolean getMailing()
- Specified by:
getMailing
in interface AddressModel
isMailing
public boolean isMailing()
- Specified by:
isMailing
in interface AddressModel
setMailing
public void setMailing(boolean mailing)
- Specified by:
setMailing
in interface AddressModel
getPrimary
public boolean getPrimary()
- Specified by:
getPrimary
in interface AddressModel
isPrimary
public boolean isPrimary()
- Specified by:
isPrimary
in interface AddressModel
setPrimary
public void setPrimary(boolean primary)
- Specified by:
setPrimary
in interface AddressModel
isNew
public boolean isNew()
- Specified by:
isNew
in interface AddressModel
- Specified by:
isNew
in interface BaseModel<Address>
setNew
public boolean setNew(boolean n)
- Specified by:
setNew
in interface AddressModel
- Specified by:
setNew
in interface BaseModel<Address>
isCachedModel
public boolean isCachedModel()
- Specified by:
isCachedModel
in interface AddressModel
- Specified by:
isCachedModel
in interface BaseModel<Address>
setCachedModel
public void setCachedModel(boolean cachedModel)
- Specified by:
setCachedModel
in interface AddressModel
- Specified by:
setCachedModel
in interface BaseModel<Address>
isEscapedModel
public boolean isEscapedModel()
- Specified by:
isEscapedModel
in interface AddressModel
- Specified by:
isEscapedModel
in interface BaseModel<Address>
setEscapedModel
public void setEscapedModel(boolean escapedModel)
- Specified by:
setEscapedModel
in interface AddressModel
- Specified by:
setEscapedModel
in interface BaseModel<Address>
getPrimaryKeyObj
public java.io.Serializable getPrimaryKeyObj()
- Specified by:
getPrimaryKeyObj
in interface AddressModel
- Specified by:
getPrimaryKeyObj
in interface BaseModel<Address>
getExpandoBridge
public ExpandoBridge getExpandoBridge()
- Specified by:
getExpandoBridge
in interface AddressModel
- Specified by:
getExpandoBridge
in interface BaseModel<Address>
setExpandoBridgeAttributes
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
- Specified by:
setExpandoBridgeAttributes
in interface AddressModel
- Specified by:
setExpandoBridgeAttributes
in interface BaseModel<Address>
clone
public java.lang.Object clone()
- Specified by:
clone
in interface AddressModel
- Specified by:
clone
in interface BaseModel<Address>
- Overrides:
clone
in class java.lang.Object
compareTo
public int compareTo(Address address)
- Specified by:
compareTo
in interface AddressModel
- Specified by:
compareTo
in interface java.lang.Comparable<Address>
hashCode
public int hashCode()
- Specified by:
hashCode
in interface AddressModel
- Overrides:
hashCode
in class java.lang.Object
toEscapedModel
public Address toEscapedModel()
- Specified by:
toEscapedModel
in interface AddressModel
- Specified by:
toEscapedModel
in interface BaseModel<Address>
toString
public java.lang.String toString()
- Specified by:
toString
in interface AddressModel
- Overrides:
toString
in class java.lang.Object
toXmlString
public java.lang.String toXmlString()
- Specified by:
toXmlString
in interface AddressModel
- Specified by:
toXmlString
in interface BaseModel<Address>
getRegion
public Region getRegion()
- Specified by:
getRegion
in interface Address
getCountry
public Country getCountry()
- Specified by:
getCountry
in interface Address
getType
public ListType getType()
- Specified by:
getType
in interface Address
getWrappedAddress
public Address getWrappedAddress()