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

org.yamcs.xtce.ValueEnumeration Maven / Gradle / Ivy

There is a newer version: 5.10.7
Show newest version
package org.yamcs.xtce;

import java.io.Serializable;

public class ValueEnumeration implements Serializable {
    private static final long serialVersionUID = 2011023231432L;
    long value;

    String label;
    String description;

    public ValueEnumeration(long value, String label) {
        this.value = value;
        this.label = label;
    }

    public long getValue() {
        return value;
    }

    public String getLabel() {
        return label;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "(" + value + "=" + label + ")";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy