Next:
ClassDiagram
Up:
Class Diagram Entities
Previous:
Class Modifiers
Interface
interface [(superinterface1, superinterface2 ...)]{
comment = ''comment text'';
operations {
[+#-]operation(arg: type, ...): returntype;
...
}
}
Declares an interface entity. Interfaces are almost identical to classes, except they can only inherit from other interfaces, are automatically abstract and cannot have fields.
http://www.rawsontetley.org