com.ibm.workflow.api
Interface ReadWriteContainer

All Superinterfaces:
Container

public interface ReadWriteContainer
extends Container


Method Summary
 ReadOnlyContainer asReadOnlyContainer()
          In the C-language and Java, converts the read/write container into a read-only container.
 void setBuffer(java.lang.String qualifiedName, byte[] value)
          Sets the value of the specified container leaf element in Java.
 void setBuffer2(java.lang.String qualifiedName, int index, byte[] value)
          Sets the value of the specified container leaf element in Java.
 void setDouble(java.lang.String qualifiedName, double value)
          Sets the value of the specified container leaf element in Java.
 void setDouble2(java.lang.String qualifiedName, int index, double value)
          Sets the value of the specified container leaf element in Java.
 void setLong(java.lang.String qualifiedName, int value)
          Sets the value of the specified container leaf element in Java.
 void setLong2(java.lang.String qualifiedName, int index, int value)
          Sets the value of the specified container leaf element in Java.
 void setString(java.lang.String qualifiedName, java.lang.String value)
          Sets the value of the specified container leaf element in Java.
 void setString2(java.lang.String qualifiedName, int index, java.lang.String value)
          Sets the value of the specified container leaf element in Java.
 
Methods inherited from interface com.ibm.workflow.api.Container
allLeafCount, allLeaves, asStream, getBuffer, getBuffer2, getDouble, getDouble2, getElement, getLong, getLong2, getString, getString2, isEmpty, leafCount, leaves, memberCount, structMembers, type
 

Method Detail

asReadOnlyContainer

public ReadOnlyContainer asReadOnlyContainer()
                                      throws FmcException
In the C-language and Java, converts the read/write container into a read-only container.

Throws:
FmcException - thrown if an API error or a communication error occurred.

setBuffer

public void setBuffer(java.lang.String qualifiedName,
                      byte[] value)
               throws FmcException
Sets the value of the specified container leaf element in Java. The leaf element is of type BINARY. A null argument is not accepted and causes a NullPointerException to be thrown.

Throws:
FmcException - thrown if an API error or a communication error occurred.

setBuffer2

public void setBuffer2(java.lang.String qualifiedName,
                       int index,
                       byte[] value)
                throws FmcException
Sets the value of the specified container leaf element in Java. The leaf element is part of an array and of type BINARY. A null argument is not accepted and causes a NullPointerException to be thrown.

Throws:
FmcException - thrown if an API error or a communication error occurred.

setDouble

public void setDouble(java.lang.String qualifiedName,
                      double value)
               throws FmcException
Sets the value of the specified container leaf element in Java. The leaf element is of type FLOAT.

Throws:
FmcException - thrown if an API error or a communication error occurred.

setDouble2

public void setDouble2(java.lang.String qualifiedName,
                       int index,
                       double value)
                throws FmcException
Sets the value of the specified container leaf element in Java. The leaf element is part of an array and of type FLOAT.

Throws:
FmcException - thrown if an API error or a communication error occurred.

setLong

public void setLong(java.lang.String qualifiedName,
                    int value)
             throws FmcException
Sets the value of the specified container leaf element in Java. The leaf element is of type LONG.

Throws:
FmcException - thrown if an API error or a communication error occurred.

setLong2

public void setLong2(java.lang.String qualifiedName,
                     int index,
                     int value)
              throws FmcException
Sets the value of the specified container leaf element in Java. The leaf element is part of an array and of type LONG.

Throws:
FmcException - thrown if an API error or a communication error occurred.

setString

public void setString(java.lang.String qualifiedName,
                      java.lang.String value)
               throws FmcException
Sets the value of the specified container leaf element in Java. The leaf element is of type STRING.

Throws:
FmcException - thrown if an API error or a communication error occurred.

setString2

public void setString2(java.lang.String qualifiedName,
                       int index,
                       java.lang.String value)
                throws FmcException
Sets the value of the specified container leaf element in Java. The leaf element is part of an array and of type STRING.

Throws:
FmcException - thrown if an API error or a communication error occurred.


© Copyright IBM Corporation 1999, 2008. All Rights Reserved.