| commit | 4ad420e6d9b7a46cee81ecb16e473256533f122e | [log] [tgz] |
|---|---|---|
| author | Shawn O. Pearce <sop@google.com> | Mon Dec 29 10:34:01 2008 -0800 |
| committer | Shawn O. Pearce <sop@google.com> | Mon Dec 29 10:44:11 2008 -0800 |
| tree | cab26ea78782f307281bc98bcd8c9a3440598530 | |
| parent | 1371e9c56136d357f1ac46fc0a476e0724f23135 [diff] |
Cleanup the meaning of "key" vs. "id" in our entity classes We now use "Foo.Id" of any keys which are numerical, and have getId() accessors to read those keys. For any other keys we use "Foo.Key" and read them with getKey(). All PrimaryKey and SecondaryKey queries now use get() as their access method, rather than byFoo in some cases and get() in others. This simplifies callers when they are doing key based lookups for an entity. Signed-off-by: Shawn O. Pearce <sop@google.com>