如何使所有要求从IBM Rational Doors中的要求ID开始(在括号内)?
我有3个属性:
- ID
- 文本
- 是需要的吗?
以下是我想要的示例:
之前:
ID Text Is Requirement?
AB45 3.1.2 Apples FALSE
AB46 All apples shall be red. TRUE
之后:
ID Text Is Requirement?
AB45 3.1.2 Apples FALSE
AB46 [AB46] All apples shall be red. TRUE
是否有一种程序化方法可以将ID添加到“文本”的正面,仅在“是要求”的情况下?是真的吗?如果是这样,代码到底在哪里,您将如何执行?它会是附加的DXL属性吗?
I have 3 attributes:
- ID
- Text
- Is Requirement?
Here's an example of what I want:
Before:
ID Text Is Requirement?
AB45 3.1.2 Apples FALSE
AB46 All apples shall be red. TRUE
After:
ID Text Is Requirement?
AB45 3.1.2 Apples FALSE
AB46 [AB46] All apples shall be red. TRUE
Is there a programmatic way to add ID's to the front of the "Text", only if "Is Requirement?" is TRUE? If so, where exactly would the code go and how would you execute it? Would it be an additional DXL attribute?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不是直接。可以计算或手动填充属性,而不是同时进行。也许您可能希望有两个视图,一个“编辑视图”,一个“显示需求视图”。在后者中,您不会显示主列(主列显示“对象标题”和“对象文本”),但是您将拥有带有类似代码的DXL布局列:
Not directly. An attribute can either be calculated or manually filled, not both at the same time. Perhaps you might want to have two views, one "Edit view", one "Show Requirements View". In the latter, you will not show the main column (main column shows "Object Heading" and "Object Text"), but you will have a DXL Layout column with a code like this: