added getters and setters to the metric key. now we can use jpf to
listen to these and construct the 4-tuple as well as construct metrics
listening to the addMetric of metric manager.