12.8.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit 9e3edb92 authored by Stefan Schuhbaeck's avatar Stefan Schuhbaeck
Browse files

Add setter to processor attributes with call to checkSealed

parent 186d58c0
......@@ -13,4 +13,9 @@ public class AttributesAreaDensityVoronoiProcessor extends AttributesAreaProcess
public VRectangle getVoronoiArea() {
return this.voronoiArea;
}
public void setVoronoiArea(VRectangle voronoiArea) {
checkSealed();
this.voronoiArea = voronoiArea;
}
}
......@@ -13,4 +13,9 @@ public class AttributesAreaProcessor extends AttributesProcessor {
public VRectangle getMeasurementArea() {
return this.measurementArea;
}
public void setMeasurementArea(VRectangle measurementArea) {
checkSealed();
this.measurementArea = measurementArea;
}
}
......@@ -16,4 +16,14 @@ public class AttributesAreaSpeedProcessor extends AttributesAreaProcessor {
public int getPedestrianVelocityProcessorId() {
return this.pedestrianVelocityProcessorId;
}
public void setPedestrianPositionProcessorId(int pedestrianPositionProcessorId) {
checkSealed();
this.pedestrianPositionProcessorId = pedestrianPositionProcessorId;
}
public void setPedestrianVelocityProcessorId(int pedestrianVelocityProcessorId) {
checkSealed();
this.pedestrianVelocityProcessorId = pedestrianVelocityProcessorId;
}
}
......@@ -11,4 +11,9 @@ public class AttributesEvacuationTimeProcessor extends AttributesProcessor {
public int getPedestrianEvacuationTimeProcessorId() {
return this.pedestrianEvacuationTimeProcessorId;
}
public void setPedestrianEvacuationTimeProcessorId(int pedestrianEvacuationTimeProcessorId) {
checkSealed();
this.pedestrianEvacuationTimeProcessorId = pedestrianEvacuationTimeProcessorId;
}
}
......@@ -11,4 +11,14 @@ public class AttributesFloorFieldProcessor extends AttributesProcessor {
public double getResolution() {
return resolution;
}
public void setTargetId(int targetId) {
checkSealed();
this.targetId = targetId;
}
public void setResolution(double resolution) {
checkSealed();
this.resolution = resolution;
}
}
......@@ -36,4 +36,23 @@ public class AttributesLogEventProcessor extends AttributesProcessor {
return firstLogEventId;
}
public void setCompartmentIndex(int compartmentIndex) {
checkSealed();
this.compartmentIndex = compartmentIndex;
}
public void setSurveyId(int surveyId) {
checkSealed();
this.surveyId = surveyId;
}
public void setPersonIdOffset(int personIdOffset) {
checkSealed();
this.personIdOffset = personIdOffset;
}
public void setFirstLogEventId(int firstLogEventId) {
checkSealed();
this.firstLogEventId = firstLogEventId;
}
}
......@@ -11,4 +11,9 @@ public class AttributesMeanPedestrianEvacuationTimeProcessor extends AttributesP
public int getPedestrianEvacuationTimeProcessorId() {
return this.pedestrianEvacuationTimeProcessorId;
}
public void setPedestrianEvacuationTimeProcessorId(int pedestrianEvacuationTimeProcessorId) {
checkSealed();
this.pedestrianEvacuationTimeProcessorId = pedestrianEvacuationTimeProcessorId;
}
}
......@@ -21,4 +21,19 @@ public class AttributesPedestrianDensityGaussianProcessor extends AttributesPede
public boolean isObstacleDensity() {
return obstacleDensity;
}
public void setScale(double scale) {
checkSealed();
this.scale = scale;
}
public void setStandardDerivation(double standardDerivation) {
checkSealed();
this.standardDerivation = standardDerivation;
}
public void setObstacleDensity(boolean obstacleDensity) {
checkSealed();
this.obstacleDensity = obstacleDensity;
}
}
......@@ -11,4 +11,9 @@ public class AttributesPedestrianEvacuationTimeProcessor extends AttributesProce
public int getPedestrianStartTimeProcessorId() {
return this.pedestrianStartTimeProcessorId;
}
public void setPedestrianStartTimeProcessorId(int pedestrianStartTimeProcessorId) {
checkSealed();
this.pedestrianStartTimeProcessorId = pedestrianStartTimeProcessorId;
}
}
......@@ -16,4 +16,14 @@ public class AttributesPedestrianFlowProcessor extends AttributesProcessor {
public int getPedestrianDensityProcessorId() {
return this.pedestrianDensityProcessorId;
}
public void setPedestrianVelocityProcessorId(int pedestrianVelocityProcessorId) {
checkSealed();
this.pedestrianVelocityProcessorId = pedestrianVelocityProcessorId;
}
public void setPedestrianDensityProcessorId(int pedestrianDensityProcessorId) {
checkSealed();
this.pedestrianDensityProcessorId = pedestrianDensityProcessorId;
}
}
......@@ -11,4 +11,9 @@ public class AttributesPedestrianLastPositionProcessor extends AttributesProcess
public int getPedestrianPositionProcessorId() {
return this.pedestrianPositionProcessorId;
}
public void setPedestrianPositionProcessorId(int pedestrianPositionProcessorId) {
checkSealed();
this.pedestrianPositionProcessorId = pedestrianPositionProcessorId;
}
}
......@@ -11,4 +11,9 @@ public class AttributesPedestrianOverlapProcessor extends AttributesProcessor {
public double getPedRadius() {
return pedRadius;
}
public void setPedRadius(double pedRadius) {
checkSealed();
this.pedRadius = pedRadius;
}
}
......@@ -13,4 +13,9 @@ public class AttributesPedestrianWaitingEndTimeProcessor extends AttributesProce
public VRectangle getWaitingArea() {
return waitingArea;
}
public void setWaitingArea(VRectangle waitingArea) {
checkSealed();
this.waitingArea = waitingArea;
}
}
......@@ -13,4 +13,9 @@ public class AttributesPedestrianWaitingTimeProcessor extends AttributesProcesso
public VRectangle getWaitingArea() {
return waitingArea;
}
public void setWaitingArea(VRectangle waitingArea) {
checkSealed();
this.waitingArea = waitingArea;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment