Merge "Added .gitreview file"
[packetcable.git] / protocol_plugins.packetcable / src / main / java / org / pcmm / objects / PCMMResourcesMapper.java
1 /**
2  @header@
3  */
4 package org.pcmm.objects;
5
6 /**
7  *
8  * Resources mapper used to associate a key to a set of values
9  */
10 public class PCMMResourcesMapper<M, T extends PCMMResource> {
11
12     private M key;
13
14     private T value;
15
16     public PCMMResourcesMapper() {
17     }
18
19     public PCMMResourcesMapper(M key, T value) {
20         this.key = key;
21         this.value = value;
22     }
23
24     public M getKey() {
25         return key;
26     }
27
28     public void setKey(M key) {
29         this.key = key;
30     }
31
32     public T getValue() {
33         return value;
34     }
35
36     public void setValue(T value) {
37         this.value = value;
38     }
39 }