java.lang.Object
org.opendaylight.yang.gen.v1.urn.opendaylight.serviceutils.srm.ops.rev180626.service.ops.ServicesKey
All Implemented Interfaces:
Serializable, org.opendaylight.yangtools.concepts.Identifier, org.opendaylight.yangtools.concepts.Immutable, org.opendaylight.yangtools.yang.binding.Identifier<Services>

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

    • ServicesKey

      public ServicesKey(@NonNull EntityNameBase _serviceName)
      Constructs an instance.
      Parameters:
      _serviceName - the entity serviceName
      Throws:
      NullPointerException - if any of the arguments are null
    • ServicesKey

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

    • getServiceName

      public @NonNull EntityNameBase getServiceName()
      Return serviceName, guaranteed to be non-null.
      Returns:
      EntityNameBase serviceName, 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