ATLAS-712 Support getTrait() API (svimal2106 via shwethags)

(cherry picked from commit dd0b051ec58ca292fca1862701e1089ad408e18d)
7 files changed