예제 #1
0
 public List<Category> getSortedCompartments() {
   DataSetInformation info = getDataSetInformation();
   if (info != null) {
     FlowCategoryInformation categoryInfo = info.getClassificationInformation();
     return getCompartments(categoryInfo);
   }
   return Collections.emptyList();
 }
예제 #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;
 }
예제 #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();
 }
예제 #4
0
 public String getComment() {
   DataSetInformation info = getDataSetInformation();
   if (info != null) return LangString.get(info.getGeneralComment());
   return null;
 }
예제 #5
0
 public String getSumFormula() {
   DataSetInformation info = getDataSetInformation();
   if (info != null) return info.getSumFormula();
   return null;
 }
예제 #6
0
 public String getCasNumber() {
   DataSetInformation info = getDataSetInformation();
   if (info != null) return info.getCASNumber();
   return null;
 }
예제 #7
0
 @Override
 public String getId() {
   DataSetInformation info = getDataSetInformation();
   if (info != null) return info.getUUID();
   return null;
 }