diff --git a/model/src/main/java/lcsb/mapviewer/model/map/species/Species.java b/model/src/main/java/lcsb/mapviewer/model/map/species/Species.java index 9d631041aae5c0b0ad81aefe798cac8912ce9844..d3c9189cab9238e58d2dcd55fa0c6bd5a57dc30a 100644 --- a/model/src/main/java/lcsb/mapviewer/model/map/species/Species.java +++ b/model/src/main/java/lcsb/mapviewer/model/map/species/Species.java @@ -16,7 +16,6 @@ import org.apache.log4j.Logger; import org.hibernate.annotations.Cascade; import org.hibernate.annotations.CascadeType; -import lcsb.mapviewer.model.map.kinetics.SbmlUnit; import lcsb.mapviewer.model.map.kinetics.SbmlUnitType; import lcsb.mapviewer.model.map.species.field.PositionToCompartment; import lcsb.mapviewer.model.map.species.field.UniprotRecord; diff --git a/rest-api/src/main/java/lcsb/mapviewer/api/projects/models/bioEntities/elements/ElementsRestImpl.java b/rest-api/src/main/java/lcsb/mapviewer/api/projects/models/bioEntities/elements/ElementsRestImpl.java index 328584b77824fea0b7306f782ffb5405456f5965..d2ba60ddee096cfbcf913e6960ee2f00ec05dd0a 100644 --- a/rest-api/src/main/java/lcsb/mapviewer/api/projects/models/bioEntities/elements/ElementsRestImpl.java +++ b/rest-api/src/main/java/lcsb/mapviewer/api/projects/models/bioEntities/elements/ElementsRestImpl.java @@ -165,11 +165,11 @@ public class ElementsRestImpl extends BaseRestImpl { } } else if (column.equals("boundarycondition")) { if (element instanceof Species) { - value = ((Species) element).getBoundaryCondition(); + value = ((Species) element).isBoundaryCondition(); } } else if (column.equals("constant")) { if (element instanceof Species) { - value = ((Species) element).getConstant(); + value = ((Species) element).isConstant(); } } else if (column.equals("references")) { value = createAnnotations(element.getMiriamData());