org.protege.editor.owl.ui.metrics.AbstractIntegerMetric Maven / Gradle / Ivy
The newest version!
package org.protege.editor.owl.ui.metrics;
/*
* Copyright (C) 2007, University of Manchester
*
*
*/
/**
* Author: Matthew Horridge
* The University Of Manchester
* Bio-Health Informatics Group
* Date: 20-Feb-2007
*/
public abstract class AbstractIntegerMetric extends Metric {
private String metric;
public AbstractIntegerMetric(String name) {
super(name);
}
public String getMetric() {
return metric;
}
public void updateMetric() {
metric = Integer.toString(getIntMetric());
}
protected abstract int getIntMetric();
}