Class BasicComponent

java.lang.Object
com.atlassian.jira.rest.client.api.domain.BasicComponent
All Implemented Interfaces:
AddressableEntity, NamedEntity
Direct Known Subclasses:
Component

public class BasicComponent extends Object implements AddressableEntity, NamedEntity
Basic information about a project component
Since:
v0.1
  • Constructor Details

    • BasicComponent

      public BasicComponent(URI self, @Nullable Long id, String name, @Nullable String description)
  • 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
    • getId

      @Nullable public Long getId()
    • getDescription

      @Nullable public String getDescription()
      Returns:
      optional description for this project (as defined by the project admin)
    • toString

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

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

      public int hashCode()
      Overrides:
      hashCode in class Object