01: /*
02: * Copyright 2005 JBoss Inc
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16: package org.drools.examples.manners;
17:
18: import java.io.Serializable;
19:
20: public class LastSeat implements Serializable {
21: /**
22: *
23: */
24: private static final long serialVersionUID = 400L;
25: private int seat;
26:
27: public LastSeat() {
28: }
29:
30: public LastSeat(final int seat) {
31: this .seat = seat;
32: }
33:
34: public int getSeat() {
35: return this .seat;
36: }
37:
38: public String toString() {
39: return "[LastSeat seat=" + this .seat + "]";
40: }
41: }
|