New Features of UML2
|
Long Talk | Copyright © IBM Corp., 2007-2008.
All rights reserved.
9
Generics: Concepts - UML
•
•
•
•
public
interface
MyClass<E>
extends
EObject
{
E
getMyProperty();
void
setMyProperty(E
value);
}
public
class
MyClassImpl<E>
extends
EObjectImpl
implements
MyClass<E>
{
protected
E
myProperty;
}
•
UML Model
•
Properties