com.hp.ucmdb.api.types
Interface TopologyCI

All Superinterfaces:
CI, Element, ElementProperties
All Known Subinterfaces:
AffectedCI

public interface TopologyCI
extends CI

Represents a CI returned as part of the Topology data structure.


Method Summary
 java.util.Collection<TopologyRelation> getIncomingRelations()
          The collection of relations for which this CI is end2.
 java.util.Collection<TopologyRelation> getOutgoingRelations()
          The collection of relations for which this CI is end1.
 
Methods inherited from interface com.hp.ucmdb.api.types.Element
getId, getProperty, getPropertyValue, getType, properties, propertiesAsMap, propertiesSize, setBooleanProperty, setBytesProperty, setDateProperty, setDoubleProperty, setFloatProperty, setIntListProperty, setIntListProperty, setIntProperty, setLongProperty, setPropertyValue, setStringListProperty, setStringListProperty, setStringProperty, setXmlProperty
 

Method Detail

getOutgoingRelations

java.util.Collection<TopologyRelation> getOutgoingRelations()
The collection of relations for which this CI is end1.
The elements of the collection depend on the way this CI was retrieved from the topology. If it is retrieved by node name (Topology.getCIsByName(java.lang.String)), only the relations relevant to that node are returned. The other ends of those relations correspond to the CIs of the connected nodes.
If this CI is retrieved from the overall collection (Topology.getAllCIs()), the collection returned is the union of all outgoing relations of all instances of this CI in the query result.

Returns:
collection of relations having this CI as their end1

getIncomingRelations

java.util.Collection<TopologyRelation> getIncomingRelations()
The collection of relations for which this CI is end2.
The elements of the collection depend on the way this CI was retrieved from the topology. If it is retrieved by node name (Topology.getCIsByName(java.lang.String)), only the relations relevant to that node are returned by this method. The other ends of those relations correspond to the CIs of the connected nodes.
If this CI is retrieved from the overall collection (Topology.getAllCIs()), the collection returned is the union of all incoming relations of all instances of this CI in the query result.

Returns:
collection of relations having this CI as their end2


Documentation Feedback
Copyright 2010 Hewlett-Packard Development Company, L.P.