Book a Demo

Author Topic: Document Class to include Inherited data  (Read 4670 times)

Edward

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Document Class to include Inherited data
« on: December 10, 2015, 11:14:36 am »
Hi  

Newbie here...

I have created my first class model with standard Generalisation relationship.  The model understands this as I have ticked the visibility option to show inherited attributes and operations.  

My problem is that I cannot work out how to request the documentation to include these inherited attributes ..   Am I being stupid?  I would have thought that this would be the default behaviour. 
« Last Edit: December 10, 2015, 11:45:34 am by Edwardg »

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Document Class to include Inherited data
« Reply #1 on: December 10, 2015, 12:47:26 pm »
My understanding - and I could be wrong - is the inherited information is when you instance a class.  Whereas you're talking about "additional parents".

Edward

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Document Class to include Inherited data
« Reply #2 on: December 10, 2015, 02:01:55 pm »
I have a Class Model.  

I create a class to represent the basic Identity details ( name address details )

 I then create a related class and I choose Specialisation type...  
     I give it a name User.  
    It than asks me which of my methods/operations I want to override in my User Class...
     I say None ...  The class is created and displayed.

If I go and set the visibility flags on the new class, the attibutes and operations of the Identity class are displayed in the User Class ( this is inheritance as I would expect it )

But if you Generate documentation on the User Class it refers to the Identity Class but only lists the attributes specifically assigned to the User Class.  I would really like to see the inherited attributes and operations listed in detail.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Document Class to include Inherited data
« Reply #3 on: December 10, 2015, 02:09:04 pm »
It depends on the template you run. Inherited features will be included in the document if the Inherited Attributes and Inherited Methods sections are enabled.

Edward

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Document Class to include Inherited data
« Reply #4 on: December 10, 2015, 03:09:22 pm »
Thanks Simon.

That was pretty easy once I was able to locate the template building feature..  

We are now underway and its looking good.