org.deegree.services.controller
Class ImplementationMetadata<T extends Enum<T>>

java.lang.Object
  extended by org.deegree.services.controller.ImplementationMetadata<T>
Type Parameters:
T -

public abstract class ImplementationMetadata<T extends Enum<T>>
extends Object

This class contains metadata information on the details of an implementation of an OWS.

Contained information:

Version:
$Revision: 31469 $, $Date: 2011-08-09 13:52:38 +0200 (Tue, 09 Aug 2011) $
Author:
Oliver Tonnhofer, Markus Schneider, last edited by: $Author: mschneider $

Field Summary
protected  boolean citeTestMode
          should the cite test mode be enabled, meaning, that requests should be in the same case as they were defined in the specification?
protected  String[] handledNamespaces
          The namespaces of this service.
protected  Class<T> handledRequests
          An enum with all supported request names.
protected  String[] serviceName
          The abbreviated name of the service.
protected  Version[] supportedConfigVersions
          The supportedConfigVersions of this service implementation.
protected  Version[] supportedVersions
          The supportedVersions of this service implementation.
 
Constructor Summary
ImplementationMetadata()
           
 
Method Summary
 Set<String> getHandledNamespaces()
          Returns the namespaces of request elements handled by the associated controller.
 Set<String> getHandledRequests()
          Returns the (local) names of the requests handled by the associated controller.
 String[] getImplementedServiceName()
           
 Set<Version> getImplementedVersions()
          Returns the OGC versions supported by the associated controller implementation.
 T getRequestTypeByName(String requestName)
          find an enum type by a given name ignoring case, or if the citetest mode is enabled map perfectly.
 Set<Version> getSupportedConfigVersions()
          Returns the configuration file versions supported by the associated controller implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

supportedVersions

protected Version[] supportedVersions
The supportedVersions of this service implementation.


supportedConfigVersions

protected Version[] supportedConfigVersions
The supportedConfigVersions of this service implementation.


handledNamespaces

protected String[] handledNamespaces
The namespaces of this service.


serviceName

protected String[] serviceName
The abbreviated name of the service.


citeTestMode

protected boolean citeTestMode
should the cite test mode be enabled, meaning, that requests should be in the same case as they were defined in the specification?


handledRequests

protected Class<T extends Enum<T>> handledRequests
An enum with all supported request names.

Constructor Detail

ImplementationMetadata

public ImplementationMetadata()
Method Detail

getHandledRequests

public Set<String> getHandledRequests()
Returns the (local) names of the requests handled by the associated controller.

Returns:
the (local) names of the handled requests

getHandledNamespaces

public Set<String> getHandledNamespaces()
Returns the namespaces of request elements handled by the associated controller.

Returns:
the namespaces of the handled requests

getImplementedVersions

public Set<Version> getImplementedVersions()
Returns the OGC versions supported by the associated controller implementation.

Returns:
the supported OGC versions

getSupportedConfigVersions

public Set<Version> getSupportedConfigVersions()
Returns the configuration file versions supported by the associated controller implementation.

Returns:
the supported configuration file versions

getRequestTypeByName

public T getRequestTypeByName(String requestName)
find an enum type by a given name ignoring case, or if the citetest mode is enabled map perfectly.

Parameters:
requestName -
Returns:
the Enum type or null if the request was not found.

getImplementedServiceName

public String[] getImplementedServiceName()
Returns:
the service name


Copyright © 2011. All Rights Reserved.