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

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

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

import java.io.Serializable;

public abstract class ParameterOrArgumentRef implements Serializable {

    private static final long serialVersionUID = 1L;
    protected boolean useCalibratedValue = true;
    protected PathElement[] path;

    public boolean useCalibratedValue() {
        return useCalibratedValue;
    }

    public void setUseCalibratedValue(boolean useCalibratedValue) {
        this.useCalibratedValue = useCalibratedValue;
    }

    /**
     * If the parameter or argument is an aggregate or an array (or a nested structure of these), return the path
     * to the referenced member inside the structure.
     * 
     * @return the path to the referenced member of the aggregate or array or null if this reference refers to the
     *         parameter itself
     */
    public PathElement[] getMemberPath() {
        return path;
    }

    public void setMemberPath(PathElement[] path) {
        this.path = path;
    }

    public abstract String getName();

    public abstract DataType getDataType();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy