new interface for enum attribute (refs #4175)