Exemple #1
0
 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();
 }
Exemple #2
0
 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;
 }