Class ColoredOpenProjectObject

All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>
Direct Known Subclasses:
Priority, Status, Type

public class ColoredOpenProjectObject extends BaseOpenProjectObject
Describes the Open Project entities that can have custom colors associated to them such as Status and Type.
Since:
1.0
Version:
$Id$
See Also:
  • Field Details

    • KEY_COLOR

      public static final String KEY_COLOR
      The key that retrieves the color attribute of this entity.
      See Also:
  • Constructor Details

    • ColoredOpenProjectObject

      public ColoredOpenProjectObject()
      Default constructor.
    • ColoredOpenProjectObject

      public ColoredOpenProjectObject(com.fasterxml.jackson.databind.JsonNode jsonNode)
      Create a ColoredOpenProjectObject from a JsonNode.
      Parameters:
      jsonNode - the JsonNode containing the colored open project object information.
  • Method Details

    • getColor

      public String getColor()
      Returns:
      the color associated to this entity. It is used by the client to display this property in a specific color.
    • setColor

      public void setColor(String color)
      Parameters:
      color - see getColor().