public List<Category> getSortedCompartments() { DataSetInformation info = getDataSetInformation(); if (info != null) { FlowCategoryInformation categoryInfo = info.getClassificationInformation(); return getCompartments(categoryInfo); } return Collections.emptyList(); }
public String getName() { DataSetInformation info = getDataSetInformation(); if (info != null) { FlowName flowName = info.getName(); if (flowName != null) { return LangString.get(flowName.getBaseName()); } } return null; }
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(); }
public String getComment() { DataSetInformation info = getDataSetInformation(); if (info != null) return LangString.get(info.getGeneralComment()); return null; }
public String getSumFormula() { DataSetInformation info = getDataSetInformation(); if (info != null) return info.getSumFormula(); return null; }
public String getCasNumber() { DataSetInformation info = getDataSetInformation(); if (info != null) return info.getCASNumber(); return null; }
@Override public String getId() { DataSetInformation info = getDataSetInformation(); if (info != null) return info.getUUID(); return null; }