All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.MDingas.ALTO.Costs.Cost Maven / Gradle / Ivy

Go to download

Proprosed ALTO library to enable roles for ALTO Client, ALTO Server and third party content uploaders

The newest version!
package com.github.MDingas.ALTO.Costs;

/**
 * Concrete specification of a CostInfo, thus including the actual value
 * If the cost is numerical, simply add the string representation of it
 */
public class Cost extends CostInfo {
    private String value;

    public Cost() {
        super();
        this.value = "";
    }

    public Cost(String value) {
        this.value = value;
    }

    public Cost(CostMode mode, String metric, String description, String value) {
        super(mode, metric, description);
        this.value = value;
    }

    public Cost(CostInfo c, String value) {
        super(c);
        this.value = value;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String toString() {
        return "teste numero 1";
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy