@Override public void readData(ObjectDataInput in) throws IOException { recordIdx = in.readInt(); BackingData.setLong(FamilyId, in.readLong(), recordIdx, backing); BackingData.setShort(MemberId, in.readShort(), recordIdx, backing); // backing.read(recordIdx, 1, in); }
@Override public void writeData(ObjectDataOutput out) throws IOException { out.writeInt(recordIdx); out.writeLong(BackingData.getLong(FamilyId, recordIdx, backing)); out.writeShort(BackingData.getShort(MemberId, recordIdx, backing)); // backing.write(recordIdx, 1, out); }
public final long getFamilyId() { return BackingData.getLong(FamilyId, recordIdx, backing); }
public final void setFamilyId(long value) { BackingData.setLong(FamilyId, value, recordIdx, backing); }
public final short getMemberId() { return BackingData.getShort(MemberId, recordIdx, backing); }
public final void setMemberId(short value) { BackingData.setShort(MemberId, value, recordIdx, backing); }