Novell exteNd Web Services SDK API

com.sssw.jbroker.web.holders
Class BigDecimalHolder

java.lang.Object
  extended bycom.sssw.jbroker.web.holders.BigDecimalHolder
All Implemented Interfaces:
Holder, Holder

Deprecated. As of jBroker 2.0

public class BigDecimalHolder
extends Object
implements Holder

A holder class for a BigDecimal object that is used to store inout or out parameters in remote method calls. When calling a remote service that has a BigDecimal object as an inout or out parameter, the programmer must pass an instance of BigDecimalHolder as the corresponding parameter in the method invocation. The input value must be set before invoking for inout paramters using the setValue method. Before the invocation returns, the runtime has filled in the value, which the programmer can access using the getResult method.

See Also:
BigDecimalHolder

Field Summary
 BigDecimal value
          Deprecated. The return value held by this result object.
 
Constructor Summary
BigDecimalHolder()
          Deprecated. Default constructor for BigDecimalHolder.
BigDecimalHolder(BigDecimal value)
          Deprecated. Construct a BigDecimalHolder with the specified value.
 
Method Summary
 BigDecimal getResult()
          Deprecated. Get the result held within this BigDecimalHolder.
 void read(InputStream is)
          Deprecated. Read the contents of this holder from an input stream.
 void setValue(BigDecimal value)
          Deprecated. Set the value held within this BigDecimalHolder.
 void write(OutputStream os, String name)
          Deprecated. Write the contents of this holder to an output stream.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public BigDecimal value
Deprecated. 
The return value held by this result object.

Constructor Detail

BigDecimalHolder

public BigDecimalHolder()
Deprecated. 
Default constructor for BigDecimalHolder.


BigDecimalHolder

public BigDecimalHolder(BigDecimal value)
Deprecated. 
Construct a BigDecimalHolder with the specified value. The value will be used as an input parameter when invoking the remote service.

Parameters:
value - The value held by this holder.
Method Detail

getResult

public BigDecimal getResult()
Deprecated. 
Get the result held within this BigDecimalHolder. The value will be available after successfull invocation of the remote service.

Returns:
The return value.

setValue

public void setValue(BigDecimal value)
Deprecated. 
Set the value held within this BigDecimalHolder. The value will be used as an input parameter when invoking the remote service.

Parameters:
value - The new value to be held by this holder.

read

public void read(InputStream is)
          throws IOException
Deprecated. 
Read the contents of this holder from an input stream.

Specified by:
read in interface Holder
Parameters:
is - The input stream.
Throws:
IOException - If an I/O error occurs.

write

public void write(OutputStream os,
                  String name)
           throws IOException
Deprecated. 
Write the contents of this holder to an output stream.

Specified by:
write in interface Holder
Parameters:
os - The output stream.
name - The parameter name.
Throws:
IOException - If an I/O error occurs.

Novell exteNd Web Services SDK API

exteNd is a registered trademark of Novell, Inc.
Copyright 1998-2003 Novell, Inc. All Rights Reserved.