Class: LinkWithClass
Defined in: | web-src/coffee/model/uml/link_with_class_original.coffee |
Inherits: | model.Link |
Overview
A link with association class.
Also manage the association link, wich is the link that goes through the middle of the link with to the association class; the association class, which represent the association and is at the middle of the association link.
Instance Method Summary
- # (Array) create_joint(factory, csstheme = null) As Link#create_joint, but it also creates the association link and class.
- # (void) update_position() Update position of the association link and association class according tot he target and source classes (it must be half a way).
- # (object) to_json() Exports to JSON Also adds the key "associated_class" and add the JSON of the associated class.
Constructor Details
#
(void)
constructor(classes, name)
Instance Method Details
#
(Array)
create_joint(factory, csstheme = null)
As Link#create_joint, but it also creates the association link and class.
Also, inherit the same parameters.
#
(void)
update_position()
Update position of the association link and association class according tot he target and source classes (it must be half a way).
#
(object)
to_json()
Exports to JSON
Also adds the key "associated_class" and add the JSON of the associated class.