Interface Source

All Superinterfaces:
Card, SourceReference
All Known Implementing Classes:
SourceImpl

public interface Source extends Card, SourceReference
A Source is generally a company report, including CSR Report, Sustainability Report, Annual Report or Integrated Report. It could also be a news article, website, conflict mineral report or modern slavery report and so on. A source can be added to WikiRate as a URL or file upload. The Source entity extends the notion of a Card to provide additional information and functionality.
Author:
Vasiliki Gkatziaki
  • Method Details

    • getTitle

      String getTitle()
      Returns the title of the Source
      Returns:
      the source title
    • getFile

      String getFile()
      Returns the URL of the Source file
      Returns:
      the file url
    • getLink

      String getLink()
      Returns the url of the original source
      Returns:
      the url of the original source
    • getReportTypes

      List<ReportType> getReportTypes()
    • getYears

      List<Integer> getYears()
      Lists the years the source referred to.
      Returns:
      a List of years
    • getDescription

      String getDescription()
      A given description of the Source
      Returns:
      a description
    • getCompanies

      List<String> getCompanies()
      A List of Companies the source is referred to.
      Returns:
      a list of company names
    • getMetrics

      List<String> getMetrics()
      A list of Metrics the source has answers
      Returns:
      a list of metric names
    • getAnswers

      List<String> getAnswers()
      A list of Answers the source is linked to
      Returns:
      a list of answer names