Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Why is Char. Data not supported in Process Configuration XML

A partner prefers to store some of the Process Configuration data as XML Element Character Data rather than XML element attribute data, because multiline text data can be more easily in Character Data than as an attribute value. See Work Item 151347 (https://jazz.net/jazz/web/projects/Jazz%20Foundation#action=com.ibm.team.workitem.viewWorkItem&id=151347) for the enhancement request. This is to store the configuration needed for a custom Process Participant being developed by the partner.

Why was the internal method com.ibm.team.process.internal.common.model.settings.ProcessConfigurationElement.getCharacterData() not exposed in the com.ibm.team.process.common.IProcessConfigurationElement interface class? What are the risks of using the non-public method to access the Character Data?

Thanks,
Samit Mehta
IBM Rational Business Development

0 votes



One answer

Permanent link
The Process component interfaces were deliberately kept to a minimum when they were designed. I was not around at the time, but Isuspect that no client needed the character data method and thus it was never promoted to the interface. Please file an enhancement request if you need a new method on IProcessConfigurationElement.

The risk of using a non-public method is that it may be changed or removed in any future release without any notification or adoption instructions.

Regards,
Martha
Jazz Developer, Process Component

A partner prefers to store some of the Process Configuration data as XML Element Character Data rather than XML element attribute data, because multiline text data can be more easily in Character Data than as an attribute value. See Work Item 151347 (https://jazz.net/jazz/web/projects/Jazz%20Foundation#action=com.ibm.team.workitem.viewWorkItem&id=151347) for the enhancement request. This is to store the configuration needed for a custom Process Participant being developed by the partner.

Why was the internal method com.ibm.team.process.internal.common.model.settings.ProcessConfigurationElement.getCharacterData() not exposed in the com.ibm.team.process.common.IProcessConfigurationElement interface class? What are the risks of using the non-public method to access the Character Data?

Thanks,
Samit Mehta
IBM Rational Business Development

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jan 27 '11, 9:57 a.m.

Question was seen: 6,577 times

Last updated: Jan 27 '11, 9:57 a.m.

Confirmation Cancel Confirm