|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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 FormField 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 AddressModel
public void setPrimaryKey(long pk)
AddressModel
setPrimaryKey
in interface AddressModel
pk
- the primary key of this addresspublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface AddressModel
getPrimaryKeyObj
in interface BaseModel<Address>
public long getAddressId()
AddressModel
getAddressId
in interface AddressModel
public void setAddressId(long addressId)
AddressModel
setAddressId
in interface AddressModel
addressId
- the address id of this addresspublic long getCompanyId()
AddressModel
getCompanyId
in interface AddressModel
public void setCompanyId(long companyId)
AddressModel
setCompanyId
in interface AddressModel
companyId
- the company id of this addresspublic long getUserId()
AddressModel
getUserId
in interface AddressModel
public void setUserId(long userId)
AddressModel
setUserId
in interface AddressModel
userId
- the user id of this addresspublic String getUserUuid() throws SystemException
AddressModel
getUserUuid
in interface AddressModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
AddressModel
setUserUuid
in interface AddressModel
userUuid
- the user uuid of this addresspublic String getUserName()
AddressModel
getUserName
in interface AddressModel
public void setUserName(String userName)
AddressModel
setUserName
in interface AddressModel
userName
- the user name of this addresspublic Date getCreateDate()
AddressModel
getCreateDate
in interface AddressModel
public void setCreateDate(Date createDate)
AddressModel
setCreateDate
in interface AddressModel
createDate
- the create date of this addresspublic Date getModifiedDate()
AddressModel
getModifiedDate
in interface AddressModel
public void setModifiedDate(Date modifiedDate)
AddressModel
setModifiedDate
in interface AddressModel
modifiedDate
- the modified date of this addresspublic String getClassName()
AddressModel
getClassName
in interface AddressModel
public long getClassNameId()
AddressModel
getClassNameId
in interface AddressModel
public void setClassNameId(long classNameId)
AddressModel
setClassNameId
in interface AddressModel
classNameId
- the class name id of this addresspublic long getClassPK()
AddressModel
getClassPK
in interface AddressModel
public void setClassPK(long classPK)
AddressModel
setClassPK
in interface AddressModel
classPK
- the class p k of this addresspublic String getStreet1()
AddressModel
getStreet1
in interface AddressModel
public void setStreet1(String street1)
AddressModel
setStreet1
in interface AddressModel
street1
- the street1 of this addresspublic String getStreet2()
AddressModel
getStreet2
in interface AddressModel
public void setStreet2(String street2)
AddressModel
setStreet2
in interface AddressModel
street2
- the street2 of this addresspublic String getStreet3()
AddressModel
getStreet3
in interface AddressModel
public void setStreet3(String street3)
AddressModel
setStreet3
in interface AddressModel
street3
- the street3 of this addresspublic String getCity()
AddressModel
getCity
in interface AddressModel
public void setCity(String city)
AddressModel
setCity
in interface AddressModel
city
- the city of this addresspublic String getZip()
AddressModel
getZip
in interface AddressModel
public void setZip(String zip)
AddressModel
setZip
in interface AddressModel
zip
- the zip of this addresspublic long getRegionId()
AddressModel
getRegionId
in interface AddressModel
public void setRegionId(long regionId)
AddressModel
setRegionId
in interface AddressModel
regionId
- the region id of this addresspublic long getCountryId()
AddressModel
getCountryId
in interface AddressModel
public void setCountryId(long countryId)
AddressModel
setCountryId
in interface AddressModel
countryId
- the country id of this addresspublic int getTypeId()
AddressModel
getTypeId
in interface AddressModel
public void setTypeId(int typeId)
AddressModel
setTypeId
in interface AddressModel
typeId
- the type id of this addresspublic boolean getMailing()
AddressModel
getMailing
in interface AddressModel
public boolean isMailing()
AddressModel
isMailing
in interface AddressModel
public void setMailing(boolean mailing)
AddressModel
setMailing
in interface AddressModel
mailing
- the mailing of this addresspublic boolean getPrimary()
AddressModel
getPrimary
in interface AddressModel
public boolean isPrimary()
AddressModel
isPrimary
in interface AddressModel
public void setPrimary(boolean primary)
AddressModel
setPrimary
in interface AddressModel
primary
- the primary of this addresspublic Address toEscapedModel()
AddressModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface AddressModel
AutoEscapeBeanHandler
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface AddressModel
getExpandoBridge
in interface BaseModel<Address>
getExpandoBridge
in class BaseModelImpl<Address>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface AddressModel
setExpandoBridgeAttributes
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 AddressModel
clone
in interface BaseModel<Address>
clone
in class BaseModelImpl<Address>
public int compareTo(Address address)
compareTo
in interface AddressModel
compareTo
in interface Comparable<Address>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface AddressModel
hashCode
in class Object
public String toString()
toString
in interface AddressModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface AddressModel
toXmlString
in interface BaseModel<Address>
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |