.getIdentifier(classInfo) | 0x80000000;
try {
offset = helperBinaryConversion.integerConverter.toBinary(binary,
offset, true, Integer.valueOf(classNameIdentifier));
} catch (BinaryConverterException exception) {
throw new ObjectIOException(exception);
}
/*
* record format identifier
*/
try {
offset = helperBinaryConversion.shortConverter
.toBinary(
binary,
offset,
true,
Short.valueOf(RecordFormatIdentifier.RECORD_FORMAT_ID_FOR_CURRENT_RELEASE));
} catch (BinaryConverterException exception) {
throw new ObjectIOException(exception);
}
/*
* joafip release id
*/
try {
offset = helperBinaryConversion.integerConverter.toBinary(binary,
offset, true, Integer.valueOf(Version.JOAFIP_RELEASE_ID));
} catch (BinaryConverterException exception) {
throw new ObjectIOException(exception);
}
/*
* data model identifier
*/
try {
offset = helperBinaryConversion.integerConverter.toBinary(binary,
offset, true, Integer.valueOf(currentDataModelIdentifier));
} catch (BinaryConverterException exception) {
throw new ObjectIOException(exception);
}
/*
* flags
*/
final byte flags = 0;
// if (staticPersistence) {
// flags |= 0x1;
// }
try {
offset = helperBinaryConversion.byteConverter.toBinary(binary,
offset, true, Byte.valueOf(flags));
} catch (BinaryConverterException exception) {
throw new ObjectIOException(exception);
}
return offset;
}