Class NodeItemNodeDecorator
- java.lang.Object
-
- org.opennms.features.topology.plugins.topo.asset.layers.decorator.NodeItemNodeDecorator
-
- All Implemented Interfaces:
NodeDecorator<OnmsNode>
public class NodeItemNodeDecorator extends java.lang.Object implements NodeDecorator<OnmsNode>
Decorator to decorateOnmsNode
s.- Author:
- mvrueden
-
-
Constructor Summary
Constructors Constructor Description NodeItemNodeDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
decorate(GraphMLNode graphMLNode, OnmsNode onmsNode)
java.lang.String
getId(OnmsNode node)
Returns theGraphMLNode
's id for the givenvalue
.
-
-
-
Method Detail
-
decorate
public void decorate(GraphMLNode graphMLNode, OnmsNode onmsNode)
- Specified by:
decorate
in interfaceNodeDecorator<OnmsNode>
-
getId
public java.lang.String getId(OnmsNode node)
Description copied from interface:NodeDecorator
Returns theGraphMLNode
's id for the givenvalue
. DOES NOT CONSIDER HIERARCHY.- Specified by:
getId
in interfaceNodeDecorator<OnmsNode>
- Parameters:
node
- Thecode
.- Returns:
- the
GraphMLNode
's id for the givenvalue
. - See Also:
IdGenerator
-
-