Class SegmentsKey

  • All Implemented Interfaces:
    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<Segments>

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

      • SegmentsKey

        public SegmentsKey​(@NonNull SegmentId _segmentId)
      • SegmentsKey

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

      • getSegmentId

        public @NonNull SegmentId getSegmentId()
      • hashCode

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

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

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