|
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.impl.BaseModelImpl<Address>
com.liferay.portal.model.impl.AddressModelImpl
public class AddressModelImpl
The base model implementation for the Address service. Represents a row in the "Address" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface AddressModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in AddressImpl.
Never modify or reference this class directly. All methods that expect a address model instance should use the Address interface instead.
AddressImpl,
Address,
AddressModel,
Serialized Form| Field Summary | |
|---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
AddressModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Address address)
|
boolean |
equals(Object obj)
|
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. |
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. |
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. |
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. |
String |
getZip()
Gets the zip of this address. |
int |
hashCode()
|
boolean |
isMailing()
Determines whether this address is mailing. |
boolean |
isPrimary()
Determines whether this address is primary. |
void |
setAddressId(long addressId)
Sets the address id of this address. |
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 |
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 |
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. |
static Address |
toModel(AddressSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<Address> |
toModels(AddressSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.model.AddressModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public AddressModelImpl()
| Method Detail |
|---|
public static Address toModel(AddressSoap soapModel)
soapModel - the soap model instance to convert
public static List<Address> toModels(AddressSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
AddressModel
getPrimaryKey in interface AddressModelpublic void setPrimaryKey(long pk)
AddressModel
setPrimaryKey in interface AddressModelpk - the primary key of this addresspublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface AddressModelgetPrimaryKeyObj in interface BaseModel<Address>public 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 ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface AddressModelgetExpandoBridge in interface BaseModel<Address>getExpandoBridge in class BaseModelImpl<Address>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface AddressModelsetExpandoBridgeAttributes in interface BaseModel<Address>setExpandoBridgeAttributes in class BaseModelImpl<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 BaseModelImpl<Address>public int compareTo(Address address)
compareTo in interface AddressModelcompareTo in interface Comparable<Address>public boolean equals(Object obj)
equals in class Objectpublic 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>
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||