Trimonoecy
Trimonoecy, also called polygamomonoecy, is when male, female, and hermaphrodite flowers are on the same plant. Trimonoecy is rare.
It is a monomorphic sexual system along with monoecy, gynomonoecy, and andromonoecy. It is hypothesized that trimonoecy originated from gynomonoecy.