public final class ExternalLink
extends java.lang.Object
ExternalLink
objects
accessible from the SpecObject
.
Alternatively, you can get a collection of SpecObjectReference
objects that refer to SpecObject
objects that have at least one ExternalLink
For more information see ExternalLinks
.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDesc()
Returns the description of the external link as represented by the
@DESC attribute value which is an optional attribute. |
ExternalLinkDirection |
getDirection()
Returns the link direction of the external link.
|
java.lang.String |
getLinkTechnology()
Returns the link technology of the external link.
|
java.lang.String |
getLinkType()
Returns the link type of the external link.
|
java.lang.String |
getLongName()
Returns the name of the link represented by the
@LONG-NAME attribute value which is a mandatory attribute. |
java.lang.String |
getURI()
Returns the identifier of the external item e.g., the URI of a JIRA issue
|
void |
setDesc(java.lang.String desc)
Sets the description of the link.
|
void |
setLinkDirection(ExternalLinkDirection direction)
Sets the link direction
|
void |
setLinkTechnology(java.lang.String linkTechnology)
Sets the link type.
|
void |
setLinkType(java.lang.String linkType)
Sets the link type.
|
void |
setLongName(java.lang.String longName)
Sets the name of the link.
|
void |
setURI(java.lang.String uri)
Sets the identifier of the external link.
|
public java.lang.String getLongName()
@LONG-NAME
attribute value which is a mandatory attribute.String
value of the @LONG-NAME
attribute, not nullpublic void setLongName(java.lang.String longName) throws InvalidValueException
longName
- the value to set as the name of the link, not null and not emptyInvalidValueException
- if the specified value is null or emptypublic java.lang.String getURI()
String
identifier of the external item, not nullpublic void setURI(java.lang.String uri) throws InvalidValueException
uri
- the String
identifier, not null and not emptyInvalidValueException
- if the specified value is null or emptypublic java.lang.String getDesc()
@DESC
attribute value which is an optional attribute.String
value of the @DESC
attribute, can be nullpublic void setDesc(java.lang.String desc)
desc
- the value to set as the description of the link, can be nullpublic java.lang.String getLinkType()
String
value, can be nullpublic void setLinkType(java.lang.String linkType)
linkType
- the value to set as the link type, can be nullpublic java.lang.String getLinkTechnology()
Currently only "OSLC" is supported.
String
value, can be nullpublic void setLinkTechnology(java.lang.String linkTechnology)
Currently only "OSLC" is supported.
linkTechnology
- the value to set as the link type, can be nullpublic ExternalLinkDirection getDirection()
ExternalLinkDirection
enumeration, not nullpublic void setLinkDirection(ExternalLinkDirection direction)
direction
- the value to set as the link direction, can be null