|
Sun Adapter for COM/DCOM API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.stc.connector.comadapter.comruntime.STCComSafeArray
public class STCComSafeArray
The STCComSafeArray class, which represents a COM SafeArray in Java, is used to exchange arrays with the methods of generated COM OTDs.
Constructor Summary | |
---|---|
STCComSafeArray()
Constructs a blank STCComSafeArray object. |
Method Summary | |
---|---|
void |
clear()
Clears the content of this object from the previously associated Java array |
java.lang.Object |
getArray()
Gets the Java array associated with this object. |
int |
getArrayDimensions()
Gets the number of array dimensions for the associated Java array |
java.lang.String |
getElementClassName()
Gets the class name for the array element in the associated Java array |
void |
setArray(java.lang.Object newArray)
Sets the Java array associated with this object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public STCComSafeArray()
Method Detail |
---|
public void setArray(java.lang.Object newArray) throws java.lang.IllegalArgumentException
newArray
- The new Java array to associate with this object.
java.lang.IllegalArgumentException
- Thrown if the array validation fails.
Keeps the reference to the previously associated Java array.public java.lang.Object getArray()
Object
- Returns an Object reference representing
the Java array. Cast it to the appropriate Java type before use.
public int getArrayDimensions()
int
- Returns the number of array dimensions for
the associated Java array
public java.lang.String getElementClassName()
String
- Returns the class name for the array element
in the associated Java array.
public void clear()
|
Sun Adapter for COM/DCOM API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |