aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes UML / Class Diagram Syntax for Java Annotations Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "UML / Class Diagram Syntax for Java Annotations" Watch "UML / Class Diagram Syntax for Java Annotations" New topic
Author

UML / Class Diagram Syntax for Java Annotations

Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

I was just wondering what the UML notation for a Java annotation was?

We have syntax for classes and special rules for abstract classes and interfaces. I was just wondering, is there a special way to diagram an annotation, and the various elements/attributes of an annotation in a standard way?

I did a quick google search, but couldn't find any pertinent resources. None that looked reputable, anyways.

Just curious.

Thanks.

-Cameron McKenzie
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
Did you come across Representing Explicit Attributes in UML (PDF)? At least they look at several options.

However personally I'd suspect a severe case of micro-modeling (and CASE tool glorification)...
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

Interesting.....And ugly.

-Cameron McKenzie
Dietrich Schulten
Greenhorn

Joined: Mar 08, 2011
Posts: 1
http://taylor.sourceforge.net/index.php/Overview makes the interesting statement that Stereotypes are conceptually the same as Java annotations.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: UML / Class Diagram Syntax for Java Annotations