java.lang.Object
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.md.sal.test.listener.rev150825.listener.test.ListItemKey
All Implemented Interfaces:
Serializable, org.opendaylight.yangtools.concepts.Identifier, org.opendaylight.yangtools.concepts.Immutable, org.opendaylight.yangtools.yang.binding.Key<ListItem>

@Generated("mdsal-binding-generator") public class ListItemKey extends Object implements org.opendaylight.yangtools.yang.binding.Key<ListItem>
This class represents the key of ListItem class.
See Also:
  • Constructor Details

    • ListItemKey

      public ListItemKey(@NonNull org.opendaylight.yangtools.yang.common.Uint32 _op, @NonNull String _sip)
      Constructs an instance.
      Parameters:
      _op - the entity op
      _sip - the entity sip
      Throws:
      NullPointerException - if any of the arguments are null
    • ListItemKey

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

    • getSip

      public @NonNull String getSip()
      Return sip, guaranteed to be non-null.
      Returns:
      String sip, guaranteed to be non-null.
    • getOp

      public @NonNull org.opendaylight.yangtools.yang.common.Uint32 getOp()
      Return op, guaranteed to be non-null.
      Returns:
      Uint32 op, guaranteed to be non-null.
    • 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