Add missing license headers to packetcable-driver objects
[packetcable.git] / packetcable-driver / src / main / java / org / pcmm / objects / PCMMIDHolder.java
1 /*
2  * Copyright (c) 2014 Cable Television Laboratories, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.pcmm.objects;
10
11 /**
12  * this class holds and maps flow ID to PCMM gate ID and Transaction ID
13  *
14  */
15 public class PCMMIDHolder extends PCMMResource {
16
17     /**
18      * flow id.
19      */
20     private int flowID;
21     /**
22      * gate id.
23      */
24     private int gateID;
25     /**
26      * transaction id.
27      */
28     private short transactionID;
29
30     public PCMMIDHolder(int flowID, int gateID, short transactionID) {
31         this.flowID = flowID;
32         this.gateID = gateID;
33         this.transactionID = transactionID;
34
35     }
36
37     public PCMMIDHolder() {
38
39     }
40
41     public int getFlowID() {
42         return flowID;
43     }
44
45     public void setFlowID(int flowID) {
46         this.flowID = flowID;
47     }
48
49     public int getGateID() {
50         return gateID;
51     }
52
53     public void setGateID(int gateID) {
54         this.gateID = gateID;
55     }
56
57     public short getTransactionID() {
58         return transactionID;
59     }
60
61     public void setTransactionID(short transactionID) {
62         this.transactionID = transactionID;
63     }
64
65 }