Package org.cyclos.model.utils
Class IpGeolocationResultDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.utils.IpGeolocationResultDTO
-
- All Implemented Interfaces:
Serializable
public class IpGeolocationResultDTO extends Bean
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<String,IpGeolocationResultDTO>CITYstatic StringCLASS_NAMEstatic BasicProperty<String,IpGeolocationResultDTO>COUNTRYstatic BasicProperty<LatLongDTO,IpGeolocationResultDTO>LOCATIONstatic BasicProperty<String,IpGeolocationResultDTO>REGION
-
Constructor Summary
Constructors Constructor Description IpGeolocationResultDTO()IpGeolocationResultDTO(Property<T,? super IpGeolocationResultDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()StringgetCity()StringgetCountry()LatLongDTOgetLocation()StringgetRegion()voidsetCity(String city)voidsetCountry(String country)voidsetLocation(LatLongDTO location)voidsetRegion(String region)-
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
-
CITY
public static final BasicProperty<String,IpGeolocationResultDTO> CITY
-
COUNTRY
public static final BasicProperty<String,IpGeolocationResultDTO> COUNTRY
-
LOCATION
public static final BasicProperty<LatLongDTO,IpGeolocationResultDTO> LOCATION
-
REGION
public static final BasicProperty<String,IpGeolocationResultDTO> REGION
-
-
Constructor Detail
-
IpGeolocationResultDTO
public IpGeolocationResultDTO()
-
IpGeolocationResultDTO
public IpGeolocationResultDTO(Property<T,? super IpGeolocationResultDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBean
-
getCity
public String getCity()
-
setCity
public void setCity(String city)
-
getCountry
public String getCountry()
-
setCountry
public void setCountry(String country)
-
getLocation
public LatLongDTO getLocation()
-
setLocation
public void setLocation(LatLongDTO location)
-
getRegion
public String getRegion()
-
setRegion
public void setRegion(String region)
-
-