com.prolifics.tconn
Class CArrayRecord

java.lang.Object
  extended by com.prolifics.tconn.CArrayRecord
All Implemented Interfaces:
Closeable, TuxBuffer, java.io.Serializable, java.lang.Cloneable, javax.resource.cci.Record
Direct Known Subclasses:
StringRecord

public class CArrayRecord
extends java.lang.Object
implements javax.resource.cci.Record, Closeable, TuxBuffer

See Also:
Serialized Form

Constructor Summary
CArrayRecord(RecordFactoryImpl rfi)
           
 
Method Summary
 void addIn(java.lang.String name, byte[] b)
           
 void addIn(java.lang.String name, java.lang.String value)
           
 java.lang.Object clone()
           
 void close()
           
 long getBuffer()
           
 byte[] getBytes()
           
 java.lang.String getContents()
           
 java.lang.String getEncoding()
           
 int getLength()
           
 java.lang.String getRecordName()
           
 java.lang.String getRecordShortDescription()
           
 java.lang.String getXML()
           
 void processOutput(int len)
           
 void setBuffer(long buffer)
           
 void setEncoding(java.lang.String encoding)
           
 void setRecordName(java.lang.String n)
           
 void setRecordShortDescription(java.lang.String d)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.resource.cci.Record
equals, hashCode
 

Constructor Detail

CArrayRecord

public CArrayRecord(RecordFactoryImpl rfi)
Method Detail

close

public void close()
           throws javax.resource.ResourceException
Specified by:
close in interface Closeable
Throws:
javax.resource.ResourceException

getRecordName

public java.lang.String getRecordName()
Specified by:
getRecordName in interface javax.resource.cci.Record

setRecordName

public void setRecordName(java.lang.String n)
Specified by:
setRecordName in interface javax.resource.cci.Record

getRecordShortDescription

public java.lang.String getRecordShortDescription()
Specified by:
getRecordShortDescription in interface javax.resource.cci.Record

setRecordShortDescription

public void setRecordShortDescription(java.lang.String d)
Specified by:
setRecordShortDescription in interface javax.resource.cci.Record

getContents

public java.lang.String getContents()

getXML

public java.lang.String getXML()
                        throws javax.resource.ResourceException
Throws:
javax.resource.ResourceException

addIn

public void addIn(java.lang.String name,
                  java.lang.String value)
           throws javax.resource.ResourceException
Specified by:
addIn in interface TuxBuffer
Throws:
javax.resource.ResourceException

addIn

public void addIn(java.lang.String name,
                  byte[] b)
           throws javax.resource.ResourceException
Throws:
javax.resource.ResourceException

getBytes

public byte[] getBytes()
                throws javax.resource.ResourceException
Throws:
javax.resource.ResourceException

processOutput

public void processOutput(int len)
                   throws javax.resource.ResourceException
Specified by:
processOutput in interface TuxBuffer
Throws:
javax.resource.ResourceException

getBuffer

public long getBuffer()
               throws javax.resource.ResourceException
Specified by:
getBuffer in interface TuxBuffer
Throws:
javax.resource.ResourceException

setBuffer

public void setBuffer(long buffer)
Specified by:
setBuffer in interface TuxBuffer

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Specified by:
clone in interface javax.resource.cci.Record
Overrides:
clone in class java.lang.Object
Throws:
java.lang.CloneNotSupportedException

getLength

public int getLength()
              throws javax.resource.ResourceException
Specified by:
getLength in interface TuxBuffer
Throws:
javax.resource.ResourceException

setEncoding

public void setEncoding(java.lang.String encoding)
Specified by:
setEncoding in interface TuxBuffer

getEncoding

public java.lang.String getEncoding()
Specified by:
getEncoding in interface TuxBuffer