Interface GeoCoordinates
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<GeoCoordinates>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<LispAddress>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
public interface GeoCoordinates extends org.opendaylight.yangtools.yang.binding.ChildOf<LispAddress>, org.opendaylight.yangtools.yang.binding.Augmentable<GeoCoordinates>
Geo-coordinates LCAF type.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-coordinatesTo create instances of this class use
GeoCoordinatesBuilder
.- See Also:
GeoCoordinatesBuilder
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
GeoCoordinates.Latitude
static class
GeoCoordinates.Longitude
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SimpleAddress
getAddress()
AFI address.java.lang.Integer
getAltitude()
Height relative to sea level in meters.GeoCoordinates.Latitude
getLatitude()
Bit that selects between North and South latitude.org.opendaylight.yangtools.yang.common.Uint8
getLatitudeDegrees()
Degrees of latitude.org.opendaylight.yangtools.yang.common.Uint8
getLatitudeMinutes()
Minutes of latitude.org.opendaylight.yangtools.yang.common.Uint8
getLatitudeSeconds()
Seconds of latitude.GeoCoordinates.Longitude
getLongitude()
Bit that selects between East and West longitude.org.opendaylight.yangtools.yang.common.Uint16
getLongitudeDegrees()
Degrees of longitude.org.opendaylight.yangtools.yang.common.Uint8
getLongitudeMinutes()
Minutes of longitude.org.opendaylight.yangtools.yang.common.Uint8
getLongitudeSeconds()
Seconds of longitude.default java.lang.Class<GeoCoordinates>
implementedInterface()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<GeoCoordinates> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getLatitude
GeoCoordinates.Latitude getLatitude()
Bit that selects between North and South latitude.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.lisp.address.address.geo.coordinates.GeoCoordinates.Latitude
latitude
, ornull
if not present
-
getLatitudeDegrees
org.opendaylight.yangtools.yang.common.Uint8 getLatitudeDegrees()
Degrees of latitude.- Returns:
org.opendaylight.yangtools.yang.common.Uint8
latitudeDegrees
, ornull
if not present
-
getLatitudeMinutes
org.opendaylight.yangtools.yang.common.Uint8 getLatitudeMinutes()
Minutes of latitude.- Returns:
org.opendaylight.yangtools.yang.common.Uint8
latitudeMinutes
, ornull
if not present
-
getLatitudeSeconds
org.opendaylight.yangtools.yang.common.Uint8 getLatitudeSeconds()
Seconds of latitude.- Returns:
org.opendaylight.yangtools.yang.common.Uint8
latitudeSeconds
, ornull
if not present
-
getLongitude
GeoCoordinates.Longitude getLongitude()
Bit that selects between East and West longitude.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.lisp.address.address.geo.coordinates.GeoCoordinates.Longitude
longitude
, ornull
if not present
-
getLongitudeDegrees
org.opendaylight.yangtools.yang.common.Uint16 getLongitudeDegrees()
Degrees of longitude.- Returns:
org.opendaylight.yangtools.yang.common.Uint16
longitudeDegrees
, ornull
if not present
-
getLongitudeMinutes
org.opendaylight.yangtools.yang.common.Uint8 getLongitudeMinutes()
Minutes of longitude.- Returns:
org.opendaylight.yangtools.yang.common.Uint8
longitudeMinutes
, ornull
if not present
-
getLongitudeSeconds
org.opendaylight.yangtools.yang.common.Uint8 getLongitudeSeconds()
Seconds of longitude.- Returns:
org.opendaylight.yangtools.yang.common.Uint8
longitudeSeconds
, ornull
if not present
-
getAltitude
java.lang.Integer getAltitude()
Height relative to sea level in meters.- Returns:
java.lang.Integer
altitude
, ornull
if not present
-
getAddress
SimpleAddress getAddress()
AFI address.- Returns:
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.lisp.address.types.rev151105.SimpleAddress
address
, ornull
if not present
-
-