org.deegree_impl.model.gp
Class GP_GridCoverageProcessor_Impl

java.lang.Object
  extended byorg.deegree_impl.model.gp.GP_GridCoverageProcessor_Impl
All Implemented Interfaces:
GP_GridCoverageProcessor, java.rmi.Remote

class GP_GridCoverageProcessor_Impl
extends java.lang.Object
implements GP_GridCoverageProcessor

Allows for different ways of accessing the grid coverage values.

Since:
1.00
Version:
1.00

Constructor Summary
(package private) GP_GridCoverageProcessor_Impl()
           
 
Method Summary
 GP_GridAnalysis analyse(GC_GridCoverage gridCoverage)
          Creates a GP_GridAnalysis interface from a grid coverage.
 GC_GridCoverage doOperation(java.lang.String operationName, GC_Parameter[] parameters)
          Apply a process operation to a grid coverage.
 java.lang.String[] getMetadataNames()
          Retrieve the list of metadata keywords for the interface.
 java.lang.String getMetadataValue(java.lang.String name)
          Retrieve the metadata value for a given metadata name.
 int getNumOperations()
          The number of operations supported by the GP_GridCoverageProcessor.
 GP_Operation getOperation(int index)
          Retrieve a grid processing operation information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GP_GridCoverageProcessor_Impl

GP_GridCoverageProcessor_Impl()
Method Detail

analyse

public GP_GridAnalysis analyse(GC_GridCoverage gridCoverage)
                        throws java.rmi.RemoteException
Creates a GP_GridAnalysis interface from a grid coverage. This allows grid analysis functions to be performed on a grid coverage.

Specified by:
analyse in interface GP_GridCoverageProcessor
Parameters:
gridCoverage - Grid coverage on which the analysis will be performed.
Returns:
a new GP_GridAnalysis interface.
Throws:
java.rmi.RemoteException - if a remote method call failed.

doOperation

public GC_GridCoverage doOperation(java.lang.String operationName,
                                   GC_Parameter[] parameters)
                            throws java.rmi.RemoteException
Apply a process operation to a grid coverage.

Specified by:
doOperation in interface GP_GridCoverageProcessor
Parameters:
operationName - Name of the operation to be applied to the grid coverage.
parameters - List of name value pairs for the parameters required for the operation.
Returns:
the grid coverage which has been applied the process operation.
Throws:
java.rmi.RemoteException - if a remote method call failed.

getMetadataNames

public java.lang.String[] getMetadataNames()
                                    throws java.rmi.RemoteException
Retrieve the list of metadata keywords for the interface.
An empty list will returned if no metadata is available.

Specified by:
getMetadataNames in interface GP_GridCoverageProcessor
Returns:
the list of metadata keywords for the interface.
Throws:
java.rmi.RemoteException - if a remote method call failed.

getMetadataValue

public java.lang.String getMetadataValue(java.lang.String name)
                                  throws java.rmi.RemoteException
Retrieve the metadata value for a given metadata name.

Specified by:
getMetadataValue in interface GP_GridCoverageProcessor
Parameters:
name - Metadata keyword for which to retrieve metadata.
Returns:
the metadata value for a given metadata name.
Throws:
java.rmi.RemoteException - if a remote method call failed.

getNumOperations

public int getNumOperations()
                     throws java.rmi.RemoteException
The number of operations supported by the GP_GridCoverageProcessor.

Specified by:
getNumOperations in interface GP_GridCoverageProcessor
Returns:
the number of operations supported by the GP_GridCoverageProcessor.
Throws:
java.rmi.RemoteException - if a remote method call failed.

getOperation

public GP_Operation getOperation(int index)
                          throws java.rmi.RemoteException
Retrieve a grid processing operation information. The operation information will contain the name of the operation as well as a list of its parameters.

Specified by:
getOperation in interface GP_GridCoverageProcessor
Parameters:
index - Index for which to retrieve the operation information.
Returns:
a grid processing operation information.
Throws:
java.rmi.RemoteException - if a remote method call failed.