java call relation ship