package ac.at.tuwien.infosys.visp.common.resources;

public class OperatorConfiguration {

    private String name;
    private Integer frequency;
    private Double expectedDuration;
    private Double actualDuration;
    private Integer itemsWaiting;
    private Double incomingRate;
    private Double deliveryRate;
    private Double networkUpload;
    private Double networkDownload;
    private ResourceTriple plannedResources;
    private ResourceTriple actualResources;

    public OperatorConfiguration() {
    }

    public OperatorConfiguration(String name, Integer frequency) {
        this.name = name;
        this.frequency = frequency;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getFrequency() {
        return frequency;
    }

    public void setFrequency(Integer frequency) {
        this.frequency = frequency;
    }

    public ResourceTriple getPlannedResources() {
        return plannedResources;
    }

    public void setPlannedResources(ResourceTriple plannedResources) {
        this.plannedResources = plannedResources;
    }

    public ResourceTriple getActualResources() {
        return actualResources;
    }

    public void setActualResources(ResourceTriple actualResources) {
        this.actualResources = actualResources;
    }

    public Double getExpectedDuration() {
        return expectedDuration;
    }

    public void setExpectedDuration(Double expectedDuration) {
        this.expectedDuration = expectedDuration;
    }

    public Double getActualDuration() {
        return actualDuration;
    }

    public void setActualDuration(Double actualDuration) {
        this.actualDuration = actualDuration;
    }

    public Integer getItemsWaiting() {
        return itemsWaiting;
    }

    public void setItemsWaiting(Integer itemsWaiting) {
        this.itemsWaiting = itemsWaiting;
    }

    public Double getIncomingRate() {
        return incomingRate;
    }

    public void setIncomingRate(Double incomingRate) {
        this.incomingRate = incomingRate;
    }

    public Double getNetworkUpload() {
        return networkUpload;
    }

    public void setNetworkUpload(Double networkUpload) {
        this.networkUpload = networkUpload;
    }

    public Double getNetworkDownload() {
        return networkDownload;
    }

    public void setNetworkDownload(Double networkDownload) {
        this.networkDownload = networkDownload;
    }

    public Double getDeliveryRate() {
        return deliveryRate;
    }

    public void setDeliveryRate(Double deliveryRate) {
        this.deliveryRate = deliveryRate;
    }
}

@@ -105,24 +105,55 @@
 tring name;%0A
+    private Integer instances;%0A
     private 
@@ -805,32 +805,194 @@
  = name;%0A    %7D%0A%0A
+    public Integer getInstances() %7B%0A        return instances;%0A    %7D%0A%0A    public void setInstances(Integer instances) %7B%0A        this.instances = instances;%0A    %7D%0A%0A
     public Integ

add instance value to operatorconfiguration