deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.ogcwebservices.sos.configuration
Class SourceServerConfiguration

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

public class SourceServerConfiguration
extends Object

represent a sourceServer configuration

Author:
Matthias Kulbe

Constructor Summary
SourceServerConfiguration(String id, String service, String version, OGCWebService dataService, QualifiedName platformDescriptionFeatureType, QualifiedName platformDescriptionIdPropertyName, QualifiedName platformDescriptionCoordPropertyName, URL platformDescriptionXSLTScriptSource, QualifiedName sensorDescriptionFeatureType, QualifiedName sensorDescriptionIdPropertyName, URL sensorDescriptionXSLTScriptSource)
           
 
Method Summary
 void addPlatform(PlatformConfiguration platform)
          adds a new platform
 void addSensor(SensorConfiguration sensor)
          adds a new sensor
 boolean equals(Object obj)
          overwrites the equals function
 OGCWebService getDataService()
           
 String getId()
           
 PlatformConfiguration getPlatformById(String id)
          returns the platform by the given scs id
 PlatformConfiguration getPlatformByIdPropertyValue(String id)
          returns the platform by the given idPropertyValue on the sourceServer
 QualifiedName getPlatformDescriptionCoordPropertyName()
           
 QualifiedName getPlatformDescriptionFeatureType()
           
 QualifiedName getPlatformDescriptionIdPropertyName()
           
 URL getPlatformDescriptionXSLTScriptSource()
           
 PlatformConfiguration[] getPlatforms()
          returns all platforms
 SensorConfiguration getSensorById(String id)
          returns the sensor by the given scs id
 SensorConfiguration getSensorByIdPropertyValue(String id)
          returns the sensor by the given idPropertyValue on the sourceServer
 QualifiedName getSensorDescriptionFeatureType()
           
 QualifiedName getSensorDescriptionIdPropertyName()
           
 URL getSensorDescriptionXSLTScriptSource()
           
 SensorConfiguration[] getSensors()
          returns all sensors
 String getService()
           
 String getVersion()
           
 int hashCode()
          overrides the hashCode function
 boolean havePlatformById(String id)
          returns true if the platform with the given id exists
 boolean havePlatformByIdPropertyValue(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(String id)
          returns true if the sensor with the given id exists
 boolean haveSensorByIdPropertyValue(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(String id,
                                 String service,
                                 String version,
                                 OGCWebService dataService,
                                 QualifiedName platformDescriptionFeatureType,
                                 QualifiedName platformDescriptionIdPropertyName,
                                 QualifiedName platformDescriptionCoordPropertyName,
                                 URL platformDescriptionXSLTScriptSource,
                                 QualifiedName sensorDescriptionFeatureType,
                                 QualifiedName sensorDescriptionIdPropertyName,
                                 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(String id)
returns the sensor by the given scs id

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

getSensorByIdPropertyValue

public SensorConfiguration getSensorByIdPropertyValue(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(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(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 String getId()

getService

public String getService()

getVersion

public String getVersion()

equals

public boolean equals(Object obj)
overwrites the equals function

Overrides:
equals in class Object

hashCode

public int hashCode()
overrides the hashCode function

Overrides:
hashCode in class 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(String id)
returns the platform by the given scs id

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

getPlatformByIdPropertyValue

public PlatformConfiguration getPlatformByIdPropertyValue(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(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(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 URL getPlatformDescriptionXSLTScriptSource()

getSensorDescriptionXSLTScriptSource

public URL getSensorDescriptionXSLTScriptSource()

deegree 2.3 (2010/04/09 10:10 build-4-official)

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