org.springframework.jca.cci.core.support
Class CommAreaRecord
java.lang.Object
org.springframework.jca.cci.core.support.CommAreaRecord
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, javax.resource.cci.Record, javax.resource.cci.Streamable
public class CommAreaRecord
- extends java.lang.Object
- implements javax.resource.cci.Record, javax.resource.cci.Streamable
CCI Record implementation for a COMMAREA, holding a byte array.
- Since:
- 1.2
- Author:
- Thierry Templier, Juergen Hoeller
- See Also:
MappingCommAreaOperation
,
Serialized Form
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 |
CommAreaRecord
public CommAreaRecord()
- Create a new CommAreaRecord.
- See Also:
read(java.io.InputStream)
CommAreaRecord
public CommAreaRecord(byte[] bytes)
- Create a new CommAreaRecord.
- Parameters:
bytes
- the bytes to fill the record with
setRecordName
public void setRecordName(java.lang.String recordName)
- Specified by:
setRecordName
in interface javax.resource.cci.Record
getRecordName
public java.lang.String getRecordName()
- Specified by:
getRecordName
in interface javax.resource.cci.Record
setRecordShortDescription
public void setRecordShortDescription(java.lang.String recordShortDescription)
- Specified by:
setRecordShortDescription
in interface javax.resource.cci.Record
getRecordShortDescription
public java.lang.String getRecordShortDescription()
- Specified by:
getRecordShortDescription
in interface javax.resource.cci.Record
read
public void read(java.io.InputStream in)
throws java.io.IOException
- Specified by:
read
in interface javax.resource.cci.Streamable
- Throws:
java.io.IOException
write
public void write(java.io.OutputStream out)
throws java.io.IOException
- Specified by:
write
in interface javax.resource.cci.Streamable
- Throws:
java.io.IOException
toByteArray
public byte[] toByteArray()
clone
public java.lang.Object clone()
- Specified by:
clone
in interface javax.resource.cci.Record
- Overrides:
clone
in class java.lang.Object
Copyright © 2002-2008 The Spring Framework.