Class IpAddressData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityData<IpAddressDTO>
-
- org.cyclos.model.system.ipaddresses.IpAddressData
-
- All Implemented Interfaces:
Serializable
public class IpAddressData extends EntityData<IpAddressDTO>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<String,IpAddressData>COUNTRY_NAMEstatic BasicProperty<IpGeolocationResultDTO,IpAddressData>GEOLOCATION-
Fields inherited from class org.cyclos.model.EntityData
CAN_VIEW_HISTORY_LOG, CONFIRMATION_PASSWORD_INPUT, DTO, EDITABLE, LOG_TYPE, REMOVABLE, TRANSLATED_PROPERTY_TYPES, TRANSLATED_VALUES
-
-
Constructor Summary
Constructors Constructor Description IpAddressData()IpAddressData(Property<T,? super IpAddressData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()StringgetCountryName()IpGeolocationResultDTOgetGeolocation()voidsetCountryName(String countryName)voidsetGeolocation(IpGeolocationResultDTO geolocation)-
Methods inherited from class org.cyclos.model.EntityData
getConfirmationPasswordInput, getDto, getLogType, getTranslatedPropertyTypes, getTranslatedValues, isCanViewHistoryLog, isEditable, isRemovable, setCanViewHistoryLog, setConfirmationPasswordInput, setDto, setEditable, setLogType, setRemovable, setTranslatedPropertyTypes, setTranslatedValues
-
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
-
COUNTRY_NAME
public static final BasicProperty<String,IpAddressData> COUNTRY_NAME
-
GEOLOCATION
public static final BasicProperty<IpGeolocationResultDTO,IpAddressData> GEOLOCATION
-
-
Constructor Detail
-
IpAddressData
public IpAddressData()
-
IpAddressData
public IpAddressData(Property<T,? super IpAddressData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classEntityData<IpAddressDTO>
-
getCountryName
public String getCountryName()
-
setCountryName
public void setCountryName(String countryName)
-
getGeolocation
public IpGeolocationResultDTO getGeolocation()
-
setGeolocation
public void setGeolocation(IpGeolocationResultDTO geolocation)
-
-