public interface IProjectLink extends IProjectLinkHandle, IProcessItem
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ICON_URL_PROPERTY_ID
Id of the iconUrl property.
|
static IItemType |
ITEM_TYPE
The Project area link item type.
|
static java.lang.String |
LABEL_PROPERTY_ID
Id of the label property.
|
static java.lang.String |
LINK_TYPE_PROPERTY_ID
Id of the linkType property.
|
static java.lang.String |
PROJECT_AREA_PROPERTY_ID
Id of the projectArea property.
|
static java.lang.String |
TARGET_URL_PROPERTY_ID
Id of the targetUrl property.
|
DESCRIPTION_DETAILS_PROPERTY_ID, DESCRIPTION_SUMMARY_PROPERTY_ID, DEVELOPMENT_LINE, ITERATION, ITERATION_TYPE, NAME_PROPERTY_ID, PROCESS_ATTACHMENT, PROCESS_DEFINITION, PROCESS_DOMAIN_DEFINITION, PROJECT_AREA, PROJECT_LINK, READ_ACCESS_LIST, TEAM_AREA
MERGE_PREDECESSOR_STATE_PROPERTY, PREDECESSOR_STATE_PROPERTY
CONTEXT_ID_PROPERTY, ITEM_ID_PROPERTY, MAX_LARGE_STRING_BYTES, MAX_MEDIUM_STRING_BYTES, MAX_SMALL_STRING_BYTES, MODIFIED_BY_PROPERTY, MODIFIED_PROPERTY, STATE_ID_PROPERTY
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLabel()
Get the link's label.
|
java.lang.String |
getLinkType()
Get the link type.
|
IProjectAreaHandle |
getProjectArea()
Returns the project area which contains this link or
null
if no project area has been set. |
java.lang.String |
getTargetConsumerRegistryUrl()
Get the link target's consumer registry url.
|
java.lang.String |
getTargetServicesUrl()
Get the link target's service description url.
|
java.lang.String |
getTargetUrl()
Get the link target url.
|
void |
setLabel(java.lang.String label)
Set the link's label.
|
void |
setLinkType(java.lang.String linkType)
Set the link type.
|
void |
setProjectArea(IProjectAreaHandle projectArea)
Sets this link's project area.
|
void |
setTargetConsumerRegistryUrl(java.lang.String url)
Set the link target's consumer registry url.
|
void |
setTargetServicesUrl(java.lang.String url)
Set the link target's service description url.
|
void |
setTargetUrl(java.lang.String targetUrl)
Set the link target url.
|
getProcessItemType, getPropertyName
getDescription, getName, setName
getMergePredecessorState, getPredecessorState
isNewItem
getContextId, getItemHandle, getModifiedBy, getRedactedCopy, getRequestedModified, getRequestedStateId, getStateHandle, getWorkingCopy, hasHistory, isComplete, isPropertySet, isRedactedCopy, isWorkingCopy, modified, setContextId, setRequestedModified, setRequestedStateId
equals, getAdapter, getFullState, getItemId, getItemType, getOrigin, getStateId, hasFullState, hasStateId, isAuditable, isConfigurationAware, isImmutable, isSimple, isUnmanaged, makeImmutable, protect, sameItemId, sameStateId, size
static final IItemType ITEM_TYPE
static final java.lang.String LABEL_PROPERTY_ID
static final java.lang.String TARGET_URL_PROPERTY_ID
static final java.lang.String ICON_URL_PROPERTY_ID
static final java.lang.String LINK_TYPE_PROPERTY_ID
static final java.lang.String PROJECT_AREA_PROPERTY_ID
java.lang.String getLabel()
java.lang.String getTargetUrl()
java.lang.String getTargetServicesUrl()
java.lang.String getTargetConsumerRegistryUrl()
java.lang.String getLinkType()
void setLabel(java.lang.String label)
label
- the link labelvoid setTargetUrl(java.lang.String targetUrl)
targetUrl
- the target urlvoid setTargetServicesUrl(java.lang.String url)
url
- the target's service description urlvoid setTargetConsumerRegistryUrl(java.lang.String url)
url
- the target's consumer registry urlvoid setLinkType(java.lang.String linkType)
linkType
- the link typeIProjectAreaHandle getProjectArea()
null
if no project area has been set.
In order for this item to be saved to the repository this field must have
a non-null value, so it is safe to assume that this method will not
return null if it is an immutable copy fetched from the repository. It is
possible for an incomplete/invalid working copy, however, to return
null
.
void setProjectArea(IProjectAreaHandle projectArea)
projectArea
- the handle of the project area