/** * * @param interaction : the interaction to expand * @return the complex generated from this interaction instance */ protected Complex createComplexEntity(T interaction) { String complexName = generateComplexName(interaction); Complex interactionAsComplex = getInteractorFactory().createComplex(complexName, null); InteractorCloner.copyAndOverrideBasicComplexPropertiesWithInteractionProperties(interaction, interactionAsComplex); return interactionAsComplex; }