Java DesignModel Example