Class CompanyImpl

java.lang.Object
org.wikirate4j.entitities.CardImpl
org.wikirate4j.entitities.CompanyImpl
All Implemented Interfaces:
Card, Company

public class CompanyImpl extends CardImpl implements Company
Author:
Vasiliki Gkatziaki
  • Method Details

    • getWikipedia

      public String getWikipedia()
      Description copied from interface: Company
      Returns the Wikipedia page name of the company, if available.
      Specified by:
      getWikipedia in interface Company
      Returns:
      the Wikipedia page name, or null if not available
    • getLegalEntityIdentifier

      public String getLegalEntityIdentifier()
      Description copied from interface: Company
      Returns the Legal Entity Identifier (LEI) of the company, if available.
      Specified by:
      getLegalEntityIdentifier in interface Company
      Returns:
      the Legal Entity Identifier
    • getUKCompanyNumber

      public String getUKCompanyNumber()
      Description copied from interface: Company
      Returns the UK Company Number, if available.
      Specified by:
      getUKCompanyNumber in interface Company
      Returns:
      the UK Company Number
    • getAustralianBusinessNumber

      public String getAustralianBusinessNumber()
      Description copied from interface: Company
      Returns the Australian Business Number (ABN), if available.
      Specified by:
      getAustralianBusinessNumber in interface Company
      Returns:
      the Australian Business Number
    • getAustralianCompanyNumber

      public String getAustralianCompanyNumber()
      Description copied from interface: Company
      Returns the Australian Company Number (ACN), if available.
      Specified by:
      getAustralianCompanyNumber in interface Company
      Returns:
      the Australian Company Number
    • getISINs

      public List<String> getISINs()
      Description copied from interface: Company
      Returns the list of International Securities Identification Numbers (ISINs) associated with the company.
      Specified by:
      getISINs in interface Company
      Returns:
      a list of ISINs, or an empty list if none exist
    • getWikidataID

      public String getWikidataID()
      Description copied from interface: Company
      Returns the Wikidata identifier of the company, if available.
      Specified by:
      getWikidataID in interface Company
      Returns:
      the Wikidata identifier
    • getOpenCorporatesID

      public String getOpenCorporatesID()
      Description copied from interface: Company
      Returns the identifier of the company on OpenCorporates (opencorporates.com), if available.
      Specified by:
      getOpenCorporatesID in interface Company
      Returns:
      the OpenCorporates identifier
    • getAliases

      public List<String> getAliases()
      Description copied from interface: Company
      Returns a list of alternative names (aliases) used by the company.
      Specified by:
      getAliases in interface Company
      Returns:
      a list of aliases, or an empty list if none exist
    • getHeadquarters

      public String getHeadquarters()
      Description copied from interface: Company
      Returns the location of the company's headquarters, if available.
      Specified by:
      getHeadquarters in interface Company
      Returns:
      the headquarters location
    • getOpenSupplyHubId

      public String getOpenSupplyHubId()
      Description copied from interface: Company
      Returns the Open Supply Hub identifier of the company, if available. See: https://opensupplyhub.org/
      Specified by:
      getOpenSupplyHubId in interface Company
      Returns:
      the Open Supply Hub identifier
    • getCentralIndexKey

      public String getCentralIndexKey()
      Description copied from interface: Company
      Returns the Central Index Key (CIK) of the company, as maintained by sec.gov, if available.
      Specified by:
      getCentralIndexKey in interface Company
      Returns:
      the Central Index Key
    • getAnswersUrl

      public String getAnswersUrl()
      Description copied from interface: Company
      Returns the URL for retrieving all answers associated with this company.
      Specified by:
      getAnswersUrl in interface Company
      Returns:
      the answers URL
    • 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