Class NodeColor

java.lang.Object
com.dna.jopt.member.unit.color.NodeColor
All Implemented Interfaces:
INodeColor, Serializable

public class NodeColor extends Object implements INodeColor
The Class NodeColor.
Since:
Sep 27, 2019
Version:
Sep 27, 2019
Author:
Jens Richter
See Also:
  • Constructor Details

    • NodeColor

      public NodeColor(int colorCode, String colorId)
      Instantiates a new node color.
      Parameters:
      colorCode - the color code
      colorId - the color id
    • NodeColor

      public NodeColor(int colorCode, String colorId, int countValue)
  • Method Details

    • getNodeColorCode

      public int getNodeColorCode()
      Description copied from interface: INodeColor
      Gets the node color code.
      Specified by:
      getNodeColorCode in interface INodeColor
      Returns:
      the node color code
    • getNodeColorId

      public String getNodeColorId()
      Description copied from interface: INodeColor
      Gets the node color id.
      Specified by:
      getNodeColorId in interface INodeColor
      Returns:
      the node color id
    • getCountValue

      public int getCountValue()
      Specified by:
      getCountValue in interface INodeColor