|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.AddressWrapper
public class AddressWrapper
This class is a wrapper for Address.
Address,
Serialized Form| Constructor Summary | |
|---|---|
AddressWrapper(Address address)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Address address)
|
long |
getAddressId()
Gets the address id of this address. |
String |
getCity()
Gets the city of this address. |
String |
getClassName()
Gets the class name of the model instance this address is polymorphically associated with. |
long |
getClassNameId()
Gets the class name id of this address. |
long |
getClassPK()
Gets the class p k of this address. |
long |
getCompanyId()
Gets the company id of this address. |
Country |
getCountry()
|
long |
getCountryId()
Gets the country id of this address. |
Date |
getCreateDate()
Gets the create date of this address. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
boolean |
getMailing()
Gets the mailing of this address. |
Date |
getModifiedDate()
Gets the modified date of this address. |
boolean |
getPrimary()
Gets the primary of this address. |
long |
getPrimaryKey()
Gets the primary key of this address. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
Region |
getRegion()
|
long |
getRegionId()
Gets the region id of this address. |
String |
getStreet1()
Gets the street1 of this address. |
String |
getStreet2()
Gets the street2 of this address. |
String |
getStreet3()
Gets the street3 of this address. |
ListType |
getType()
|
int |
getTypeId()
Gets the type id of this address. |
long |
getUserId()
Gets the user id of this address. |
String |
getUserName()
Gets the user name of this address. |
String |
getUserUuid()
Gets the user uuid of this address. |
Address |
getWrappedAddress()
|
String |
getZip()
Gets the zip of this address. |
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isMailing()
Determines whether this address is mailing. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isPrimary()
Determines whether 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 |
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 |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
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 {$entity.humanName} is mailing. |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date 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 {$entity.humanName} is primary. |
void |
setPrimaryKey(long pk)
Sets the primary key of this address |
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(int 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 |
setZip(String zip)
Sets the zip of this address. |
Address |
toEscapedModel()
Gets a copy of this address as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AddressWrapper(Address address)
| Method Detail |
|---|
public long getPrimaryKey()
AddressModel
getPrimaryKey in interface AddressModelpublic void setPrimaryKey(long pk)
AddressModel
setPrimaryKey in interface AddressModelpk - the primary key of this addresspublic long getAddressId()
AddressModel
getAddressId in interface AddressModelpublic void setAddressId(long addressId)
AddressModel
setAddressId in interface AddressModeladdressId - the address id of this addresspublic long getCompanyId()
AddressModel
getCompanyId in interface AddressModelpublic void setCompanyId(long companyId)
AddressModel
setCompanyId in interface AddressModelcompanyId - the company id of this addresspublic long getUserId()
AddressModel
getUserId in interface AddressModelpublic void setUserId(long userId)
AddressModel
setUserId in interface AddressModeluserId - the user id of this address
public String getUserUuid()
throws SystemException
AddressModel
getUserUuid in interface AddressModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
AddressModel
setUserUuid in interface AddressModeluserUuid - the user uuid of this addresspublic String getUserName()
AddressModel
getUserName in interface AddressModelpublic void setUserName(String userName)
AddressModel
setUserName in interface AddressModeluserName - the user name of this addresspublic Date getCreateDate()
AddressModel
getCreateDate in interface AddressModelpublic void setCreateDate(Date createDate)
AddressModel
setCreateDate in interface AddressModelcreateDate - the create date of this addresspublic Date getModifiedDate()
AddressModel
getModifiedDate in interface AddressModelpublic void setModifiedDate(Date modifiedDate)
AddressModel
setModifiedDate in interface AddressModelmodifiedDate - the modified date of this addresspublic String getClassName()
AddressModel
getClassName in interface AddressModelpublic long getClassNameId()
AddressModel
getClassNameId in interface AddressModelpublic void setClassNameId(long classNameId)
AddressModel
setClassNameId in interface AddressModelclassNameId - the class name id of this addresspublic long getClassPK()
AddressModel
getClassPK in interface AddressModelpublic void setClassPK(long classPK)
AddressModel
setClassPK in interface AddressModelclassPK - the class p k of this addresspublic String getStreet1()
AddressModel
getStreet1 in interface AddressModelpublic void setStreet1(String street1)
AddressModel
setStreet1 in interface AddressModelstreet1 - the street1 of this addresspublic String getStreet2()
AddressModel
getStreet2 in interface AddressModelpublic void setStreet2(String street2)
AddressModel
setStreet2 in interface AddressModelstreet2 - the street2 of this addresspublic String getStreet3()
AddressModel
getStreet3 in interface AddressModelpublic void setStreet3(String street3)
AddressModel
setStreet3 in interface AddressModelstreet3 - the street3 of this addresspublic String getCity()
AddressModel
getCity in interface AddressModelpublic void setCity(String city)
AddressModel
setCity in interface AddressModelcity - the city of this addresspublic String getZip()
AddressModel
getZip in interface AddressModelpublic void setZip(String zip)
AddressModel
setZip in interface AddressModelzip - the zip of this addresspublic long getRegionId()
AddressModel
getRegionId in interface AddressModelpublic void setRegionId(long regionId)
AddressModel
setRegionId in interface AddressModelregionId - the region id of this addresspublic long getCountryId()
AddressModel
getCountryId in interface AddressModelpublic void setCountryId(long countryId)
AddressModel
setCountryId in interface AddressModelcountryId - the country id of this addresspublic int getTypeId()
AddressModel
getTypeId in interface AddressModelpublic void setTypeId(int typeId)
AddressModel
setTypeId in interface AddressModeltypeId - the type id of this addresspublic boolean getMailing()
AddressModel
getMailing in interface AddressModelpublic boolean isMailing()
AddressModel
isMailing in interface AddressModelpublic void setMailing(boolean mailing)
AddressModel
setMailing in interface AddressModelmailing - the mailing of this addresspublic boolean getPrimary()
AddressModel
getPrimary in interface AddressModelpublic boolean isPrimary()
AddressModel
isPrimary in interface AddressModelpublic void setPrimary(boolean primary)
AddressModel
setPrimary in interface AddressModelprimary - the primary of this addresspublic Address toEscapedModel()
AddressModelAutoEscapeBeanHandler.
toEscapedModel in interface AddressModelAutoEscapeBeanHandlerpublic boolean isNew()
BaseModel
isNew in interface AddressModelisNew in interface BaseModel<Address>true if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface AddressModelsetNew in interface BaseModel<Address>n - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface AddressModelisCachedModel in interface BaseModel<Address>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface AddressModelsetCachedModel in interface BaseModel<Address>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface AddressModelisEscapedModel in interface BaseModel<Address>true if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface AddressModelsetEscapedModel in interface BaseModel<Address>escapedModel - whether this model instance is escapedAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface AddressModelgetPrimaryKeyObj in interface BaseModel<Address>public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface AddressModelgetExpandoBridge in interface BaseModel<Address>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface AddressModelsetExpandoBridgeAttributes in interface BaseModel<Address>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface AddressModelclone in interface BaseModel<Address>clone in class Objectpublic int compareTo(Address address)
compareTo in interface AddressModelcompareTo in interface Comparable<Address>public int hashCode()
hashCode in interface AddressModelhashCode in class Objectpublic String toString()
toString in interface AddressModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface AddressModeltoXmlString in interface BaseModel<Address>public Region getRegion()
getRegion in interface Addresspublic Country getCountry()
getCountry in interface Addresspublic ListType getType()
getType in interface Addresspublic Address getWrappedAddress()
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||