Sha256: 1c39f268130921cfbd88999bb36d85b26e337a88ce69fbd1368a7e91dc653956
Contents?: true
Size: 628 Bytes
Versions: 241
Compression:
Stored size: 628 Bytes
Contents
# Some handy extensions to the UML13 metamodel # module UML13 module AssociationEnd::ClassModule def otherEnd association.connection.find{|c| c != self} end end module Classifier::ClassModule def localCompositeEnd associationEnd.select{|e| e.aggregation == :composite} end def remoteCompositeEnd associationEnd.otherEnd.select{|e| e.aggregation == :composite} end def localNavigableEnd associationEnd.select{|e| e.isNavigable} end def remoteNavigableEnd associationEnd.otherEnd.select{|e| e.isNavigable} end end end
Version data entries
241 entries across 241 versions & 3 rubygems