Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Record / DataClass.getAttributes() safe to use?

    Hi Isomorphic,

    I'm writing a SortNormalizer that depends on the fields a Record has.

    Is it safe to use Record.getAttributes() (or DataClass.getAttributes()) here?

    It is in the 4.1p/5.0p Javadoc, but without text.

    Thank you and best regards,
    Blama

    #2
    We'd recommend that rather than using this method, you iterate through the DataSource fields. This will avoid confusion with internal variables (such as selected state, etc) getting picked up.

    Regards
    Isomorphic Software

    Comment

    Working...
    X