Class BaseOpenProjectObject

    • Field Detail

      • KEY_ID

        public static final String KEY_ID
        The key identifying the id property of the open project object.
        See Also:
        Constant Field Values
      • KEY_NAME

        public static final String KEY_NAME
        The key identifying the name property of the open project object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • BaseOpenProjectObject

        public BaseOpenProjectObject()
        Default constructor.
      • BaseOpenProjectObject

        public BaseOpenProjectObject​(com.fasterxml.jackson.databind.JsonNode jsonNode)
        Create a BaseOpenProjectObject from a JsonNode.
        Parameters:
        jsonNode - the JsonNode containing the base open project object information.
    • Method Detail

      • getId

        public Integer getId()
        Returns:
        the id of the work item project.
      • setId

        public void setId​(int id)
        Parameters:
        id - see getId().
      • getName

        public String getName()
        Returns:
        the name of the work item project.
      • setName

        public void setName​(String name)
        Parameters:
        name - see getName().
      • getSelf

        public Linkable getSelf()
        Gets the reference to itself, including their value and reference link.
        Returns:
        the assignee as a Linkable
      • setSelf

        public void setSelf​(Linkable self)
        Sets the reference to itself, including their value and reference link.
        Parameters:
        self - the self to set as a Linkable
      • getMapEntries

        public Map<String,​Object> getMapEntries()
        Returns:
        the map.
      • putEntry

        public void putEntry​(String key,
                             Object value)
        Parameters:
        key - the key.
        value - the value.
      • initializeSelfWithPath

        public void initializeSelfWithPath​(String connectionUrl,
                                           String resourcePath)
        Initializes the self link of the object from a connection URL and a resource path.
        Parameters:
        connectionUrl - the connection URL to the Open Project instance.
        resourcePath - the resource path of the resource.
        Since:
        1.1