org.deegree_impl.enterprise.control
Class RPCParameter_Impl

java.lang.Object
  extended byorg.deegree_impl.enterprise.control.RPCParameter_Impl
All Implemented Interfaces:
RPCParameter
Direct Known Subclasses:
RPCMember_Impl

public class RPCParameter_Impl
extends java.lang.Object
implements RPCParameter

The class encapsulates a parameter of a RPC. Notice that the value of the parameter may be complex (RPCStruct) or an array.

Version:
$Revision: 1.2 $ $Date: 2003/12/10 10:14:57 $
Author:
Andreas Poth

Field Summary
private  java.lang.Class type
           
private  java.lang.Object value
           
 
Constructor Summary
RPCParameter_Impl(java.lang.Class type, java.lang.Object value)
           
 
Method Summary
 java.lang.Class getType()
          returns the class of the parameter
 java.lang.Object getValue()
          returns the value of the parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

private java.lang.Class type

value

private java.lang.Object value
Constructor Detail

RPCParameter_Impl

public RPCParameter_Impl(java.lang.Class type,
                         java.lang.Object value)
Parameters:
type - class of the parameter
value - the value of the parameter
Method Detail

getType

public java.lang.Class getType()
returns the class of the parameter

Specified by:
getType in interface RPCParameter
Returns:
class of the parameter

getValue

public java.lang.Object getValue()
returns the value of the parameter

Specified by:
getValue in interface RPCParameter
Returns:
the value of the parameter