Ejemplo n.º 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();
 }
Ejemplo n.º 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;
 }