Interface IDataField


public interface IDataField
Represents a single field in the incoming data.
  • Method Details

    • getValue

      Object getValue()
      Returns:
      The value of the field. Different data types will use different Java classes for values
    • setValue

      void setValue(Object pValue)
      Modifies the field's value
      Parameters:
      pValue - The modified value
    • getCustomAttr

      String getCustomAttr()
      Returns:
      A custom attribute value supplied by the app author
    • getCustomDataType

      String getCustomDataType()
      Returns:
      A custom data type supplied by custom widget creators
    • getCustomProps

      Map<String,Object> getCustomProps()
      Returns all props of a custom widget, as defined by the app author
      Returns:
      a map of props
    • getDataType

      String getDataType()
      Returns:
      The basic data type for the field: boolean, string, decimal, integer, date, time, dateTime, complex, selectMany, surveyQuestionMulti, attachment, namePicker, richTextArea
    • getLabel

      String getLabel()
      Returns:
      The label of a field. To help with troubleshooting and reporting of issues only. Should not be used to infer any meaning.
    • getId

      String getId()
      Returns:
      The ID of the field, such as F_EmployeeID
    • getUiType

      String getUiType()
      Returns:
      The type of UI widget associated with this data