UML: Is it allowed to introduce custom stereotypes on classes? What about methods?



Hello again,

we had the problem to model a Java 5 enumeration in a class diagram in UML, and our approach was to just model it as a usual class and put a {enumeration} after the class name.
Is that okay? I know UML knows such things as {abstract}, but is it okay to shamelessly plug in your own stereotypes?


We also did this with methods:
Since we use a very limited modelling tool, which had no means of modelling methods as abstract or even static, we e.g. modelled a static method like this:


+ foo() : void {static}

Is that okay?


-- Matthias Kaeppler .



Relevant Pages

  • Re: UML: Is it allowed to introduce custom stereotypes on classes? What about methods?
    ... >{enumeration} after the class name. ... I know UML knows such things as, ... >modelling methods as abstract or even static, ... understand these diagrams, understands the diagrams. ...
    (comp.object)
  • Re: UML tools for python
    ... I realize I had not checked the mailing lists archives ... UML is very important yet there is ... for my company), but my prefered UML modelling tool is a whiteboard, ... We found that on demand modelling sessions on the whiteboard to answer ...
    (comp.lang.python)
  • Wide Adoption for UML Techniques
    ... the Object Management Group made the UML a standard ... modelling language for object-oriented applications. ... been seen as the dominant set of techniques for software analysis and ... of UML modelling techniques (use case, class, object, sequence ...
    (comp.object)
  • Wide Adoption for UML Techniques
    ... the Object Management Group made the UML a standard ... modelling language for object-oriented applications. ... been seen as the dominant set of techniques for software analysis and ... of UML modelling techniques (use case, class, object, sequence ...
    (comp.object)
  • Re: Datamodelling under linux
    ... since UML 1.0 doesn't define ... RDBMS modelling... ... design as used in RDBMS modelling. ...
    (Ubuntu)