Topic
  • 2 replies
  • Latest Post - ‏2013-01-03T13:50:20Z by SystemAdmin
SystemAdmin
SystemAdmin
14225 Posts

Pinned topic Class and enumeration constructor

‏2012-12-20T19:23:03Z |
How can I add operation to class/enum that will be constructor?
Updated on 2013-01-03T13:50:20Z at 2013-01-03T13:50:20Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    14225 Posts

    Re: Class and enumeration constructor

    ‏2013-01-03T13:49:17Z  
    This typically depends on what is the programming language that you want to eventually generate code for.

    For example, if you want to generate Java code, see this page:

    http://pic.dhe.ibm.com/infocenter/rsahelp/v8r5/index.jsp?topic=%2Fcom.ibm.xtools.rsa_base.legal.doc%2Fhelpindex_rsa_base.html

    Operation with the same name as its class -> Java constructor

    For other transformations, see the respective transformation mapping documentation.

    Thank you and regards, Lara
  • SystemAdmin
    SystemAdmin
    14225 Posts

    Re: Class and enumeration constructor

    ‏2013-01-03T13:50:20Z  
    This typically depends on what is the programming language that you want to eventually generate code for.

    For example, if you want to generate Java code, see this page:

    http://pic.dhe.ibm.com/infocenter/rsahelp/v8r5/index.jsp?topic=%2Fcom.ibm.xtools.rsa_base.legal.doc%2Fhelpindex_rsa_base.html

    Operation with the same name as its class -> Java constructor

    For other transformations, see the respective transformation mapping documentation.

    Thank you and regards, Lara
    Sorry, the direct link is:

    http://pic.dhe.ibm.com/infocenter/rsahelp/v8r5/topic/com.ibm.xtools.transform.uml2.java5.doc/topics/rujumlmap.html

    Thank you and regards, Lara