import pebl.HasId;
@XmlAccessorType(XmlAccessType.NONE)
public class Metric implements HasId {
@XmlAttribute(required = true)
@XmlID
<BUG>private final String id;
@XmlAttribute(required = true)
@XmlIDREF</BUG>
private final MetricType metricType;
public Metric() {

import pebl.HasId;
@XmlAccessorType(XmlAccessType.NONE)
public class Metric implements HasId {
@XmlAttribute(required = true)
@XmlID
private final String id;
@XmlIDREF //TODO make it an attribute
private final MetricType metricType;
public Metric() {
