org.drools.benchmark.model.manners.Seating Maven / Gradle / Ivy
/*
* Copyright 2005 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.drools.benchmark.model.manners;
import java.io.*;
public class Seating implements Serializable {
private static final long serialVersionUID = 510l;
private int id, pid;
private int leftSeat, rightSeat;
private String leftGuestName, rightGuestName;
private boolean pathDone;
public Seating() {
}
public Seating( int id, int pid, boolean pathDone,
int leftSeat, String leftGuestName,
int rightSeat, String rightGuestName) {
super();
this.id = id;
this.pid = pid;
this.pathDone = pathDone;
this.leftSeat = leftSeat;
this.leftGuestName = leftGuestName;
this.rightSeat = rightSeat;
this.rightGuestName = rightGuestName;
}
public boolean isPathDone() {
return this.pathDone;
}
public void setPathDone(boolean pathDone) {
this.pathDone = pathDone;
}
public int getId() {
return this.id;
}
public String getLeftGuestName() {
return this.leftGuestName;
}
public int getLeftSeat() {
return this.leftSeat;
}
public int getPid() {
return this.pid;
}
public String getRightGuestName() {
return this.rightGuestName;
}
public int getRightSeat() {
return this.rightSeat;
}
public String toString() {
return "[Seating id=" + this.id + " , pid=" + this.pid + " , pathDone="
+ this.pathDone + " , leftSeat=" + this.leftSeat
+ ", leftGuestName=" + this.leftGuestName + ", rightSeat="
+ this.rightSeat + ", rightGuestName=" + this.rightGuestName
+ "]";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy