[SOLVED] SetName of Operator/Process

zis
zis New Altair Community Member
edited November 5 in Community Q&A
Hi,

I'll need to set a name of process. Process is a root node operator with atribute name.

For example:
<operator activated="true" class="process" compatibility="5.1.014" expanded="true" name="NameOfProcess">
Now I want to rename this Process, but I dont know how. If I take a root node:
process.getRootOperator()
He has not method setName, only getName. Is any way, how to set a name of process/operator through rapidminer api (5.1)??

Thanks for ideas

Answers

  • Marco_Boeck
    Marco_Boeck New Altair Community Member
    Hi,

    process.getRootOperator().rename("Oh...");  ;)

    Regards,
    Marco
  • zis
    zis New Altair Community Member
    Haha,

    no way :), thanks a lot and sorry for my blindness.

    Regards,
    John