|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AddressModel
The base model interface for the Address service. Represents a row in the "Address" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation AddressModelImpl 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 interface directly. All methods that expect a address model instance should use the Address interface instead.
Address,
AddressImpl,
AddressModelImpl| 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. |
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 |
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. |
| Method Detail |
|---|
long getPrimaryKey()
void setPrimaryKey(long pk)
pk - the primary key of this addresslong getAddressId()
void setAddressId(long addressId)
addressId - the address id of this addresslong getCompanyId()
void setCompanyId(long companyId)
companyId - the company id of this addresslong getUserId()
void setUserId(long userId)
userId - the user id of this address
String getUserUuid()
throws SystemException
SystemException - if a system exception occurredvoid setUserUuid(String userUuid)
userUuid - the user uuid of this address@AutoEscape String getUserName()
void setUserName(String userName)
userName - the user name of this addressDate getCreateDate()
void setCreateDate(Date createDate)
createDate - the create date of this addressDate getModifiedDate()
void setModifiedDate(Date modifiedDate)
modifiedDate - the modified date of this addressString getClassName()
long getClassNameId()
void setClassNameId(long classNameId)
classNameId - the class name id of this addresslong getClassPK()
void setClassPK(long classPK)
classPK - the class p k of this address@AutoEscape String getStreet1()
void setStreet1(String street1)
street1 - the street1 of this address@AutoEscape String getStreet2()
void setStreet2(String street2)
street2 - the street2 of this address@AutoEscape String getStreet3()
void setStreet3(String street3)
street3 - the street3 of this address@AutoEscape String getCity()
void setCity(String city)
city - the city of this address@AutoEscape String getZip()
void setZip(String zip)
zip - the zip of this addresslong getRegionId()
void setRegionId(long regionId)
regionId - the region id of this addresslong getCountryId()
void setCountryId(long countryId)
countryId - the country id of this addressint getTypeId()
void setTypeId(int typeId)
typeId - the type id of this addressboolean getMailing()
boolean isMailing()
void setMailing(boolean mailing)
mailing - the mailing of this addressboolean getPrimary()
boolean isPrimary()
void setPrimary(boolean primary)
primary - the primary of this addressAddress toEscapedModel()
AutoEscapeBeanHandler.
AutoEscapeBeanHandlerboolean isNew()
BaseModel
isNew in interface BaseModel<Address>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModel
setNew in interface BaseModel<Address>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<Address>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<Address>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<Address>true if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)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 BaseModel<Address>escapedModel - whether this model instance is escapedAutoEscapeBeanHandlerSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Address>ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Address>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Address>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)Object clone()
BaseModel
clone in interface BaseModel<Address>int compareTo(Address address)
compareTo in interface Comparable<Address>int hashCode()
hashCode in class ObjectString toString()
toString in class ObjectString toXmlString()
BaseModel
toXmlString in interface BaseModel<Address>
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||