@XmlAttribute(required = true)
private final String description;
@XmlAttribute(required = true)
private final String unit;
public MetricType() {
<BUG>this(new ValueType(), "", "", "");
</BUG>
}
public MetricType(ValueType dataType, String id, String description, String unit) {
this.dataType = Objects.requireNonNull(dataType);

@XmlAttribute(required = true)
private final ValueType dataType;
@XmlAttribute(required = true)
@XmlID
private final String id;
@XmlAttribute(required = true)
private final String description;
@XmlAttribute(required = true)
private final String unit;
public MetricType() {
this(ValueType.STRING, "", "", "");
}
public MetricType(ValueType dataType, String id, String description, String unit) {
this.dataType = Objects.requireNonNull(dataType);
