Class InspireSupportedCRS

java.lang.Object
org.n52.shetland.inspire.InspireSupportedCRS
All Implemented Interfaces:
InspireObject

public class InspireSupportedCRS extends Object implements InspireObject
Service internal representation of INSPIRE supported CRS
Since:
1.0.0
  • Constructor Details

    • InspireSupportedCRS

      public InspireSupportedCRS(String defaultCRS)
      constructor
      Parameters:
      defaultCRS - the mandatory default CRS
  • Method Details

    • getDefaultCRS

      public String getDefaultCRS()
      Get the default CRS
      Returns:
      the defaultCRS
    • getOtherCRS

      public Set<String> getOtherCRS()
      Get the other CRSs
      Returns:
      the other CRS
    • setOtherCRS

      public InspireSupportedCRS setOtherCRS(Collection<String> otherCRS)
      Set the other CRSs, clears the existing collection
      Parameters:
      otherCRS - the otherCRS to set
      Returns:
      this
    • addOtherCRS

      public InspireSupportedCRS addOtherCRS(String otherCRS)
      Add the other CRS
      Parameters:
      otherCRS - the other CRS to add
      Returns:
      this
    • isSetSupportedCRSs

      public boolean isSetSupportedCRSs()
      Check if other CRSs are set
      Returns:
      true, if other CRSs are set
    • toString

      public String toString()
      Overrides:
      toString in class Object