//-----------------------------------------------------------------------------
// File: Vector.h
//-----------------------------------------------------------------------------
// Project: Kactus 2
// Author: Esko Pekkarinen
// Date: 31.07.2015
//
// Description:
// Implementation of ipxact:vector element.
//-----------------------------------------------------------------------------

#include "Vector.h"

//-----------------------------------------------------------------------------
// Function: Vector::Vector()
//-----------------------------------------------------------------------------
Vector::Vector(QString const& left, QString const& right):
Range(left, right)
{
    
}

//-----------------------------------------------------------------------------
// Function: Vector::clone()
//-----------------------------------------------------------------------------
Vector* Vector::clone() const
{
    return new Vector(*this);
}

//-----------------------------------------------------------------------------
// Function: Vector::setId()
//-----------------------------------------------------------------------------
void Vector::setId(QString const& id)
{
    vectorId_ = id;
}

//-----------------------------------------------------------------------------
// Function: Vector::getId()
//-----------------------------------------------------------------------------
QString Vector::getId() const
{
    return vectorId_;
}
