类 CommAreaRecord
- java.lang.Object
- org.springframework.jca.cci.core.support.CommAreaRecord
- 所有已实现的接口:
Serializable
,Cloneable
,Record
,Streamable
public class CommAreaRecord extends Object implements Record, Streamable
CCI Record implementation for a COMMAREA, holding a byte array.- 从以下版本开始:
- 1.2
- 作者:
- Thierry Templier, Juergen Hoeller
- 另请参阅:
MappingCommAreaOperation
, 序列化表格
构造器概要
构造器 构造器 说明 CommAreaRecord()
Create a new CommAreaRecord.CommAreaRecord(byte[] bytes)
Create a new CommAreaRecord.
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Object
clone()
String
getRecordName()
String
getRecordShortDescription()
void
read(InputStream in)
void
setRecordName(String recordName)
void
setRecordShortDescription(String recordShortDescription)
byte[]
toByteArray()
void
write(OutputStream out)
构造器详细资料
CommAreaRecord
public CommAreaRecord()
Create a new CommAreaRecord.
CommAreaRecord
public CommAreaRecord(byte[] bytes)
Create a new CommAreaRecord.- 参数:
bytes
- the bytes to fill the record with
方法详细资料
setRecordName
public void setRecordName(String recordName)
- 指定者:
setRecordName
在接口中Record
getRecordName
public String getRecordName()
- 指定者:
getRecordName
在接口中Record
setRecordShortDescription
public void setRecordShortDescription(String recordShortDescription)
- 指定者:
setRecordShortDescription
在接口中Record
getRecordShortDescription
public String getRecordShortDescription()
- 指定者:
getRecordShortDescription
在接口中Record
read
public void read(InputStream in) throws IOException
- 指定者:
read
在接口中Streamable
- 抛出:
IOException
write
public void write(OutputStream out) throws IOException
- 指定者:
write
在接口中Streamable
- 抛出:
IOException
toByteArray
public byte[] toByteArray()