Data model access example in Java