Пример #1
0
 public TransferObjectWrapper getObjectWrapper(TransferInputStream tins) {
     allTypeBean = new AllTypeBean();
     allTypeBean.setAboolean(tins.readBoolean());
     allTypeBean.setAbyte(tins.readByte());
     allTypeBean.setAshort(tins.readShort());
     allTypeBean.setAchar(tins.readChar());
     allTypeBean.setAint(tins.readInt());
     allTypeBean.setAlong(tins.readLong());
     allTypeBean.setAfloat(tins.readFloat());
     allTypeBean.setAdouble(tins.readDouble());
     allTypeBean.setAdate(tins.readDate());
     allTypeBean.setAstring(tins.readString());
     return this;
 }
Пример #2
0
 public void setAllTypeBean(AllTypeBean allTypeBean) {
     this.allTypeBean = allTypeBean;
 }
Пример #3
0
 public AllTypeBeanWrapper(AllTypeBean allTypeBean) {
     this.allTypeBean = allTypeBean;
 }