Well a classifier role is not a class so isClass(myClassifierRole)
will return false.

There is already an isClassifierRole(myClassifierRole) in Facade

Bob


On 10/3/06, Obaid Salikeen <[EMAIL PROTECTED]> wrote:


Hellow to all,

I am basically trying to generate code for Sequence Diagram. Problem is that
the Classifier Roles(classes in sequence diagram) are not recognized as a
class in ArgoUML.
In a class diagram, if there are two classes :Course and Student, then Both
of them are treated as classes. in Code generation, in GenerateJava class in
Language package, the method

"Model.getFacade()".isAClass(obj)"  returns true in the case of Course Class
defined in Class Diagram, but returns false when Course Classifier Role is
from Sequence Diagram. and so is the case with all the
Facade functions. they treat Course Classifier Role of Class Diagram as a
Class , but does not consider the Course ClassifierRole of the Sequence
Diagram as a Class. so as a result, i am not able to generate the Sequence
Classes/Classifier Roles.


I have two options,
1. Change the implementation of the Facade Functions, so that they recognize
Classifier Roles Of Sequence Diagram as a class OR
2. Write Seperate Functions in Facade Classes


Thank You ALL

Obaid Salikeen
Pakistan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to