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