Interface NodeDecorator<T>
-
- Type Parameters:
T
- the type of the value eachOnmsNode
is converted to.
- All Known Implementing Classes:
AssetItemNodeDecorator
,NodeItemNodeDecorator
public interface NodeDecorator<T>
Decorator to set the fields of eachGraphMLNode
in aLayer
.- Author:
- mvrueden
- See Also:
ItemProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
decorate(GraphMLNode graphMLNode, T value)
java.lang.String
getId(T value)
Returns theGraphMLNode
's id for the givenvalue
.
-
-
-
Method Detail
-
decorate
void decorate(GraphMLNode graphMLNode, T value)
-
getId
java.lang.String getId(T value)
Returns theGraphMLNode
's id for the givenvalue
. DOES NOT CONSIDER HIERARCHY.- Parameters:
value
- Thecode
.- Returns:
- the
GraphMLNode
's id for the givenvalue
. - See Also:
IdGenerator
-
-