Canonical accessor framework for java