com.atlassian.jira.rest.client.domain
Class AddressableNamedEntity
java.lang.Object
com.atlassian.jira.rest.client.domain.AddressableNamedEntity
- All Implemented Interfaces:
- AddressableEntity
- Direct Known Subclasses:
- BasicPriority, BasicResolution, BasicStatus
public class AddressableNamedEntity
- extends Object
- implements AddressableEntity
Any resource which is addressable (has "self" URI) and has a name.
- Since:
- v0.1
self
protected final URI self
name
protected final String name
AddressableNamedEntity
public AddressableNamedEntity(URI self,
String name)
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()
toString
public String toString()
- Overrides:
toString
in class Object
getToStringHelper
protected com.google.common.base.Objects.ToStringHelper getToStringHelper()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2011 Atlassian Pty Ltd. All Rights Reserved.