/**
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 *
 * Copyright (C)
 * <a href="http://www.inab.org">Spanish National Institute of Bioinformatics (INB)</a>
 * <a href="http://www.bsc.es">Barcelona Supercomputing Center (BSC)</a>
 * <a href="http://inb.bsc.es">Computational Node 6</a>
 */

package org.inb.lsae;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlType(name="")
@XmlRootElement(name = "step_progress")
public class StepProgress implements Event
{
    private String totalSteps;
    private String stepsCompleted;

    @XmlAttribute(name = "total_steps")
    public String getTotalSteps()
    {
        return totalSteps;
    }

    public void setTotalSteps(String totalSteps)
    {
        this.totalSteps = totalSteps;
    }

    @XmlAttribute(name = "steps_completed", required = true)
    public String getStepsCompleted()
    {
        return stepsCompleted;
    }

    public void setStepsCompleted(String stepsCompleted)
    {
        this.stepsCompleted = stepsCompleted;
    }
}
