Class ListItemKey

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

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

      • ListItemKey

        public ListItemKey​(org.opendaylight.yangtools.yang.common.Uint32 _op,
                           String _sip)
      • ListItemKey

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

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

      • getSip

        public String getSip()
      • getOp

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