@Entity public class Address extends VersionableEntity implements java.lang.Cloneable
This class corresponds to:
CLOB_LENGTH, uuid
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clones this Address.
|
Country |
getCountry()
Returns the
country involved in this postal address. |
java.lang.String |
getLocality()
Returns the town (possibly with locality or suburb) involved in this postal address.
|
Point |
getLocation()
Returns the geophysical
location (coordinates) of this postal address. |
java.lang.String |
getPobox()
Returns a string corresponding to the post office box
involved in this postal address.
|
java.lang.String |
getPostcode()
Returns the post code number involved in this postal address.
|
java.lang.String |
getRegion()
Returns the region or state involved in this postal address.
|
java.lang.String |
getStreet()
Returns the street name and number involved in this postal address.
|
static Address |
NewInstance() |
static Address |
NewInstance(Country country,
java.lang.String locality,
java.lang.String pobox,
java.lang.String postcode,
java.lang.String region,
java.lang.String street,
Point location) |
void |
setCountry(Country country) |
void |
setLocality(java.lang.String locality) |
void |
setLocation(Point location) |
void |
setPobox(java.lang.String pobox) |
void |
setPostcode(java.lang.String postcode) |
void |
setRegion(java.lang.String region) |
void |
setStreet(java.lang.String street) |
cloneLanguageString, equals, getUpdated, getUpdatedBy, setUpdated, setUpdatedBy
addPropertyChangeListener, addPropertyChangeListener, addToSetWithChangeEvent, deproxy, deproxy, fireOnCreateEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCreated, getCreatedBy, getId, getUserFriendlyDescription, getUserFriendlyFieldName, getUserFriendlyTypeName, getUuid, hashCode, hasListeners, initListener, instanceToString, invokeSetMethod, invokeSetMethodWithNull, isBlank, isInstanceOf, isNotBlank, isPersited, removeFromSetWithChangeEvent, removePropertyChangeListener, removePropertyChangeListener, replaceInList, setCreated, setCreatedBy, setId, setNewEntityListener, setUuid, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getCreated, getCreatedBy, getId, getUuid, isInstanceOf, isPersited, setCreated, setCreatedBy, setId, setUuid
public static Address NewInstance()
public static Address NewInstance(Country country, java.lang.String locality, java.lang.String pobox, java.lang.String postcode, java.lang.String region, java.lang.String street, Point location)
public Country getCountry()
country
involved in this postal address.public void setCountry(Country country)
getCountry()
public Point getLocation()
location
(coordinates) of this postal address.
The location can be useful for instance to visualize the address on a map.Point
public void setLocation(Point location)
getLocation()
public java.lang.String getPobox()
public void setPobox(java.lang.String pobox)
getPobox()
public java.lang.String getStreet()
public void setStreet(java.lang.String street)
getStreet()
public java.lang.String getPostcode()
public void setPostcode(java.lang.String postcode)
getPostcode()
public java.lang.String getLocality()
public void setLocality(java.lang.String locality)
getLocality()
public java.lang.String getRegion()
public void setRegion(java.lang.String region)
getRegion()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class VersionableEntity
java.lang.CloneNotSupportedException
Object.clone()
Copyright © 2007-2020 EDIT. All Rights Reserved.