Class ExtrarouteRdsKey

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

    public class ExtrarouteRdsKey
    extends java.lang.Object
    implements org.opendaylight.yangtools.yang.binding.Identifier<ExtrarouteRds>
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ExtrarouteRdsKey​(java.lang.Long _vpnid)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Use {#link ExtrarouteRdsKey(Uint32)} instead.
      ExtrarouteRdsKey​(ExtrarouteRdsKey source)
      Creates a copy from Source Object.
      ExtrarouteRdsKey​(org.opendaylight.yangtools.yang.common.Uint32 _vpnid)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      org.opendaylight.yangtools.yang.common.Uint32 getVpnid()  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ExtrarouteRdsKey

        public ExtrarouteRdsKey​(org.opendaylight.yangtools.yang.common.Uint32 _vpnid)
      • ExtrarouteRdsKey

        @Deprecated(forRemoval=true)
        public ExtrarouteRdsKey​(java.lang.Long _vpnid)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Use {#link ExtrarouteRdsKey(Uint32)} instead.
        Utility migration constructor.
        Parameters:
        _vpnid - vpnid in legacy Java type
      • ExtrarouteRdsKey

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

      • getVpnid

        public org.opendaylight.yangtools.yang.common.Uint32 getVpnid()
      • 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