From 805ed4695aa5fc62c23c9b3b185db0f4e8354093 Mon Sep 17 00:00:00 2001 From: awagner Date: Tue, 10 Oct 2023 15:22:51 +0200 Subject: [PATCH] added new Plan setter and getter UnsupportedOperationException to LCPlan.java --- .../locationchoice/zzunused/LCPlan.java | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/contribs/locationchoice/src/main/java/org/matsim/contrib/locationchoice/zzunused/LCPlan.java b/contribs/locationchoice/src/main/java/org/matsim/contrib/locationchoice/zzunused/LCPlan.java index 75da3189c3a..b92cf6ebe7f 100644 --- a/contribs/locationchoice/src/main/java/org/matsim/contrib/locationchoice/zzunused/LCPlan.java +++ b/contribs/locationchoice/src/main/java/org/matsim/contrib/locationchoice/zzunused/LCPlan.java @@ -285,4 +285,35 @@ else if (planElement instanceof Leg) { destPlan.score = srcPlan.getScore(); } + @Override + public void setPlanId(String planId) { + throw new UnsupportedOperationException(); + + } + + @Override + public String getPlanId() { + throw new UnsupportedOperationException(); + } + + @Override + public int getIterationCreated() { + throw new UnsupportedOperationException(); + } + + @Override + public void setIterationCreated(int iteration) { + throw new UnsupportedOperationException(); + } + + @Override + public String getPlanMutator() { + throw new UnsupportedOperationException(); + } + + @Override + public void setPlanMutator(String planMutator) { + throw new UnsupportedOperationException(); + } + }