on 01-22-2018 1:23 PM
Hi,
I am new to PowerDesigner and am trying to figure out a few things. I'm hoping that someone out there would be able to assist.
1. Display preferences per diagram - How do I set Display Preferences for ALL class diagrams? Not per diagram.
2. How do I display custom attributes, inherited from the parent class, with its values on all classes?
3. How do I copy the definitions from the glossary terms to the objects where they are used, e.g. classes and attributes? I would also like to keep it in sync after an update is made to the term and it is approved.
4. For attributes that have a code and value (e.g. country code), what would be the best way to model this? I know that it would be possible to use a domain but is there any other option? Note: I would like to display the values in the class diagrams.
5. If I create term name as you would spell it in the real world (e.g. Account Management), and I selected "Enable Glossary for autocompletion and compliance checking", a dependency gets created to Account, Management and Account Management. This is not what I want. Is there a way to set up options such that it creates a dependency on the code rather than the name? Code in this example would be Account_Management.
Thanks in advance for your assistance!
Regards,
Mark
Welcome to PowerDesigner, Mark 🙂
Here are short answers to your questions. From your questions, it looks like you're using the object-oriented model, so I'll answer them from that perspective.
That's an interesting set of questions!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi George,
Thanks for your response! And yes we are using the object-oriented model. 🙂
Example for question 2: I have 2 classes, i.e. class1 (parent) and class2 (child) and I create a generalization between them. Class1 has a custom attribute called "GDPR Relevant". FYI, this attribute was created by clicking on the "Property Sheet Menu" button at the bottom left corner of the class properties. I would like this custom attribute to be displayed at the child. I have seen that it is possible to display the attributes on the attribute tab at the child classes. I would like the custom attribute to be displayed in the same way. Is this possible?
Regards,
Mark
To make the GDPR extended attribute show up on the child attribute, create a computed custom attribute ("Parent Class GDPR Relevant"). I'm not familiar with the OOM metamodel, so I don't know if there's a link between the two attributes, apart from the link connecting the two classes.
To compute the Parent GDPR extended attribute in the child table, use the following logic:
if class.ParentGeneralizations.Count =1, access the GDPR extended attribute in the ParentObject, and set the new extended attribute to the same value.
If class.ParentGeneralizations.Count > 1, you need to decide what to do - do you follow them all, or something else?
I think there was a misunderstanding on question 5. Let me give more clarity on the issue.
I have in my glossary 2 terms Functional Location (code Functional_Location) and Geographic Location (code Geographic_Location). When I create a class with name "Functional Location", PD creates dependencies to terms as indicated below. On the creation of the class, I did select Functional Location, as it has been defined in the Glossary before I created the class.
I don’t want the dependency to term "Location". It seems I cannot delete it? Below is the model options indicating the activation of the glossary auto completion.
Is there any way to prevent this from happening?
Regards,
Mark
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.