Class CompanyGroupImpl

java.lang.Object
org.wikirate4j.entitities.CardImpl
org.wikirate4j.entitities.CompanyGroupImpl
All Implemented Interfaces:
Card, CompanyGroup

public class CompanyGroupImpl extends CardImpl implements CompanyGroup
Author:
Vasiliki Gkatziaki
  • Method Details

    • getCompanies

      public List<String> getCompanies()
      Description copied from interface: CompanyGroup
      The list of companies, the company group contains
      Specified by:
      getCompanies in interface CompanyGroup
      Returns:
    • getLinksOfCompanies

      public List<String> getLinksOfCompanies()
      Description copied from interface: CompanyGroup
      The list of links to wikirate companies, the company group contains.
      Specified by:
      getLinksOfCompanies in interface CompanyGroup
      Returns:
    • getSpecification

      public String getSpecification()
      Description copied from interface: CompanyGroup
      A specification is used when the company group created implicitly by using a filter on a metric.
      Specified by:
      getSpecification in interface CompanyGroup
      Returns:
      the specification used for the creation of the company group
    • toJson

      public org.json.JSONObject toJson()
      Specified by:
      toJson in interface Card
      Overrides:
      toJson in class CardImpl
      Returns:
      the object as json
    • toString

      public String toString()
      Overrides:
      toString in class Object