com.ibm.adt.topology.object
Interface TopologyObjectCorrelator


public interface TopologyObjectCorrelator


Method Summary
 TopologyObject[] getRelatedObjects(TopologyObject sourceObject, RelationshipMetaInfo relationship)
          Get related objects without a service context.
 TopologyObject[] getRelatedObjects(TopologyObject sourceObject, RelationshipMetaInfo relationship, TopologyService serviceContext)
          Get related objects within the specified service context.
 

Method Detail

getRelatedObjects

TopologyObject[] getRelatedObjects(TopologyObject sourceObject,
                                   RelationshipMetaInfo relationship)
                                   throws TopologyException
Get related objects without a service context. Note this method should throw an exception if the correlator is intended to be a cross-provider type. If the correlator is not cross-provider, then this method should simply delegate to getRelatedObjects(sourceObject, relationship, null).

Parameters:
sourceObject -
relationship -
Returns:
an array of related TopologyObject(s) corresponding to specified relationship
Throws:
TopologyException

getRelatedObjects

TopologyObject[] getRelatedObjects(TopologyObject sourceObject,
                                   RelationshipMetaInfo relationship,
                                   TopologyService serviceContext)
                                   throws TopologyException
Get related objects within the specified service context.

Parameters:
sourceObject -
relationship -
serviceContext -
Returns:
an array of related TopologyObject(s) corresponding to specified relationship
Throws:
TopologyException


© Copyright 2006 IBM Corp. 2006 All Rights Reserved