new interface for enum attribute (refs #4175)
Merge pull request #1 from Eric-Brison/3.2-A4175

add new enum interface (refs #4175)