Package org.n52.shetland.inspire
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 Summary
Constructors Constructor Description InspireSupportedCRS(String defaultCRS)constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InspireSupportedCRSaddOtherCRS(String otherCRS)Add the other CRSStringgetDefaultCRS()Get the default CRSSet<String>getOtherCRS()Get the other CRSsbooleanisSetSupportedCRSs()Check if other CRSs are setInspireSupportedCRSsetOtherCRS(Collection<String> otherCRS)Set the other CRSs, clears the existing collectionStringtoString()
-
-
-
Constructor Detail
-
InspireSupportedCRS
public InspireSupportedCRS(String defaultCRS)
constructor- Parameters:
defaultCRS- the mandatory default CRS
-
-
Method Detail
-
getDefaultCRS
public String getDefaultCRS()
Get the default CRS- Returns:
- the defaultCRS
-
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
-
-