com.atlassian.jira.bc.project.version.remotelink
Class RemoteVersionLinkImpl
java.lang.Object
com.atlassian.jira.entity.remotelink.RemoteEntityLinkImpl<Version>
com.atlassian.jira.bc.project.version.remotelink.RemoteVersionLinkImpl
- All Implemented Interfaces:
- RemoteVersionLink, RemoteEntityLink<Version>
public class RemoteVersionLinkImpl
- extends RemoteEntityLinkImpl<Version>
- implements RemoteVersionLink
- Since:
- v6.1
Fields inherited from class com.atlassian.jira.entity.remotelink.RemoteEntityLinkImpl |
APPLICATION, APPLICATION_NAME, APPLICATION_TYPE, globalId, jsonRef, OBJECT, OBJECT_ICON, OBJECT_ICON_TITLE, OBJECT_ICON_URL, OBJECT_SUMMARY, OBJECT_TITLE, OBJECT_URL |
RemoteVersionLinkImpl
public RemoteVersionLinkImpl(@Nonnull
Version version,
@Nonnull
String globalId,
@Nonnull
String json)
getEntity
public Version getEntity()
- Description copied from interface:
RemoteEntityLink
- Returns the local entity to which the remote entity link is associated. For example, if this is a
RemoteVersionLink
, then
this will return a Version
.
- Specified by:
getEntity
in interface RemoteEntityLink<Version>
- Returns:
- the local entity to which the remote entity link is associated.
getEntityId
@Nonnull
public Long getEntityId()
- Description copied from interface:
RemoteEntityLink
- Returns the entity ID for the local entity to which the remote entity link is associated. For example,
if this is a
RemoteVersionLink
,
then this will be a version ID
.
- Specified by:
getEntityId
in interface RemoteEntityLink<Version>
- Returns:
- the entity ID for the local entity to which the remote entity link is associated.
equals
public boolean equals(Object o)
- Specified by:
equals
in class RemoteEntityLinkImpl<Version>
hashCode
public int hashCode()
- Specified by:
hashCode
in class RemoteEntityLinkImpl<Version>
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2014 Atlassian. All Rights Reserved.