/*** @returns [1]: Location, [2]: Customer, [3]: Incident*/Object[] getDetails(int id) {...
This sort of passing back values from a method is error prone; it is recommended to declare a small class that holds the objects together.
Details getDetails(int id) {...}private class Details { public Location location; public Customer customer; public Incident incident;}