com.ibm.j2ca.base
Class WBIRecord

java.lang.Object
  extended bycom.ibm.j2ca.base.WBIRecord
All Implemented Interfaces:
java.lang.Cloneable, javax.resource.cci.Record, java.io.Serializable

public class WBIRecord
extends java.lang.Object
implements javax.resource.cci.Record

Wraps a business object so that it can be passed as a CCI Record between the various Java Connector Architecture CCI interfaces (for example, Interaction.execute)

See Also:
Record, Serialized Form

Constructor Summary
WBIRecord()
           
WBIRecord(commonj.sdo.DataObject dataObj)
           
 
Method Summary
 java.lang.Object clone()
           
 commonj.sdo.DataObject getDataObject()
          Returns the underlying business object for this Record instance.
 java.lang.String getRecordName()
          Returns the name of this Record instance.
 java.lang.String getRecordShortDescription()
          Returns the short description for this Record instance.
 void setDataObject(commonj.sdo.DataObject dataObj)
          Sets the underlying business object for this Record instance.
 void setRecordName(java.lang.String recordName)
          Sets the name for this Record instance.
 void setRecordShortDescription(java.lang.String recordDescr)
          Sets the short description for this Record instance.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.resource.cci.Record
equals, hashCode
 

Constructor Detail

WBIRecord

public WBIRecord()

WBIRecord

public WBIRecord(commonj.sdo.DataObject dataObj)
Method Detail

getRecordName

public java.lang.String getRecordName()
Returns the name of this Record instance.

Specified by:
getRecordName in interface javax.resource.cci.Record
See Also:
Record.getRecordName()

getRecordShortDescription

public java.lang.String getRecordShortDescription()
Returns the short description for this Record instance.

Specified by:
getRecordShortDescription in interface javax.resource.cci.Record
See Also:
Record.getRecordShortDescription()

setRecordName

public void setRecordName(java.lang.String recordName)
Sets the name for this Record instance.

Specified by:
setRecordName in interface javax.resource.cci.Record
See Also:
Record.setRecordName(java.lang.String)

setRecordShortDescription

public void setRecordShortDescription(java.lang.String recordDescr)
Sets the short description for this Record instance.

Specified by:
setRecordShortDescription in interface javax.resource.cci.Record
See Also:
Record.setRecordShortDescription(java.lang.String)

setDataObject

public void setDataObject(commonj.sdo.DataObject dataObj)
Sets the underlying business object for this Record instance.


getDataObject

public commonj.sdo.DataObject getDataObject()
Returns the underlying business object for this Record instance.


clone

public java.lang.Object clone()
Specified by:
clone in interface javax.resource.cci.Record