QMMetric.java 文件源码

java
阅读 16 收藏 0 点赞 0 评论 0

项目:u-qasar.platform 作者:
@JsonCreator
public QMMetric(
        @JsonProperty("name") final String name,
        @JsonProperty("children") final List<QMMetric> children,
        @JsonProperty("description") final String description,
        @JsonProperty("lowerLimit") final float lowerLimit,
        @JsonProperty("scale") final Scale scale,
        @JsonProperty("source") final MetricSource source,
        @JsonProperty("targetValue") final float targetValue,
        @JsonProperty("unit") final Unit unit,
        @JsonProperty("upperLimit") final float upperLimit,
        @JsonProperty("weight") final float weight) {

    this.setName(name);
    this.setDescription(description);
    this.setCompleted(true);
    this.setLowerLimit((double) lowerLimit);
    this.setScale(scale);
    this.setSource(source);
    this.setTargetValue(targetValue);
    this.setUnit(unit);
    this.setUpperLimit((double) upperLimit);
    this.setWeight(weight);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号