Sun Adapter for COM/DCOM API

com.stc.connector.appconn.com.otd.types
Class ShortRef

java.lang.Object
  extended by com.stc.connector.appconn.com.otd.types.ShortRef

public class ShortRef
extends java.lang.Object

The ShortRef class is used in cases where the method parameter is an [in,out] or [out] type.


Constructor Summary
ShortRef()
          Constructor for the class.
ShortRef(short initValue)
          Constructor for the class.
 
Method Summary
 short getValue()
          Gets the value.
 void setValue(short newValue)
          Sets the value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShortRef

public ShortRef()
Constructor for the class. Provides no initialization of the value held.

Parameters:
None.
Throws:
None.


ShortRef

public ShortRef(short initValue)
Constructor for the class.

Parameters:
initValue - The value to set.
Throws:
None.
Method Detail

setValue

public void setValue(short newValue)
Sets the value.

Parameters:
newValue - The value to set.

getValue

public short getValue()
Gets the value.

Parameters:
None.

Returns:
short - Returns the value.
Throws:
None.

Sun Adapter for COM/DCOM API

Copyright © 1994-2008 Sun Microsystems, Inc. All rights reserved.