presentRequest.numberOfRecordsRequested = BigInteger.valueOf(this.numOfRecords);
presentRequest.preferredRecordSyntax = ProtocolOIDRegister.getInstance().lookupByName(this.recordFormat).getValue();
if (this.elementSetName != null)
{
ElementSetNames_type elementSetNameType = new ElementSetNames_type();
elementSetNameType.which = ElementSetNames_type.genericelementsetname_CID;
elementSetNameType.o = this.elementSetName;
presentRequest.recordComposition = new recordComposition_inline9_type();
presentRequest.recordComposition.which = recordComposition_inline9_type.simple_CID;