In one of my components I save a DateField, TextInput, NumericStepper, etc. as a UIComponent which is displayed on the screen. I need a way of retrieving the data that the user inputs into this UIComponent, but my component doesn't know whether it should retrieve the "text" property (TextInput, TextArea), the "value" property (NumericStepper), or the "selectedDate" property (DateField). I could write a long conditional statement to check for the existence of each input and then use the correct property, but I am looking for a more efficient solution.
Thanks in advance! :-)

