generate all for all domain class