Class ElanSegmentsKey

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

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

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

      • ElanSegmentsKey

        public ElanSegmentsKey​(org.opendaylight.yangtools.yang.common.Uint32 _segmentationIndex)
      • ElanSegmentsKey

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

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

      • getSegmentationIndex

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