Added *lightweight* user meta data
Anthony Berglas <[email protected]>
| Newsgroups | gmane.comp.java.orm.simpleorm |
|---|---|
| Message-ID | <[email protected]> |
From the examples:-
public static final SFieldString EMPEE_ID
= (SFieldString) new SFieldString(meta, "Empee*Id", 20,
SScalarFlags.PRIMARY).setQuoted(true)
.putUserProperty("DISPLAY_LABEL", "Employee Nr");
String label = Employee.EMPEE_ID.getUserProperty("DISPLAY_LABEL");
ses.getLogger().message("Employee " + label + ": " +
e100a.getString(e100a.EMPEE_ID) );
TestUte.assertEqual("Employee Nr", label);
Just a simple hash map. Much better than my earlier attempt which
Franck had deleted.
Franck, would this be useful to you in practice?
Anthony
Dr Anthony Berglas, [email protected] Mobile: +61 4 4838 8874
Just because it is possible to push twigs along the ground with ones nose
does not necessarily mean that is the best way to collect firewood.
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/SimpleORM/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/SimpleORM/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[email protected]
mailto:[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/