Custom Plugin Help for ResourceExchange creation

I am creating ResourceExchanges and ResourceAssociations in a custom plugin from data in an excel file.  But I cannot find the function call for the following commands, can anyone tell me what the function is?

 

newResourceExchange.setFlow_From_Resource_Performer(elementSource);

newResourceExchange.setFlow_To_Resource_Performer(elementTarget);

newResourceExchange.setConformsTo(listConformsToElements);

newResourceExchange.setConsumingFunction(listConsumingElement);