The name of the initial branch for new projects is now "main" instead of "master". Existing projects remain unchanged. More information: https://doku.lrz.de/display/PUBLIC/GitLab

Commit 3aca3e0d authored by Stefan Schuhbaeck's avatar Stefan Schuhbaeck
Browse files

Merge changes to attributes setters

parents 08c5785b 9e3edb92
......@@ -13,4 +13,9 @@ public class AttributesAreaDensityVoronoiProcessor extends AttributesAreaProcess
public VRectangle getVoronoiArea() {
return this.voronoiArea;
}
public void setVoronoiArea(VRectangle voronoiArea) {
checkSealed();
this.voronoiArea = voronoiArea;
}
}
......@@ -9,12 +9,12 @@ import org.vadere.util.geometry.shapes.VRectangle;
public class AttributesAreaProcessor extends AttributesProcessor {
private VRectangle measurementArea = new VRectangle(0, 0, 1, 1);
public VRectangle getMeasurementArea() {
return this.measurementArea;
}
public VRectangle getMeasurementArea() {
return this.measurementArea;
}
public void setMeasurementArea(VRectangle measurementArea) {
checkSealed();
this.measurementArea = measurementArea;
}
public void setMeasurementArea(VRectangle measurementArea) {
checkSealed();
this.measurementArea = measurementArea;
}
}
......@@ -12,17 +12,18 @@ public class AttributesAreaSpeedProcessor extends AttributesAreaProcessor {
return this.pedestrianPositionProcessorId;
}
public void setPedestrianPositionProcessorId(int id) {
checkSealed();
this.pedestrianPositionProcessorId = id;
}
public int getPedestrianVelocityProcessorId() {
return this.pedestrianVelocityProcessorId;
}
public int getPedestrianVelocityProcessorId() {
return this.pedestrianVelocityProcessorId;
}
public void setPedestrianVelocityProcessorId(int id) {
checkSealed();
this.pedestrianVelocityProcessorId = id;
}
public void setPedestrianPositionProcessorId(int pedestrianPositionProcessorId) {
checkSealed();
this.pedestrianPositionProcessorId = pedestrianPositionProcessorId;
}
public void setPedestrianVelocityProcessorId(int pedestrianVelocityProcessorId) {
checkSealed();
this.pedestrianVelocityProcessorId = pedestrianVelocityProcessorId;
}
}
......@@ -7,12 +7,12 @@ package org.vadere.state.attributes.processor;
public class AttributesEvacuationTimeProcessor extends AttributesProcessor {
private int pedestrianEvacuationTimeProcessorId;
public int getPedestrianEvacuationTimeProcessorId() {
return this.pedestrianEvacuationTimeProcessorId;
}
public int getPedestrianEvacuationTimeProcessorId() {
return this.pedestrianEvacuationTimeProcessorId;
}
public void setPedestrianEvacuationTimeProcessorId(int id) {
checkSealed();
this.pedestrianEvacuationTimeProcessorId = id;
}
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;
}
}
......@@ -7,12 +7,12 @@ package org.vadere.state.attributes.processor;
public class AttributesMeanPedestrianEvacuationTimeProcessor extends AttributesProcessor {
private int pedestrianEvacuationTimeProcessorId;
public int getPedestrianEvacuationTimeProcessorId() {
return this.pedestrianEvacuationTimeProcessorId;
}
public int getPedestrianEvacuationTimeProcessorId() {
return this.pedestrianEvacuationTimeProcessorId;
}
public void setPedestrianEvacuationTimeProcessorId(int id) {
checkSealed();
this.pedestrianEvacuationTimeProcessorId = id;
}
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;
}
}
......@@ -7,12 +7,12 @@ package org.vadere.state.attributes.processor;
public class AttributesPedestrianEvacuationTimeProcessor extends AttributesProcessor {
private int pedestrianStartTimeProcessorId;
public int getPedestrianStartTimeProcessorId() {
return this.pedestrianStartTimeProcessorId;
}
public int getPedestrianStartTimeProcessorId() {
return this.pedestrianStartTimeProcessorId;
}
public void setPedestrianStartTimeProcessorId(int id) {
checkSealed();
this.pedestrianStartTimeProcessorId = id;
}
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;
}
}
......@@ -12,8 +12,8 @@ public class AttributesPedestrianLastPositionProcessor extends AttributesProcess
return this.pedestrianPositionProcessorId;
}
public void setPedestrianPositionProcessorId(int id){
public void setPedestrianPositionProcessorId(int pedestrianPositionProcessorId) {
checkSealed();
this.pedestrianPositionProcessorId = id;
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