public interface GeoCoordinates extends ChildOf<LispAddress>, Augmentable<GeoCoordinates>
This class represents the following YANG schema fragment defined in module ietf-lisp-address-types
container geo-coordinates {
when "../address-type = 'laddr:geo-coordinates-lcaf'" {
}
leaf latitude {
type bits {
bit N {
}
}
}
leaf latitude-degrees {
type uint8 {
range "0 .. 90";
}
}
leaf latitude-minutes {
type uint8 {
range 0..59;
}
}
leaf latitude-seconds {
type uint8 {
range 0..59;
}
}
leaf longitude {
type bits {
bit E {
}
}
}
leaf longitude-degrees {
type uint16 {
range "0 .. 180";
}
}
leaf longitude-minutes {
type uint8 {
range 0..59;
}
}
leaf longitude-seconds {
type uint8 {
range 0..59;
}
}
leaf altitude {
type int32;
}
leaf address {
type simple-address;
}
}
The schema path to identify an instance is
ietf-lisp-address-types/lisp-address/address/geo-coordinates/geo-coordinates
To create instances of this class use GeoCoordinatesBuilder.
GeoCoordinatesBuilder| Modifier and Type | Interface and Description |
|---|---|
static class |
GeoCoordinates.Latitude |
static class |
GeoCoordinates.Longitude |
| Modifier and Type | Field and Description |
|---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
| Modifier and Type | Method and Description |
|---|---|
@Nullable SimpleAddress |
getAddress()
AFI address.
|
@Nullable Integer |
getAltitude()
Height relative to sea level in meters.
|
@Nullable GeoCoordinates.Latitude |
getLatitude()
Bit that selects between North and South latitude.
|
@Nullable Short |
getLatitudeDegrees()
Degrees of latitude.
|
@Nullable Short |
getLatitudeMinutes()
Minutes of latitude.
|
@Nullable Short |
getLatitudeSeconds()
Seconds of latitude.
|
@Nullable GeoCoordinates.Longitude |
getLongitude()
Bit that selects between East and West longitude.
|
@Nullable Integer |
getLongitudeDegrees()
Degrees of longitude.
|
@Nullable Short |
getLongitudeMinutes()
Minutes of longitude.
|
@Nullable Short |
getLongitudeSeconds()
Seconds of longitude.
|
getImplementedInterfaceaugmentation@Nullable GeoCoordinates.Latitude getLatitude()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.lisp.address.address.geo.coordinates.GeoCoordinates.Latitude latitude, or null if not present@Nullable Short getLatitudeDegrees()
java.lang.Short latitudeDegrees, or null if not present@Nullable Short getLatitudeMinutes()
java.lang.Short latitudeMinutes, or null if not present@Nullable Short getLatitudeSeconds()
java.lang.Short latitudeSeconds, or null if not present@Nullable GeoCoordinates.Longitude getLongitude()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.lisp.address.address.geo.coordinates.GeoCoordinates.Longitude longitude, or null if not present@Nullable Integer getLongitudeDegrees()
java.lang.Integer longitudeDegrees, or null if not present@Nullable Short getLongitudeMinutes()
java.lang.Short longitudeMinutes, or null if not present@Nullable Short getLongitudeSeconds()
java.lang.Short longitudeSeconds, or null if not present@Nullable Integer getAltitude()
java.lang.Integer altitude, or null if not present@Nullable SimpleAddress getAddress()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.SimpleAddress address, or null if not presentCopyright © 2019 OpenDaylight. All rights reserved.