public BusinessObjectDataKey createBusinessObjectDataKey(BusinessObjectData businessObjectData){
  BusinessObjectDataKey businessObjectDataKey=new BusinessObjectDataKey();
  businessObjectDataKey.setNamespace(businessObjectData.getNamespace());
  businessObjectDataKey.setBusinessObjectDefinitionName(businessObjectData.getBusinessObjectDefinitionName());
  businessObjectDataKey.setBusinessObjectFormatUsage(businessObjectData.getBusinessObjectFormatUsage());
  businessObjectDataKey.setBusinessObjectFormatFileType(businessObjectData.getBusinessObjectFormatFileType());
  businessObjectDataKey.setBusinessObjectFormatVersion(businessObjectData.getBusinessObjectFormatVersion());
  businessObjectDataKey.setPartitionValue(businessObjectData.getPartitionValue());
  businessObjectDataKey.setSubPartitionValues(businessObjectData.getSubPartitionValues());
  businessObjectDataKey.setBusinessObjectDataVersion(businessObjectData.getVersion());
  return businessObjectDataKey;
}

public BusinessObjectDataKey createBusinessObjectDataKey ( BusinessObjectData businessObjectData ) { BusinessObjectDataKey businessObjectDataKey = new BusinessObjectDataKey ( ) ; businessObjectDataKey . setNamespace ( businessObjectData . getNamespace ( ) ) ; businessObjectDataKey . setBusinessObjectDefinitionName ( businessObjectData . getBusinessObjectDefinitionName ( ) ) ; businessObjectDataKey . setBusinessObjectFormatUsage ( businessObjectData . getBusinessObjectFormatUsage ( ) ) ; businessObjectDataKey . setBusinessObjectFormatFileType ( businessObjectData . getBusinessObjectFormatFileType ( ) ) ; businessObjectDataKey . setBusinessObjectFormatVersion ( businessObjectData . getBusinessObjectFormatVersion ( ) ) ; businessObjectDataKey . setPartitionValue ( businessObjectData . getPartitionValue ( ) ) ; businessObjectDataKey . setSubPartitionValues ( businessObjectData . getSubPartitionValues ( ) ) ; businessObjectDataKey . setBusinessObjectDataVersion ( businessObjectData . getVersion ( ) ) ; return businessObjectDataKey ; }
creates a business object data key from a business object data dto .
