Book a Demo

Author Topic: Copying Methods In N-tier Design  (Read 2254 times)

h2oskier

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Copying Methods In N-tier Design
« on: July 12, 2006, 07:37:10 am »
When modeling an n-tier application it is quite common to have methods in the business tier and data tier with identical signatures.  How can I copy a method from one class to another?  I have not found any way to do this and entering the same information multiple times is tedious and time consuming.  In addition, it can result in inconsistency in the model.

thomaskilian

  • Guest
Re: Copying Methods In N-tier Design
« Reply #1 on: July 12, 2006, 08:02:11 am »
You have to drag it from the Project View over the target class in a diagram. Alternatively you can use a model transformation to create the copy (e.g. used in CIM/PIM/PSM-transformation).