public BusinessObjectDataCreateRequest createBusinessObjectDataCreateRequest(String namespaceCode,String businessObjectDefinitionName,String businessObjectFormatUsage,String businessObjectFormatFileType,Integer businessObjectFormatVersion,String partitionKey,String partitionValue,String businessObjectDataStatusCode,String storageName,String storageDirectoryPath,List<StorageFile> storageFiles){
  BusinessObjectDataCreateRequest businessObjectDataCreateRequest=new BusinessObjectDataCreateRequest();
  businessObjectDataCreateRequest.setNamespace(namespaceCode);
  businessObjectDataCreateRequest.setBusinessObjectDefinitionName(businessObjectDefinitionName);
  businessObjectDataCreateRequest.setBusinessObjectFormatUsage(businessObjectFormatUsage);
  businessObjectDataCreateRequest.setBusinessObjectFormatFileType(businessObjectFormatFileType);
  businessObjectDataCreateRequest.setBusinessObjectFormatVersion(businessObjectFormatVersion);
  businessObjectDataCreateRequest.setPartitionKey(partitionKey);
  businessObjectDataCreateRequest.setPartitionValue(partitionValue);
  businessObjectDataCreateRequest.setStatus(businessObjectDataStatusCode);
  List<StorageUnitCreateRequest> storageUnits=new ArrayList<>();
  businessObjectDataCreateRequest.setStorageUnits(storageUnits);
  StorageUnitCreateRequest storageUnit=new StorageUnitCreateRequest();
  storageUnits.add(storageUnit);
  storageUnit.setStorageName(storageName);
  if (storageDirectoryPath != null) {
    StorageDirectory storageDirectory=new StorageDirectory();
    storageUnit.setStorageDirectory(storageDirectory);
    storageDirectory.setDirectoryPath(storageDirectoryPath);
  }
  storageUnit.setStorageFiles(storageFiles);
  return businessObjectDataCreateRequest;
}

public BusinessObjectDataCreateRequest createBusinessObjectDataCreateRequest ( String namespaceCode , String businessObjectDefinitionName , String businessObjectFormatUsage , String businessObjectFormatFileType , Integer businessObjectFormatVersion , String partitionKey , String partitionValue , String businessObjectDataStatusCode , String storageName , String storageDirectoryPath , List < StorageFile > storageFiles ) { BusinessObjectDataCreateRequest businessObjectDataCreateRequest = new BusinessObjectDataCreateRequest ( ) ; businessObjectDataCreateRequest . setNamespace ( namespaceCode ) ; businessObjectDataCreateRequest . setBusinessObjectDefinitionName ( businessObjectDefinitionName ) ; businessObjectDataCreateRequest . setBusinessObjectFormatUsage ( businessObjectFormatUsage ) ; businessObjectDataCreateRequest . setBusinessObjectFormatFileType ( businessObjectFormatFileType ) ; businessObjectDataCreateRequest . setBusinessObjectFormatVersion ( businessObjectFormatVersion ) ; businessObjectDataCreateRequest . setPartitionKey ( partitionKey ) ; businessObjectDataCreateRequest . setPartitionValue ( partitionValue ) ; businessObjectDataCreateRequest . setStatus ( businessObjectDataStatusCode ) ; List < StorageUnitCreateRequest > storageUnits = new ArrayList < > ( ) ; businessObjectDataCreateRequest . setStorageUnits ( storageUnits ) ; StorageUnitCreateRequest storageUnit = new StorageUnitCreateRequest ( ) ; storageUnits . add ( storageUnit ) ; storageUnit . setStorageName ( storageName ) ; if ( storageDirectoryPath != null ) { StorageDirectory storageDirectory = new StorageDirectory ( ) ; storageUnit . setStorageDirectory ( storageDirectory ) ; storageDirectory . setDirectoryPath ( storageDirectoryPath ) ; } storageUnit . setStorageFiles ( storageFiles ) ; return businessObjectDataCreateRequest ; }
returns a newly created business object data create request .
