private void getElementName() {//gets the string name of the objects of type base station, hub or client.
        if (this.element instanceof BaseStation) {//if it is instance of Base Station
            this.nombre_elemento = "Base Station";

        } else if (this.element instanceof Client) {//if it is instance of Client
            this.nombre_elemento = "Client";

        } else if (this.element instanceof Hub) {//if it is instance of Hub
            this.nombre_elemento = "Hub";

        }


    }