Package com.dna.jopt.member.unit.color
Class NodeColor
java.lang.Object
com.dna.jopt.member.unit.color.NodeColor
- All Implemented Interfaces:
INodeColor,Serializable
The Class NodeColor.
- Since:
- Sep 27, 2019
- Version:
- Sep 27, 2019
- Author:
- Jens Richter
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintGets the node color code.Gets the node color id.
-
Constructor Details
-
NodeColor
Instantiates a new node color.- Parameters:
colorCode- the color codecolorId- the color id
-
NodeColor
-
-
Method Details
-
getNodeColorCode
public int getNodeColorCode()Description copied from interface:INodeColorGets the node color code.- Specified by:
getNodeColorCodein interfaceINodeColor- Returns:
- the node color code
-
getNodeColorId
Description copied from interface:INodeColorGets the node color id.- Specified by:
getNodeColorIdin interfaceINodeColor- Returns:
- the node color id
-
getCountValue
public int getCountValue()- Specified by:
getCountValuein interfaceINodeColor
-