java.lang.Object
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.odl.bgp._default.policy.rev200120.role.set.RoleSetKey
All Implemented Interfaces:
Serializable, org.opendaylight.yangtools.binding.Key<RoleSet>, org.opendaylight.yangtools.concepts.Identifier, org.opendaylight.yangtools.concepts.Immutable

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

    • RoleSetKey

      public RoleSetKey(@NonNull String _roleSetName)
      Constructs an instance.
      Parameters:
      _roleSetName - the entity roleSetName
      Throws:
      NullPointerException - if any of the arguments are null
    • RoleSetKey

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

    • getRoleSetName

      public @NonNull String getRoleSetName()
      Return roleSetName, guaranteed to be non-null.
      Returns:
      String roleSetName, 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