Class BgpTableTypeImpl
java.lang.Object
org.opendaylight.protocol.bgp.parser.BgpTableTypeImpl
- All Implemented Interfaces:
BgpTableType
,org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
Utility class identifying a BGP table type. A table type is formed by two identifiers: AFI and SAFI.
-
Field Summary
Fields inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.multiprotocol.rev180329.BgpTableType
QNAME
-
Constructor Summary
ConstructorDescriptionBgpTableTypeImpl
(AddressFamily afi, SubsequentAddressFamily safi) Creates BGP Table type. -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.multiprotocol.rev180329.BgpTableType
requireAfi, requireSafi
-
Constructor Details
-
BgpTableTypeImpl
Creates BGP Table type.- Parameters:
afi
- Address Family Identifiersafi
- Subsequent Address Family Identifier
-
-
Method Details
-
implementedInterface
- Specified by:
implementedInterface
in interfaceBgpTableType
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
hashCode
public int hashCode() -
equals
-
toString
-
getAfi
Returns Address Family Identifier.- Specified by:
getAfi
in interfaceBgpTableType
- Returns:
- afi AFI
-
getSafi
Returns Subsequent Address Family Identifier.- Specified by:
getSafi
in interfaceBgpTableType
- Returns:
- safi SAFI
-