Class TaginfoRegionalInstance


  • public class TaginfoRegionalInstance
    extends java.lang.Object
    Describes a regional Taginfo instance.
    Since:
    15876
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Set<java.lang.String> isoCodes
      Set of ISO3166 codes for the covered areas
      private java.lang.String suffix
      Optional suffix to distinguish them in UI
      private java.lang.String url
      Instance URL
    • Constructor Summary

      Constructors 
      Constructor Description
      TaginfoRegionalInstance​(java.lang.String url, java.util.Set<java.lang.String> isoCodes)
      Constructs a new TaginfoRegionalInstance.
      TaginfoRegionalInstance​(java.lang.String url, java.util.Set<java.lang.String> isoCodes, java.lang.String suffix)
      Constructs a new TaginfoRegionalInstance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<java.lang.String> getIsoCodes()
      Returns the set of ISO3166 codes for the covered areas.
      java.lang.String getSuffix()
      Returns the optional suffix to distinguish them in UI.
      java.lang.String getUrl()
      Returns the instance URL.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • url

        private final java.lang.String url
        Instance URL
      • isoCodes

        private final java.util.Set<java.lang.String> isoCodes
        Set of ISO3166 codes for the covered areas
      • suffix

        private final java.lang.String suffix
        Optional suffix to distinguish them in UI
    • Constructor Detail

      • TaginfoRegionalInstance

        public TaginfoRegionalInstance​(java.lang.String url,
                                       java.util.Set<java.lang.String> isoCodes)
        Constructs a new TaginfoRegionalInstance.
        Parameters:
        url - Instance URL. Must not be null
        isoCodes - Set of ISO3166 codes for the covered areas. Must not be null
      • TaginfoRegionalInstance

        public TaginfoRegionalInstance​(java.lang.String url,
                                       java.util.Set<java.lang.String> isoCodes,
                                       java.lang.String suffix)
        Constructs a new TaginfoRegionalInstance.
        Parameters:
        url - Instance URL. Must not be null
        isoCodes - Set of ISO3166 codes for the covered areas. Must not be null
        suffix - Optional suffix to distinguish them in UI. Can be null
    • Method Detail

      • getUrl

        public java.lang.String getUrl()
        Returns the instance URL.
        Returns:
        instance URL
      • getIsoCodes

        public java.util.Set<java.lang.String> getIsoCodes()
        Returns the set of ISO3166 codes for the covered areas.
        Returns:
        set of ISO3166 codes for the covered areas
      • getSuffix

        public java.lang.String getSuffix()
        Returns the optional suffix to distinguish them in UI.
        Returns:
        optional suffix to distinguish them in UI. Can be null
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object