Interface PortfolioItem

    • Method Detail

      • getInfo

        PortfolioItemInfo getInfo()
        Gets the additional information about the portfolio item.
        Returns:
        the additional information
      • getId

        default java.util.Optional<StandardId> getId()
        Gets the primary identifier for the portfolio item, optional.

        The identifier is used to identify the portfolio item. It will typically be an identifier in an external data system.

        A portfolio item may have multiple active identifiers. Any identifier may be chosen here. Certain uses of the identifier, such as storage in a database, require that the identifier does not change over time, and this should be considered best practice.

        Returns:
        the identifier, optional
      • summarize

        PortfolioItemSummary summarize()
        Summarizes the portfolio item.

        This provides a summary, including a human readable description.

        Returns:
        the summary of the item