deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.ogcwebservices.sos.configuration
Class SourceServerConfiguration

java.lang.Object
  extended by org.deegree.ogcwebservices.sos.configuration.SourceServerConfiguration

public class SourceServerConfiguration
extends java.lang.Object

represent a sourceServer configuration

Author:
Matthias Kulbe

Constructor Summary
SourceServerConfiguration(java.lang.String id, java.lang.String service, java.lang.String version, OGCWebService dataService, QualifiedName platformDescriptionFeatureType, QualifiedName platformDescriptionIdPropertyName, QualifiedName platformDescriptionCoordPropertyName, java.net.URL platformDescriptionXSLTScriptSource, QualifiedName sensorDescriptionFeatureType, QualifiedName sensorDescriptionIdPropertyName, java.net.URL sensorDescriptionXSLTScriptSource)
           
 
Method Summary
 void addPlatform(PlatformConfiguration platform)
          adds a new platform
 void addSensor(SensorConfiguration sensor)
          adds a new sensor
 boolean equals(java.lang.Object obj)
          overwrites the equals function
 OGCWebService getDataService()
           
 java.lang.String getId()
           
 PlatformConfiguration getPlatformById(java.lang.String id)
          returns the platform by the given scs id
 PlatformConfiguration getPlatformByIdPropertyValue(java.lang.String id)
          returns the platform by the given idPropertyValue on the sourceServer
 QualifiedName getPlatformDescriptionCoordPropertyName()
           
 QualifiedName getPlatformDescriptionFeatureType()
           
 QualifiedName getPlatformDescriptionIdPropertyName()
           
 java.net.URL getPlatformDescriptionXSLTScriptSource()
           
 PlatformConfiguration[] getPlatforms()
          returns all platforms
 SensorConfiguration getSensorById(java.lang.String id)
          returns the sensor by the given scs id
 SensorConfiguration getSensorByIdPropertyValue(java.lang.String id)
          returns the sensor by the given idPropertyValue on the sourceServer
 QualifiedName getSensorDescriptionFeatureType()
           
 QualifiedName getSensorDescriptionIdPropertyName()
           
 java.net.URL getSensorDescriptionXSLTScriptSource()
           
 SensorConfiguration[] getSensors()
          returns all sensors
 java.lang.String getService()
           
 java.lang.String getVersion()
           
 int hashCode()
          overrides the hashCode function
 boolean havePlatformById(java.lang.String id)
          returns true if the platform with the given id exists
 boolean havePlatformByIdPropertyValue(java.lang.String id)
          returns true if the platform with the given idPropertyValue exists
 boolean havePlatformDescriptionData()
          returns true, if all parameters, to request platform metadata, is set
 boolean haveSensorById(java.lang.String id)
          returns true if the sensor with the given id exists
 boolean haveSensorByIdPropertyValue(java.lang.String id)
          returns true if the sensor with the given idPropertyValue exists
 boolean haveSensorDescriptionData()
          returns true, if all parameters, to request sensor metadata, is set
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceServerConfiguration

public SourceServerConfiguration(java.lang.String id,
                                 java.lang.String service,
                                 java.lang.String version,
                                 OGCWebService dataService,
                                 QualifiedName platformDescriptionFeatureType,
                                 QualifiedName platformDescriptionIdPropertyName,
                                 QualifiedName platformDescriptionCoordPropertyName,
                                 java.net.URL platformDescriptionXSLTScriptSource,
                                 QualifiedName sensorDescriptionFeatureType,
                                 QualifiedName sensorDescriptionIdPropertyName,
                                 java.net.URL sensorDescriptionXSLTScriptSource)
Parameters:
id -
service -
version -
dataService -
platformDescriptionFeatureType -
platformDescriptionIdPropertyName -
platformDescriptionCoordPropertyName -
platformDescriptionXSLTScriptSource -
sensorDescriptionFeatureType -
sensorDescriptionIdPropertyName -
sensorDescriptionXSLTScriptSource -
Method Detail

getPlatformDescriptionCoordPropertyName

public QualifiedName getPlatformDescriptionCoordPropertyName()

getPlatformDescriptionFeatureType

public QualifiedName getPlatformDescriptionFeatureType()

getPlatformDescriptionIdPropertyName

public QualifiedName getPlatformDescriptionIdPropertyName()

getSensorDescriptionFeatureType

public QualifiedName getSensorDescriptionFeatureType()

getSensorDescriptionIdPropertyName

public QualifiedName getSensorDescriptionIdPropertyName()

addSensor

public void addSensor(SensorConfiguration sensor)
adds a new sensor

Parameters:
sensor -

getSensors

public SensorConfiguration[] getSensors()
returns all sensors

Returns:
ll sensors

getSensorById

public SensorConfiguration getSensorById(java.lang.String id)
returns the sensor by the given scs id

Parameters:
id -
Returns:
the sensor by the given scs id

getSensorByIdPropertyValue

public SensorConfiguration getSensorByIdPropertyValue(java.lang.String id)
returns the sensor by the given idPropertyValue on the sourceServer

Parameters:
id -
Returns:
the sensor by the given idPropertyValue on the sourceServer

haveSensorById

public boolean haveSensorById(java.lang.String id)
returns true if the sensor with the given id exists

Parameters:
id -
Returns:
true if the sensor with the given id exists

haveSensorByIdPropertyValue

public boolean haveSensorByIdPropertyValue(java.lang.String id)
returns true if the sensor with the given idPropertyValue exists

Parameters:
id -
Returns:
true if the sensor with the given idPropertyValue exists

getDataService

public OGCWebService getDataService()

getId

public java.lang.String getId()

getService

public java.lang.String getService()

getVersion

public java.lang.String getVersion()

equals

public boolean equals(java.lang.Object obj)
overwrites the equals function

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
overrides the hashCode function

Overrides:
hashCode in class java.lang.Object

addPlatform

public void addPlatform(PlatformConfiguration platform)
adds a new platform

Parameters:
platform -

getPlatforms

public PlatformConfiguration[] getPlatforms()
returns all platforms

Returns:
all platforms

getPlatformById

public PlatformConfiguration getPlatformById(java.lang.String id)
returns the platform by the given scs id

Parameters:
id -
Returns:
the platform by the given scs id

getPlatformByIdPropertyValue

public PlatformConfiguration getPlatformByIdPropertyValue(java.lang.String id)
returns the platform by the given idPropertyValue on the sourceServer

Parameters:
id -
Returns:
the platform by the given idPropertyValue on the sourceServer

havePlatformById

public boolean havePlatformById(java.lang.String id)
returns true if the platform with the given id exists

Parameters:
id -
Returns:
true if the platform with the given id exists

havePlatformByIdPropertyValue

public boolean havePlatformByIdPropertyValue(java.lang.String id)
returns true if the platform with the given idPropertyValue exists

Parameters:
id -
Returns:
true if the platform with the given idPropertyValue exists

havePlatformDescriptionData

public boolean havePlatformDescriptionData()
returns true, if all parameters, to request platform metadata, is set

Returns:
true, if all parameters, to request platform metadata, is set

haveSensorDescriptionData

public boolean haveSensorDescriptionData()
returns true, if all parameters, to request sensor metadata, is set

Returns:
true, if all parameters, to request sensor metadata, is set

getPlatformDescriptionXSLTScriptSource

public java.net.URL getPlatformDescriptionXSLTScriptSource()

getSensorDescriptionXSLTScriptSource

public java.net.URL getSensorDescriptionXSLTScriptSource()

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org