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
-
Method Summary
Modifier and TypeMethodDescriptionint
int
Gets 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:INodeColor
Gets the node color code.- Specified by:
getNodeColorCode
in interfaceINodeColor
- Returns:
- the node color code
-
getNodeColorId
Description copied from interface:INodeColor
Gets the node color id.- Specified by:
getNodeColorId
in interfaceINodeColor
- Returns:
- the node color id
-
getCountValue
public int getCountValue()- Specified by:
getCountValue
in interfaceINodeColor
-