@Embeddable public class OnmsGeolocation extends Object implements Serializable
Constructor and Description |
---|
OnmsGeolocation() |
Modifier and Type | Method and Description |
---|---|
String |
asAddressString() |
String |
getAddress1()
--# address1 : Address of geographical location of asset, line 1.
|
String |
getAddress2()
--# address2 : Address of geographical location of asset, line 2.
|
String |
getCity()
--# city : The city where this asset resides.
|
String |
getCountry()
--# country : The country where this asset resides.
|
Double |
getLatitude()
The latitude coordinate of this node.
|
Double |
getLongitude()
The longitude coordinate of this node.
|
String |
getState()
--# state : The state where this asset resides.
|
String |
getZip()
--# zip : The zip code where this asset resides.
|
void |
mergeGeolocation(OnmsGeolocation mergeWith) |
void |
setAddress1(String address1)
setAddress1
|
void |
setAddress2(String address2)
setAddress2
|
void |
setCity(String city)
setCity
|
void |
setCountry(String country)
setCountry
|
void |
setLatitude(Double latitude) |
void |
setLongitude(Double longitude) |
void |
setState(String state)
setState
|
void |
setZip(String zip)
setZip
|
String |
toString() |
public String getAddress1()
String
object.public void setAddress1(String address1)
setAddress1
address1
- a String
object.public String getAddress2()
String
object.public void setAddress2(String address2)
setAddress2
address2
- a String
object.public String getCity()
String
object.public String getState()
String
object.public String getZip()
String
object.public String getCountry()
String
object.public Double getLongitude()
public void setLongitude(Double longitude)
public Double getLatitude()
public void setLatitude(Double latitude)
public String asAddressString()
public void mergeGeolocation(OnmsGeolocation mergeWith)
Copyright © 2021. All rights reserved.