Package org.cyclos.entities.users
Class Address
- java.lang.Object
-
- org.cyclos.entities.SimpleEntity
-
- org.cyclos.entities.NetworkedEntity
-
- org.cyclos.entities.BaseEntity
-
- org.cyclos.entities.users.Address
-
- All Implemented Interfaces:
Cloneable,HasNetwork,ProcessableForProxying,IEntity,IAddress
- Direct Known Subclasses:
GeoLocatedAddress,OrderAddress
@Entity public abstract class Address extends BaseEntity implements IAddress
Represents an address, containing postal information
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.cyclos.entities.SimpleEntity
SimpleEntity.EntityLoadNotifier
-
-
Constructor Summary
Constructors Constructor Description Address()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringgetAddressLine1()StringgetAddressLine2()StringgetBuildingNumber()StringgetCity()StringgetComplement()StringgetCountry()abstract AddressNaturegetNature()StringgetNeighborhood()StringgetPoBox()StringgetRegion()StringgetStreet()StringgetZip()voidsetAddressLine1(String addressLine1)voidsetAddressLine2(String addressLine2)voidsetBuildingNumber(String buildingNumber)voidsetCity(String city)voidsetComplement(String complement)voidsetCountry(String country)voidsetNeighborhood(String neighborhood)voidsetPoBox(String poBox)voidsetRegion(String region)voidsetStreet(String street)voidsetZip(String zip)-
Methods inherited from class org.cyclos.entities.BaseEntity
getDataTranslationType, getVersion
-
Methods inherited from class org.cyclos.entities.NetworkedEntity
isGlobal
-
Methods inherited from class org.cyclos.entities.SimpleEntity
equals, getId, hashCode, id, ids, isPersistent, isTransient, register, setId, toShortString, toString, uniqueIds, uniqueIds
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.entities.HasNetwork
getNetwork
-
Methods inherited from interface org.cyclos.entities.ProcessableForProxying
getProxyClass
-
-
-
-
Method Detail
-
getAddressLine1
public String getAddressLine1()
- Specified by:
getAddressLine1in interfaceIAddress
-
getAddressLine2
public String getAddressLine2()
- Specified by:
getAddressLine2in interfaceIAddress
-
getBuildingNumber
public String getBuildingNumber()
- Specified by:
getBuildingNumberin interfaceIAddress
-
getComplement
public String getComplement()
- Specified by:
getComplementin interfaceIAddress
-
getCountry
public String getCountry()
- Specified by:
getCountryin interfaceIAddress
-
getNature
public abstract AddressNature getNature()
-
getNeighborhood
public String getNeighborhood()
- Specified by:
getNeighborhoodin interfaceIAddress
-
setAddressLine1
public void setAddressLine1(String addressLine1)
- Specified by:
setAddressLine1in interfaceIAddress
-
setAddressLine2
public void setAddressLine2(String addressLine2)
- Specified by:
setAddressLine2in interfaceIAddress
-
setBuildingNumber
public void setBuildingNumber(String buildingNumber)
- Specified by:
setBuildingNumberin interfaceIAddress
-
setComplement
public void setComplement(String complement)
- Specified by:
setComplementin interfaceIAddress
-
setCountry
public void setCountry(String country)
- Specified by:
setCountryin interfaceIAddress
-
setNeighborhood
public void setNeighborhood(String neighborhood)
- Specified by:
setNeighborhoodin interfaceIAddress
-
-