IBM WebSphere Application ServerTM
Release 7

com.ibm.wbiserver.cmpa
Interface WSStreamableRecord

All Superinterfaces:
java.lang.Cloneable, javax.resource.cci.Record, java.io.Serializable, javax.resource.cci.Streamable

public interface WSStreamableRecord
extends javax.resource.cci.Record, javax.resource.cci.Streamable

This interface provides a CCI Record that implements the Streamable interface. Some JCA resource adapters, like CICS ECI, require this. This record only supports containing a single string (such as a CICS COMMAREA); if your JCA interaction requires anything more sophisticated than this, you'll need to either use a Record implementation provided by the JCA resource adapter, or write one yourself. This interface also allows you to set the encoding used for the String, with the default being ASCII if not specified.

An implementation of this interface can be obtained via the createCCIStreamableRecord method of WSProceduralPushDownHelper.

Since:
WBI-SF 5.1

Field Summary
static java.lang.String COPYRIGHT
           
 
Method Summary
 java.lang.String getEncoding()
          Gets the encoding associated with this record's String value.
 java.lang.String getValue()
          Gets the String value associated with this record.
 void setEncoding(java.lang.String encoding)
          Sets the encoding associated with this record's String value.
 void setValue(java.lang.String value)
          Sets the String value associated with this record.
 
Methods inherited from interface javax.resource.cci.Record
clone, equals, getRecordName, getRecordShortDescription, hashCode, setRecordName, setRecordShortDescription
 
Methods inherited from interface javax.resource.cci.Streamable
read, write
 

Field Detail

COPYRIGHT

static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Method Detail

getValue

java.lang.String getValue()
Gets the String value associated with this record.

Returns:
The String stored in this record

setValue

void setValue(java.lang.String value)
Sets the String value associated with this record.

Parameters:
value - The String to be stored in this record

getEncoding

java.lang.String getEncoding()
Gets the encoding associated with this record's String value.

Returns:
The encoding used for this record's String value

setEncoding

void setEncoding(java.lang.String encoding)
Sets the encoding associated with this record's String value.

Parameters:
encoding - The encoding to use for this record's String value

IBM WebSphere Application ServerTM
Release 7