org.springframework.jca.cci.core.support
Class CommAreaRecord
java.lang.Object
org.springframework.jca.cci.core.support.CommAreaRecord
public class CommAreaRecord
- extends java.lang.Object
CCI Record implementation for a COMMAREA, holding a byte array.
- Since:
- 1.2
- Author:
- Thierry Templier, Juergen Hoeller
- See Also:
MappingCommAreaOperation
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bytes
private byte[] bytes
recordName
private java.lang.String recordName
recordShortDescription
private java.lang.String recordShortDescription
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)
getRecordName
public java.lang.String getRecordName()
setRecordShortDescription
public void setRecordShortDescription(java.lang.String recordShortDescription)
getRecordShortDescription
public java.lang.String getRecordShortDescription()
read
public void read(java.io.InputStream in)
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(java.io.OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
toByteArray
public byte[] toByteArray()
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object