ObjectType[] objectTypes = connector.objectTypes();
if (objectTypes != null) {
for (ObjectType objectType : objectTypes) {
if (!objectType.isClientFacet())
continue;
final TimeUnit timeUnit = timespanMetadata.getTimeInterval().getTimeUnit();
if (timeUnit !=TimeUnit.DAY) {
if (!locationDataOnly&&objectType!=null&&objectType.getName().equals("location"))
continue;
else if (locationDataOnly &&
((objectType==null)||(objectType!=null&&!objectType.getName().equals("location")))){