package eu.dnetlib.espas.gui.shared;

import com.google.gwt.user.client.rpc.IsSerializable;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by stefania on 5/21/15.
 */
public class ObservedProperty implements IsSerializable {

    private Vocabulary observedProperty;

    private List<Vocabulary> phenomenons = new ArrayList<Vocabulary>();
    private List<Vocabulary> measurands = new ArrayList<Vocabulary>();
    private List<Vocabulary> qualifiers = new ArrayList<Vocabulary>();
    private List<Vocabulary> interactions = new ArrayList<Vocabulary>();
    private Vocabulary propagationMode;

    public ObservedProperty() {
    }

    public ObservedProperty(Vocabulary observedProperty, List<Vocabulary> phenomenons, List<Vocabulary> measurands,
                            List<Vocabulary> qualifiers, List<Vocabulary> interactions, Vocabulary propagationMode) {
        this.observedProperty = observedProperty;
        this.phenomenons = phenomenons;
        this.measurands = measurands;
        this.qualifiers = qualifiers;
        this.interactions = interactions;
        this.propagationMode = propagationMode;
    }

    public Vocabulary getObservedProperty() {
        return observedProperty;
    }

    public void setObservedProperty(Vocabulary observedProperty) {
        this.observedProperty = observedProperty;
    }

    public List<Vocabulary> getPhenomenons() {
        return phenomenons;
    }

    public void setPhenomenons(List<Vocabulary> phenomenons) {
        this.phenomenons = phenomenons;
    }

    public List<Vocabulary> getMeasurands() {
        return measurands;
    }

    public void setMeasurands(List<Vocabulary> measurands) {
        this.measurands = measurands;
    }

    public List<Vocabulary> getQualifiers() {
        return qualifiers;
    }

    public void setQualifiers(List<Vocabulary> qualifiers) {
        this.qualifiers = qualifiers;
    }

    public List<Vocabulary> getInteractions() {
        return interactions;
    }

    public void setInteractions(List<Vocabulary> interactions) {
        this.interactions = interactions;
    }

    public Vocabulary getPropagationMode() {
        return propagationMode;
    }

    public void setPropagationMode(Vocabulary propagationMode) {
        this.propagationMode = propagationMode;
    }
}
