Difference between revisions of "XCSG:Supertype"

From AtlasWiki
Jump to: navigation, search
m (TheodoreMurdock moved page Extends to XCSG:Extends)
(fix links/nameing)
Line 1: Line 1:
 
An Extends edge indicates both inheritance and polymorphism relationships.
 
An Extends edge indicates both inheritance and polymorphism relationships.
  
That is, it indicates that the [[Classifier]] it comes from inherits the Instance [[Instance Field|Fields]] and [[Instance Method|Methods]] of the Classifier it points to, and that instances of the Classifier the edge comes from can be assigned to any [[Variable]] that accepts instances of the Classifier pointed to.
+
That is, it indicates that the [[Classifier]] it comes from inherits the Instance [[InstanceVariable|Variables]] and [[InstanceMethod|Methods]] of the Classifier it points to, and that instances of the Classifier the edge comes from can be assigned to any [[Variable]] that accepts instances of the Classifier pointed to.
  
 
== Specification ==
 
== Specification ==

Revision as of 11:45, 24 April 2014

An Extends edge indicates both inheritance and polymorphism relationships.

That is, it indicates that the Classifier it comes from inherits the Instance Variables and Methods of the Classifier it points to, and that instances of the Classifier the edge comes from can be assigned to any Variable that accepts instances of the Classifier pointed to.

Specification

Metaclass Supertype
Extends Edge
Description Connects a Classifier to another Classifier that it extends.
Direct Subkinds Java:Extends, Java:Implements
Specified Connections
Predecessor Multiplicity Successor
Classifier ✱ ➞ ✱ Classifier