Class InternalTunnelKey

  • All Implemented Interfaces:
    java.io.Serializable, org.opendaylight.yangtools.concepts.Identifier, org.opendaylight.yangtools.concepts.Immutable, org.opendaylight.yangtools.concepts.MutationBehaviour<org.opendaylight.yangtools.concepts.Immutable>, org.opendaylight.yangtools.yang.binding.Identifier<InternalTunnel>

    @Generated("mdsal-binding-generator")
    public class InternalTunnelKey
    extends java.lang.Object
    implements org.opendaylight.yangtools.yang.binding.Identifier<InternalTunnel>
    See Also:
    Serialized Form
    • Constructor Detail

      • InternalTunnelKey

        public InternalTunnelKey​(@NonNull org.opendaylight.yangtools.yang.common.Uint64 _destinationDPN,
                                 @NonNull org.opendaylight.yangtools.yang.common.Uint64 _sourceDPN,
                                 @NonNull java.lang.Class<? extends TunnelTypeBase> _transportType)
      • InternalTunnelKey

        @Deprecated(forRemoval=true)
        public InternalTunnelKey​(java.math.BigInteger _destinationDPN,
                                 java.math.BigInteger _sourceDPN,
                                 java.lang.Class<? extends TunnelTypeBase> _transportType)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Utility migration constructor.
        Parameters:
        _destinationDPN - destinationDPN in legacy Java type
        _sourceDPN - sourceDPN in legacy Java type
        _transportType - transportType
      • InternalTunnelKey

        public InternalTunnelKey​(InternalTunnelKey source)
        Creates a copy from Source Object.
        Parameters:
        source - Source object
    • Method Detail

      • getSourceDPN

        public @NonNull org.opendaylight.yangtools.yang.common.Uint64 getSourceDPN()
      • getDestinationDPN

        public @NonNull org.opendaylight.yangtools.yang.common.Uint64 getDestinationDPN()
      • getTransportType

        public @NonNull java.lang.Class<? extends TunnelTypeBase> getTransportType()
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface org.opendaylight.yangtools.concepts.Identifier
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public final boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface org.opendaylight.yangtools.concepts.Identifier
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface org.opendaylight.yangtools.concepts.Identifier
        Overrides:
        toString in class java.lang.Object