com.ontimize.util.gis.common.defaultimplementations
Class DefaultConfigurationParameters

java.lang.Object
  extended by com.ontimize.util.gis.common.defaultimplementations.DefaultConfigurationParameters
All Implemented Interfaces:
IGisConfigurationParameters

public class DefaultConfigurationParameters
extends java.lang.Object
implements IGisConfigurationParameters


Field Summary
protected  java.lang.Object attribute
           
protected  java.lang.Object boundingBox
           
protected  java.lang.String crsCode
           
protected  java.lang.String description
           
protected  java.util.HashMap<java.lang.String,java.lang.Object> parameters
           
protected  org.opengis.referencing.crs.CoordinateReferenceSystem referenceSystem
           
protected  java.lang.String title
           
 
Constructor Summary
DefaultConfigurationParameters()
           
 
Method Summary
 void addParameter(java.lang.String name, java.lang.Object value)
          Adds a new configuration parameter
 java.lang.Object getAttribute()
          Get the layers configurationa attribute
 java.lang.Object getBoundingBox()
          Get the map viewer default bounding box
 java.lang.Object getCRS()
          Get the Coordinate Reference System value
 java.lang.String getDescription()
          Get the layers configuration description
 java.lang.Object getParameter(java.lang.String name)
          Gets the given configuration parameter value
 java.lang.Object getParameters()
          Gets all the configuration parameter values
 java.lang.String getTitle()
          Get the layers configuration title
 void setAttribute(java.lang.Object attr)
          Set the layers configuration attribute
 void setBoundingBox(java.lang.Object boundingBox)
          Set the default map bounding box for the viewer panel
 void setCRS(java.lang.String crsWkt)
          Set the Coordinate Reference System parameter value
 void setDescription(java.lang.String description)
          Set the layers configuration description
 void setTitle(java.lang.String title)
          Set the layers configuration title
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attribute

protected java.lang.Object attribute

title

protected java.lang.String title

description

protected java.lang.String description

crsCode

protected java.lang.String crsCode

referenceSystem

protected org.opengis.referencing.crs.CoordinateReferenceSystem referenceSystem

boundingBox

protected java.lang.Object boundingBox

parameters

protected java.util.HashMap<java.lang.String,java.lang.Object> parameters
Constructor Detail

DefaultConfigurationParameters

public DefaultConfigurationParameters()
Method Detail

addParameter

public void addParameter(java.lang.String name,
                         java.lang.Object value)
Description copied from interface: IGisConfigurationParameters
Adds a new configuration parameter

Specified by:
addParameter in interface IGisConfigurationParameters
Parameters:
name - Parameter name
value - Parameter value

getAttribute

public java.lang.Object getAttribute()
Description copied from interface: IGisConfigurationParameters
Get the layers configurationa attribute

Specified by:
getAttribute in interface IGisConfigurationParameters
Returns:
Layers configuration attribute

getBoundingBox

public java.lang.Object getBoundingBox()
Description copied from interface: IGisConfigurationParameters
Get the map viewer default bounding box

Specified by:
getBoundingBox in interface IGisConfigurationParameters
Returns:
Map default bounding box

getCRS

public java.lang.Object getCRS()
Description copied from interface: IGisConfigurationParameters
Get the Coordinate Reference System value

Specified by:
getCRS in interface IGisConfigurationParameters
Returns:
Coordinate Reference System in Well-Known Text format

getDescription

public java.lang.String getDescription()
Description copied from interface: IGisConfigurationParameters
Get the layers configuration description

Specified by:
getDescription in interface IGisConfigurationParameters
Returns:
Layers configuration description

getParameter

public java.lang.Object getParameter(java.lang.String name)
Description copied from interface: IGisConfigurationParameters
Gets the given configuration parameter value

Specified by:
getParameter in interface IGisConfigurationParameters
Parameters:
name - Configuration parameter name
Returns:
Configuration parameter value

getTitle

public java.lang.String getTitle()
Description copied from interface: IGisConfigurationParameters
Get the layers configuration title

Specified by:
getTitle in interface IGisConfigurationParameters
Returns:
Layers configuration title

setAttribute

public void setAttribute(java.lang.Object attr)
Description copied from interface: IGisConfigurationParameters
Set the layers configuration attribute

Specified by:
setAttribute in interface IGisConfigurationParameters
Parameters:
attr - Layers configuration attribute

setBoundingBox

public void setBoundingBox(java.lang.Object boundingBox)
Description copied from interface: IGisConfigurationParameters
Set the default map bounding box for the viewer panel

Specified by:
setBoundingBox in interface IGisConfigurationParameters
Parameters:
boundingBox - Default map bounding box

setCRS

public void setCRS(java.lang.String crsWkt)
Description copied from interface: IGisConfigurationParameters
Set the Coordinate Reference System parameter value

Specified by:
setCRS in interface IGisConfigurationParameters
Parameters:
crsWkt - Coordinate Reference System in Well-Known Text format

setDescription

public void setDescription(java.lang.String description)
Description copied from interface: IGisConfigurationParameters
Set the layers configuration description

Specified by:
setDescription in interface IGisConfigurationParameters
Parameters:
description - Layers configuration description

setTitle

public void setTitle(java.lang.String title)
Description copied from interface: IGisConfigurationParameters
Set the layers configuration title

Specified by:
setTitle in interface IGisConfigurationParameters
Parameters:
title - Layers configuration title

getParameters

public java.lang.Object getParameters()
Description copied from interface: IGisConfigurationParameters
Gets all the configuration parameter values

Specified by:
getParameters in interface IGisConfigurationParameters
Returns:
Configuration parameters values