public List<Label> getLocation() { FlowInformation info = flow.getFlowInformation(); if (info == null) return Collections.emptyList(); Geography geo = info.getGeography(); if (geo == null) return Collections.emptyList(); else return geo.getLocation(); }
public Integer getReferenceFlowPropertyId() { FlowInformation info = flow.getFlowInformation(); if (info != null) { QuantitativeReference qRef = info.getQuantitativeReference(); if (qRef != null && qRef.getReferenceFlowProperty() != null) { return qRef.getReferenceFlowProperty().intValue(); } } return null; }