|
Liferay 6.0.3 | |||||||||
| 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()
|
String |
getCity()
|
String |
getClassName()
|
long |
getClassNameId()
|
long |
getClassPK()
|
long |
getCompanyId()
|
Country |
getCountry()
|
long |
getCountryId()
|
Date |
getCreateDate()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
boolean |
getMailing()
|
Date |
getModifiedDate()
|
boolean |
getPrimary()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
Region |
getRegion()
|
long |
getRegionId()
|
String |
getStreet1()
|
String |
getStreet2()
|
String |
getStreet3()
|
ListType |
getType()
|
int |
getTypeId()
|
long |
getUserId()
|
String |
getUserName()
|
String |
getUserUuid()
|
Address |
getWrappedAddress()
|
String |
getZip()
|
int |
hashCode()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance has been wrapped with an HTML auto escape handler. |
boolean |
isMailing()
|
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isPrimary()
|
void |
setAddressId(long addressId)
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCity(String city)
|
void |
setClassNameId(long classNameId)
|
void |
setClassPK(long classPK)
|
void |
setCompanyId(long companyId)
|
void |
setCountryId(long countryId)
|
void |
setCreateDate(Date createDate)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
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)
|
void |
setModifiedDate(Date modifiedDate)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimary(boolean primary)
|
void |
setPrimaryKey(long pk)
|
void |
setRegionId(long regionId)
|
void |
setStreet1(String street1)
|
void |
setStreet2(String street2)
|
void |
setStreet3(String street3)
|
void |
setTypeId(int typeId)
|
void |
setUserId(long userId)
|
void |
setUserName(String userName)
|
void |
setUserUuid(String userUuid)
|
void |
setZip(String zip)
|
Address |
toEscapedModel()
|
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()
getPrimaryKey in interface AddressModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface AddressModelpublic long getAddressId()
getAddressId in interface AddressModelpublic void setAddressId(long addressId)
setAddressId in interface AddressModelpublic long getCompanyId()
getCompanyId in interface AddressModelpublic void setCompanyId(long companyId)
setCompanyId in interface AddressModelpublic long getUserId()
getUserId in interface AddressModelpublic void setUserId(long userId)
setUserId in interface AddressModel
public String getUserUuid()
throws SystemException
getUserUuid in interface AddressModelSystemExceptionpublic void setUserUuid(String userUuid)
setUserUuid in interface AddressModelpublic String getUserName()
getUserName in interface AddressModelpublic void setUserName(String userName)
setUserName in interface AddressModelpublic Date getCreateDate()
getCreateDate in interface AddressModelpublic void setCreateDate(Date createDate)
setCreateDate in interface AddressModelpublic Date getModifiedDate()
getModifiedDate in interface AddressModelpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AddressModelpublic String getClassName()
getClassName in interface AddressModelpublic long getClassNameId()
getClassNameId in interface AddressModelpublic void setClassNameId(long classNameId)
setClassNameId in interface AddressModelpublic long getClassPK()
getClassPK in interface AddressModelpublic void setClassPK(long classPK)
setClassPK in interface AddressModelpublic String getStreet1()
getStreet1 in interface AddressModelpublic void setStreet1(String street1)
setStreet1 in interface AddressModelpublic String getStreet2()
getStreet2 in interface AddressModelpublic void setStreet2(String street2)
setStreet2 in interface AddressModelpublic String getStreet3()
getStreet3 in interface AddressModelpublic void setStreet3(String street3)
setStreet3 in interface AddressModelpublic String getCity()
getCity in interface AddressModelpublic void setCity(String city)
setCity in interface AddressModelpublic String getZip()
getZip in interface AddressModelpublic void setZip(String zip)
setZip in interface AddressModelpublic long getRegionId()
getRegionId in interface AddressModelpublic void setRegionId(long regionId)
setRegionId in interface AddressModelpublic long getCountryId()
getCountryId in interface AddressModelpublic void setCountryId(long countryId)
setCountryId in interface AddressModelpublic int getTypeId()
getTypeId in interface AddressModelpublic void setTypeId(int typeId)
setTypeId in interface AddressModelpublic boolean getMailing()
getMailing in interface AddressModelpublic boolean isMailing()
isMailing in interface AddressModelpublic void setMailing(boolean mailing)
setMailing in interface AddressModelpublic boolean getPrimary()
getPrimary in interface AddressModelpublic boolean isPrimary()
isPrimary in interface AddressModelpublic void setPrimary(boolean primary)
setPrimary in interface AddressModelpublic Address toEscapedModel()
toEscapedModel in interface AddressModelpublic 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 has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped 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 has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic 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.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||