Line | |
---|
1 | /************************************************************************************ |
---|
2 | * Copyright (C) 2008 by Politehnica University of Bucharest and Rutgers University |
---|
3 | * All rights reserved. |
---|
4 | * Refer to LICENSE for terms and conditions of use. |
---|
5 | ***********************************************************************************/ |
---|
6 | package vnsim.applications.vitp.predefinedqueries; |
---|
7 | |
---|
8 | import vnsim.applications.vitp.utils.VITPRequest; |
---|
9 | |
---|
10 | public class QueryByVehicleId extends Query { |
---|
11 | |
---|
12 | public int vehicleId; //the id of the vehicle on which |
---|
13 | //this query should be injected |
---|
14 | |
---|
15 | public QueryByVehicleId(VITPRequest req, int vehicleId) { |
---|
16 | super(req); |
---|
17 | this.vehicleId=vehicleId; |
---|
18 | } |
---|
19 | |
---|
20 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.