Beispiel #1
0
 public List<Category> getSortedCompartments() {
   DataSetInformation info = getDataSetInformation();
   if (info != null) {
     FlowCategoryInformation categoryInfo = info.getClassificationInformation();
     return getCompartments(categoryInfo);
   }
   return Collections.emptyList();
 }
Beispiel #2
0
 public String getName() {
   DataSetInformation info = getDataSetInformation();
   if (info != null) {
     FlowName flowName = info.getName();
     if (flowName != null) {
       return LangString.get(flowName.getBaseName());
     }
   }
   return null;
 }
Beispiel #3
0
 public List<org.openlca.ilcd.commons.Class> getSortedClasses() {
   DataSetInformation info = getDataSetInformation();
   if (info != null) {
     FlowCategoryInformation categoryInfo = info.getClassificationInformation();
     if (categoryInfo != null) {
       List<Classification> classifications = categoryInfo.getClassifications();
       if (classifications != null && classifications.size() > 0) {
         return ClassList.sortedList(classifications.get(0));
       }
     }
   }
   return Collections.emptyList();
 }
Beispiel #4
0
 public String getComment() {
   DataSetInformation info = getDataSetInformation();
   if (info != null) return LangString.get(info.getGeneralComment());
   return null;
 }
Beispiel #5
0
 public String getSumFormula() {
   DataSetInformation info = getDataSetInformation();
   if (info != null) return info.getSumFormula();
   return null;
 }
Beispiel #6
0
 public String getCasNumber() {
   DataSetInformation info = getDataSetInformation();
   if (info != null) return info.getCASNumber();
   return null;
 }
Beispiel #7
0
 @Override
 public String getId() {
   DataSetInformation info = getDataSetInformation();
   if (info != null) return info.getUUID();
   return null;
 }