Class TableKey

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

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

      • TableKey

        public TableKey​(@NonNull org.opendaylight.yangtools.yang.common.Uint8 _id)
      • TableKey

        @Deprecated(forRemoval=true)
        public TableKey​(Short _id)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Use TableKey(Uint8) instead.
        Utility migration constructor.
        Parameters:
        _id - id in legacy Java type
      • TableKey

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

      • getId

        public @NonNull org.opendaylight.yangtools.yang.common.Uint8 getId()
      • 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