Class ExternalTunnelKey

  • 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<ExternalTunnel>

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

      • ExternalTunnelKey

        public ExternalTunnelKey​(@NonNull java.lang.String _destinationDevice,
                                 @NonNull java.lang.String _sourceDevice,
                                 @NonNull java.lang.Class<? extends TunnelTypeBase> _transportType)
      • ExternalTunnelKey

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

      • getSourceDevice

        public @NonNull java.lang.String getSourceDevice()
      • getDestinationDevice

        public @NonNull java.lang.String getDestinationDevice()
      • 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