Class AddressableNamedEntity

java.lang.Object
com.atlassian.jira.rest.client.api.domain.AddressableNamedEntity
All Implemented Interfaces:
AddressableEntity, NamedEntity
Direct Known Subclasses:
BasicPriority, BasicUser, Filter, Group, IssuelinksType, Resolution, SecurityLevel, Status, StatusCategory

public class AddressableNamedEntity extends Object implements AddressableEntity, NamedEntity
Any resource which is addressable (has "self" URI) and has a name.
Since:
v0.1
  • Field Details

    • self

      protected final URI self
    • name

      protected final String name
  • Constructor Details

    • AddressableNamedEntity

      public AddressableNamedEntity(URI self, String name)
  • Method Details

    • getSelf

      public URI getSelf()
      Specified by:
      getSelf in interface AddressableEntity
      Returns:
      URI to this resource or (usually) its complete version - when partial representation is embedded in other resources
    • getName

      public String getName()
      Specified by:
      getName in interface NamedEntity
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getToStringHelper

      protected com.google.common.base.MoreObjects.ToStringHelper getToStringHelper()
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object