SAP NetWeaver '04

com.sap.netweaver.bc.rf.common.namespace
Class LinkDescriptor

[contained in: com.sap.netweaver.bc.rf.par - bc.rf.common_api.jar]
java.lang.Object
  |
  +--com.sap.netweaver.bc.rf.common.namespace.LinkDescriptor
All Implemented Interfaces:
ILinkDescriptor

public class LinkDescriptor
extends java.lang.Object
implements ILinkDescriptor

Class implementing a link descriptor.


Field Summary
static ILinkDescriptor TYPE_NONE
          Default link descriptor for resources not being a link (should be used for performance reasons).
 
Constructor Summary
LinkDescriptor(LinkType linkType)
          Construct object of class LinkDescriptor.
LinkDescriptor(LinkType linkType, IAbsoluteUri targetUri)
          Construct object of class LinkDescriptor.
LinkDescriptor(LinkType linkType, IRid targetRid)
          Construct object of class LinkDescriptor.
 
Method Summary
 LinkType getLinkType()
          Get LinkType of the link.
 IRid getTargetRid()
          Get target IRid of the link.
 IAbsoluteUri getTargetUri()
          Get target IUri of the link.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_NONE

public static final ILinkDescriptor TYPE_NONE
Default link descriptor for resources not being a link (should be used for performance reasons).
Constructor Detail

LinkDescriptor

public LinkDescriptor(LinkType linkType)
Construct object of class LinkDescriptor.
Parameters:
linkType - LinkType of the link

LinkDescriptor

public LinkDescriptor(LinkType linkType,
                      IRid targetRid)
Construct object of class LinkDescriptor.
Parameters:
linkType - LinkType of the link
targetRid - target IRid of the link

LinkDescriptor

public LinkDescriptor(LinkType linkType,
                      IAbsoluteUri targetUri)
Construct object of class LinkDescriptor.
Parameters:
linkType - LinkType of the link
targetUri - target IUri of the link
Method Detail

getLinkType

public LinkType getLinkType()
Get LinkType of the link.
Specified by:
getLinkType in interface ILinkDescriptor
Returns:
LinkType of the link

getTargetRid

public IRid getTargetRid()
Get target IRid of the link. If the target is referenced by a IRid depends on the link type.
Specified by:
getTargetRid in interface ILinkDescriptor
Returns:
target IRid or null if this link type points to targets of another type

getTargetUri

public IAbsoluteUri getTargetUri()
Get target IUri of the link. If the target is referenced by a IUri depends on the link type.
Specified by:
getTargetUri in interface ILinkDescriptor
Returns:
target IUri or null if this link type points to targets of another type

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.