public class LinkDescriptor extends Object implements ILinkDescriptor
Copyright (c) SAP AG 2003-2005
| Modifier and Type | Field and Description |
|---|---|
static ILinkDescriptor |
TYPE_NONE
Default link descriptor for resources not being a link (should be used for
performance reasons).
|
| Constructor and Description |
|---|
LinkDescriptor(LinkType linkType)
Construct object of class LinkDescriptor.
|
LinkDescriptor(LinkType linkType,
IRid targetRid)
Construct object of class LinkDescriptor.
|
LinkDescriptor(LinkType linkType,
IUriReference targetUri)
Construct object of class LinkDescriptor.
|
| Modifier and Type | Method and Description |
|---|---|
LinkType |
getLinkType()
Get
LinkType of the link. |
IRid |
getTargetRid()
Get target
Rid of the link. |
IUriReference |
getTargetUri()
Get target
IUriReference of the link. |
public static final ILinkDescriptor TYPE_NONE
public LinkDescriptor(LinkType linkType)
linkType - LinkType of the linkpublic LinkDescriptor(LinkType linkType, IRid targetRid)
public LinkDescriptor(LinkType linkType, IUriReference targetUri)
linkType - LinkType of the linktargetUri - target IUriReference of the linkpublic LinkType getLinkType()
ILinkDescriptorLinkType of the link.getLinkType in interface ILinkDescriptorpublic IRid getTargetRid()
ILinkDescriptorgetTargetRid in interface ILinkDescriptorRid or null whether this link type points to targets of
another typepublic IUriReference getTargetUri()
ILinkDescriptorIUriReference of the link. If the target is referenced by a
IUriReference depends on the link type.getTargetUri in interface ILinkDescriptorIUriReference or null whether this link type points to targets of
another type| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice