Hide
original bugid: #6368
While internally passing function Parameters to each other, I stumbled upon a missing add() implementation for org.mmbase.util.functions.Parameters... The thing is that one of my functions (toXML) has a Parameter "wrapbuildername", and another one of my funnctions (relationToXML). Other Parameters are in common. So, I just wanted to .add() the missing one and send the Parameters instance with my to node.getFunctionValue().
Unfortunately, as mentioned earlier, the Parameters.add(); was not implemented... which pretty much sums up my wish for an implementation.
You can use Parameter.Wrapper for the definition, I think is wat you mean.
To copy a complete Parameters into another you could use setAll(parameters.toMap());
Show
original bugid: #6368
While internally passing function Parameters to each other, I stumbled upon a missing add() implementation for org.mmbase.util.functions.Parameters... The thing is that one of my functions (toXML) has a Parameter "wrapbuildername", and another one of my funnctions (relationToXML). Other Parameters are in common. So, I just wanted to .add() the missing one and send the Parameters instance with my to node.getFunctionValue().
Unfortunately, as mentioned earlier, the Parameters.add(); was not implemented... which pretty much sums up my wish for an implementation.
You can use Parameter.Wrapper for the definition, I think is wat you mean.
To copy a complete Parameters into another you could use setAll(parameters.toMap());
While internally passing function Parameters to each other, I stumbled upon a missing add() implementation for org.mmbase.util.functions.Parameters... The thing is that one of my functions (toXML) has a Parameter "wrapbuildername", and another one of my funnctions (relationToXML). Other Parameters are in common. So, I just wanted to .add() the missing one and send the Parameters instance with my to node.getFunctionValue().
Unfortunately, as mentioned earlier, the Parameters.add(); was not implemented... which pretty much sums up my wish for an implementation.