com.bmc.cmdb.api
Class CMDBGraph

java.lang.Object
  extended by com.bmc.cmdb.api.CMDBGraph

public class CMDBGraph
extends java.lang.Object

The CMDBGraph class defines an input graph for performing the graph query.


Constructor Summary
CMDBGraph()
          Default constructor that creates an empty CMDBGraph object.
CMDBGraph(CMDBClassNameKey classNameId, java.lang.String extensionId, CMDBGraphAdjacency[] adjacencyList)
          Initializes values for CMDBGraph object.
 
Method Summary
 CMDBGraphAdjacency[] getAdjacencyList()
          Gets the list of adjacent CMDBGraph nodes.
 CMDBClassNameKey getClassNameId()
          Gets the class name key of the CMDBGraph object.
 java.lang.String getExtensionId()
          Gets the extension ID of the CMDBGraph object.
 void setAdjacencyList(CMDBGraphAdjacency[] adjacencyList)
          Sets the list of adjacent CMDBGraph nodes.
 void setClassNameId(CMDBClassNameKey classNameId)
          Sets the class name key of the CMDBGraph object.
 void setExtensionId(java.lang.String extensionId)
          Sets the extension ID of the CMDBGraph object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMDBGraph

public CMDBGraph()
Default constructor that creates an empty CMDBGraph object.


CMDBGraph

public CMDBGraph(CMDBClassNameKey classNameId,
                 java.lang.String extensionId,
                 CMDBGraphAdjacency[] adjacencyList)
Initializes values for CMDBGraph object.

Parameters:
classNameId - class name and namespace key
extensionId - a unique identifier for this graph node
adjacencyList - a list of adjacent graph nodes
Method Detail

getClassNameId

public CMDBClassNameKey getClassNameId()
Gets the class name key of the CMDBGraph object.

Returns:
classNameId of the CMDBGraph object

getExtensionId

public java.lang.String getExtensionId()
Gets the extension ID of the CMDBGraph object.

Returns:
extensionId of the CMDBGraph object

getAdjacencyList

public CMDBGraphAdjacency[] getAdjacencyList()
Gets the list of adjacent CMDBGraph nodes.

Returns:
adjacencyList of the CMDBGraph object

setClassNameId

public void setClassNameId(CMDBClassNameKey classNameId)
Sets the class name key of the CMDBGraph object.

Parameters:
classNameId - classKey that contains namespace and class Name

setExtensionId

public void setExtensionId(java.lang.String extensionId)
Sets the extension ID of the CMDBGraph object.

Parameters:
extensionId - the extension Id

setAdjacencyList

public void setAdjacencyList(CMDBGraphAdjacency[] adjacencyList)
Sets the list of adjacent CMDBGraph nodes.

Parameters:
adjacencyList - list of the CMDBGraph object


(c) Copyright 2004-2007 BMC Software, Inc.