Class MappingsKey

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

    public class MappingsKey
    extends Object
    implements org.opendaylight.yangtools.yang.binding.Identifier<Mappings>
    See Also:
    Serialized Form
    • Constructor Detail

      • MappingsKey

        public MappingsKey​(org.opendaylight.yangtools.yang.common.Uint32 _mappingsKey)
      • MappingsKey

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

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

      • getMappingsKey

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