SAP NetWeaver '04

com.sapportals.wcm.service.relation
Interface IOrderedRelationPosition

[contained in: com.sap.netweaver.bc.rf.service.par - bc.rf.global.service.relation_api.jar]
All Known Implementing Classes:
OrderedRelationPosition

public interface IOrderedRelationPosition

An ordering position for relations.
Let's assume the relations R1 and R2 belong to the same relation type T and they both have the same source operand S . Furthermore R1 has T1 as target operand while R2 has T2 as target operand. To express that relation R2 should be before R2 (with respect to their common type and source operand), the OrderedRelationPosition for R2 would look like getPosition()=OrderPosition.BEFORE and getRelativeRelationID()="R1" , while the OrderedRelationPosition for R1 would look like getPosition()=OrderPosition.AFTER and getRelativeRelationID()="R2" .


Method Summary
 java.lang.String getRelativeID()
          Get the id of the relation to which this position relates to.
 OrderPosition getType()
          Get the ordering position type.
 

Method Detail

getType

public OrderPosition getType()
Get the ordering position type.
Returns:
the OrderPosition for this position.

getRelativeID

public java.lang.String getRelativeID()
Get the id of the relation to which this position relates to.
Returns:
the String with the id of the related relation. Can be null if getType() is OrderPosition.FIRST or OrderPosition.LAST .

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.