Commits (2)
...@@ -31,6 +31,8 @@ public class ErrorId implements Serializable { ...@@ -31,6 +31,8 @@ public class ErrorId implements Serializable {
private static final long serialVersionUID = -2598466667746276560L; private static final long serialVersionUID = -2598466667746276560L;
public static final ErrorId DEFAULT = new ErrorId("DEFAULT");
public static final ErrorId DEPENDENCIES_NOT_MET = new ErrorId("Dependencies_not_met"); public static final ErrorId DEPENDENCIES_NOT_MET = new ErrorId("Dependencies_not_met");
public static final ErrorId UNKNOWN_ERROR = new ErrorId("Unknown_error"); public static final ErrorId UNKNOWN_ERROR = new ErrorId("Unknown_error");
public static final ErrorId GE_R_NOT_CLOSED = new ErrorId("GE_R_NOT_CLOSED"); public static final ErrorId GE_R_NOT_CLOSED = new ErrorId("GE_R_NOT_CLOSED");
......
...@@ -48,6 +48,10 @@ public class HealingID { ...@@ -48,6 +48,10 @@ public class HealingID {
return "HealingID [idString=" + idString + "]"; return "HealingID [idString=" + idString + "]";
} }
public String getIdString() {
return idString;
}
@Override @Override
public int hashCode() { public int hashCode() {
final int prime = 31; final int prime = 31;
......
...@@ -70,6 +70,7 @@ public class BoundarySurface extends CityObject { ...@@ -70,6 +70,7 @@ public class BoundarySurface extends CityObject {
this.type = type; this.type = type;
} }
public void setGmlObject(AbstractThematicSurface gmlObject) { public void setGmlObject(AbstractThematicSurface gmlObject) {
this.gmlObject = gmlObject; this.gmlObject = gmlObject;
} }
......
...@@ -57,7 +57,8 @@ public class Building extends AbstractBuilding { ...@@ -57,7 +57,8 @@ public class Building extends AbstractBuilding {
if (c.canExecute(this)) { if (c.canExecute(this)) {
c.check(this); c.check(this);
} }
for (BuildingPart bp : buildingParts) { for (int i = 0; i < buildingParts.size(); i++) {
BuildingPart bp = buildingParts.get(i);
bp.accept(c); bp.accept(c);
} }
} }
......