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()
ILinkDescriptor
LinkType
of the link.getLinkType
in interface ILinkDescriptor
public IRid getTargetRid()
ILinkDescriptor
getTargetRid
in interface ILinkDescriptor
Rid
or null
whether this link type points to targets of
another typepublic IUriReference getTargetUri()
ILinkDescriptor
IUriReference
of the link. If the target is referenced by a
IUriReference
depends on the link type.getTargetUri
in interface ILinkDescriptor
IUriReference
or null
whether this link type points to targets of
another typeAccess 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 2018 SAP AG Complete Copyright Notice