Package org.cyclos.model.users.addresses
Class AddressVO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityVO
-
- org.cyclos.model.users.addresses.AddressVO
-
- All Implemented Interfaces:
Serializable,IEntity,IAddress
- Direct Known Subclasses:
GeoLocatedAddressVO
public class AddressVO extends EntityVO implements IAddress
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<String,AddressVO>ADDRESS_LINE_1static BasicProperty<String,AddressVO>ADDRESS_LINE_2static BasicProperty<String,AddressVO>BUILDING_NUMBERstatic BasicProperty<String,AddressVO>CITYstatic StringCLASS_NAMEstatic BasicProperty<String,AddressVO>COMPLEMENTstatic BasicProperty<String,AddressVO>COUNTRYstatic BasicProperty<String,AddressVO>NEIGHBORHOODstatic BasicProperty<String,AddressVO>PO_BOXstatic BasicProperty<String,AddressVO>REGIONstatic BasicProperty<String,AddressVO>STREETstatic BasicProperty<String,AddressVO>ZIP-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()StringgetAddressLine1()StringgetAddressLine2()StringgetBuildingNumber()StringgetCity()StringgetComplement()StringgetCountry()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)StringtoString()-
Methods inherited from class org.cyclos.model.EntityModel
getId, setId
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
ADDRESS_LINE_1
public static final BasicProperty<String,AddressVO> ADDRESS_LINE_1
-
ADDRESS_LINE_2
public static final BasicProperty<String,AddressVO> ADDRESS_LINE_2
-
BUILDING_NUMBER
public static final BasicProperty<String,AddressVO> BUILDING_NUMBER
-
CITY
public static final BasicProperty<String,AddressVO> CITY
-
COMPLEMENT
public static final BasicProperty<String,AddressVO> COMPLEMENT
-
COUNTRY
public static final BasicProperty<String,AddressVO> COUNTRY
-
NEIGHBORHOOD
public static final BasicProperty<String,AddressVO> NEIGHBORHOOD
-
PO_BOX
public static final BasicProperty<String,AddressVO> PO_BOX
-
REGION
public static final BasicProperty<String,AddressVO> REGION
-
STREET
public static final BasicProperty<String,AddressVO> STREET
-
ZIP
public static final BasicProperty<String,AddressVO> ZIP
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityModel
-
getAddressLine1
public String getAddressLine1()
- Specified by:
getAddressLine1in interfaceIAddress
-
setAddressLine1
public void setAddressLine1(String addressLine1)
- Specified by:
setAddressLine1in interfaceIAddress
-
getAddressLine2
public String getAddressLine2()
- Specified by:
getAddressLine2in interfaceIAddress
-
setAddressLine2
public void setAddressLine2(String addressLine2)
- Specified by:
setAddressLine2in interfaceIAddress
-
getBuildingNumber
public String getBuildingNumber()
- Specified by:
getBuildingNumberin interfaceIAddress
-
setBuildingNumber
public void setBuildingNumber(String buildingNumber)
- Specified by:
setBuildingNumberin interfaceIAddress
-
getComplement
public String getComplement()
- Specified by:
getComplementin interfaceIAddress
-
setComplement
public void setComplement(String complement)
- Specified by:
setComplementin interfaceIAddress
-
getCountry
public String getCountry()
- Specified by:
getCountryin interfaceIAddress
-
setCountry
public void setCountry(String country)
- Specified by:
setCountryin interfaceIAddress
-
getNeighborhood
public String getNeighborhood()
- Specified by:
getNeighborhoodin interfaceIAddress
-
setNeighborhood
public void setNeighborhood(String neighborhood)
- Specified by:
setNeighborhoodin interfaceIAddress
-
toString
public String toString()
- Overrides:
toStringin classEntityModel
-
-