Class RegionImpl

java.lang.Object
org.wikirate4j.entitities.CardImpl
org.wikirate4j.entitities.RegionImpl
All Implemented Interfaces:
Card, Region

public class RegionImpl extends CardImpl implements Region
Author:
Vasiliki Gkatziaki
  • Method Details

    • getJurisdictionKey

      public String getJurisdictionKey()
      Description copied from interface: Region
      Each Region is described by a jurisdiction key
      Specified by:
      getJurisdictionKey in interface Region
      Returns:
      the jurisdiction code
    • getILORegion

      public String getILORegion()
      Description copied from interface: Region
      Each Region is described by the ILO Region is located
      Specified by:
      getILORegion in interface Region
      Returns:
      the ILO region
    • getCountry

      public String getCountry()
      Description copied from interface: Region
      Each Region is described by the country is located
      Specified by:
      getCountry in interface Region
      Returns:
      the country
    • 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