Class TablesKey
java.lang.Object
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.multiprotocol.rev180329.mp.capabilities.graceful.restart.capability.TablesKey
- All Implemented Interfaces:
Serializable,org.opendaylight.yangtools.concepts.Identifier,org.opendaylight.yangtools.concepts.Immutable,org.opendaylight.yangtools.yang.binding.Identifier<Tables>
@Generated("mdsal-binding-generator")
public class TablesKey
extends Object
implements org.opendaylight.yangtools.yang.binding.Identifier<Tables>
This class represents the key of
Tables class.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTablesKey(@NonNull AddressFamily _afi, @NonNull SubsequentAddressFamily _safi) Constructs an instance.Creates a copy from Source Object. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean@NonNull AddressFamilygetAfi()Return afi, guaranteed to be non-null.@NonNull SubsequentAddressFamilygetSafi()Return safi, guaranteed to be non-null.inthashCode()toString()
-
Constructor Details
-
TablesKey
Constructs an instance.- Parameters:
_afi- the entity afi_safi- the entity safi- Throws:
NullPointerException- if any of the arguments are null
-
TablesKey
Creates a copy from Source Object.- Parameters:
source- Source object
-
-
Method Details
-
getAfi
Return afi, guaranteed to be non-null.- Returns:
AddressFamilyafi, guaranteed to be non-null.
-
getSafi
Return safi, guaranteed to be non-null.- Returns:
SubsequentAddressFamilysafi, guaranteed to be non-null.
-
hashCode
public int hashCode() -
equals
-
toString
-