com.sap.mdm.matchingsets
Class MatchingSetProperties

java.lang.Object
  extended bycom.sap.mdm.matchingsets.MatchingSetProperties

public class MatchingSetProperties
extends Object

Defines a matching set.

Since:
5.5. SP6 Patch 04
See Also:
com.sap.mdm.matchingsets.commands

Field Summary
static int LINK_BOTH_DIRECTIONS
           
static int LINK_FROM_MATCHING_CATEGORY
           
static int LINK_TO_MATCHING_CATEGORY
           
 
Constructor Summary
MatchingSetProperties(RecordId node1, RecordId node2, int linkType, MatchingItemPair[] pairs)
          Constructor with the specified parameters.
 
Method Summary
 int getLinkType()
          Returns the link type.
 RecordId getNode1()
          Returns first node.
 RecordId getNode2()
          Returns the second node.
 MatchingItemPair[] getPairs()
          Returns the matching item pair
 void setLinkType(int linkType)
          Sets the link type.
 void setNode1(RecordId node1)
          Sets the first node.
 void setNode2(RecordId node2)
          Sets the second node.
 void setPairs(MatchingItemPair[] pairs)
          Sets the matching item pair
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LINK_BOTH_DIRECTIONS

public static final int LINK_BOTH_DIRECTIONS
See Also:
Constant Field Values

LINK_TO_MATCHING_CATEGORY

public static final int LINK_TO_MATCHING_CATEGORY
See Also:
Constant Field Values

LINK_FROM_MATCHING_CATEGORY

public static final int LINK_FROM_MATCHING_CATEGORY
See Also:
Constant Field Values
Constructor Detail

MatchingSetProperties

public MatchingSetProperties(RecordId node1,
                             RecordId node2,
                             int linkType,
                             MatchingItemPair[] pairs)
Constructor with the specified parameters.

Parameters:
node1 - node 1
node2 - node 2
linkType - the link type
pairs - the pair of repository item
Method Detail

getNode1

public RecordId getNode1()
Returns first node.

Returns:
first node

setNode1

public void setNode1(RecordId node1)
Sets the first node.

Parameters:
node1 - first node

getNode2

public RecordId getNode2()
Returns the second node.

Returns:
second node

setNode2

public void setNode2(RecordId node2)
Sets the second node.

Parameters:
node2 - second node

getLinkType

public int getLinkType()
Returns the link type.

Returns:
the link type
See Also:
LINK_BOTH_DIRECTIONS, LINK_FROM_MATCHING_CATEGORY, LINK_TO_MATCHING_CATEGORY

setLinkType

public void setLinkType(int linkType)
Sets the link type.

Parameters:
linkType - the link type
See Also:
LINK_BOTH_DIRECTIONS, LINK_FROM_MATCHING_CATEGORY, LINK_TO_MATCHING_CATEGORY

getPairs

public MatchingItemPair[] getPairs()
Returns the matching item pair

Returns:
the matching item pair

setPairs

public void setPairs(MatchingItemPair[] pairs)
Sets the matching item pair

Parameters:
pairs - the matching item pair


Copyright 2004-2007 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.