
New
Features of UML2 | Long Talk | Copyright © IBM
Corp., 2007-2008. All rights reserved.
Static Profile Definition: Examples - New
•Applying stereotype.
•Use the generated
setters.
MyVerySpecialClass
mySpecialClass = (MyVerySpecialClass)someClass.applyStereotype(stereotype);
mySpecialClass.setFirstProperty(aClass);
mySpecialClass.getFirstProperty();
•Use the generated getters.