Module: Muml_TypedElement

Defined in:
lib/ontomde-uml2-flex/main.rb,
lib/ontomde-uml2-flex/main.rb

Constant Summary collapse

ACTION_SCRIPT_COLLECTION =

ActionScript Collection container type.

'mx.collections.ArrayCollection'

Instance Method Summary collapse

Instance Method Details

#as_propertyRoleTypeWithGenericsObject

Returns an action script array ActionScript 3 does not support type collection.



189
190
191
192
193
194
195
196
197
# File 'lib/ontomde-uml2-flex/main.rb', line 189

def as_propertyRoleTypeWithGenerics
	jtype=""
	if uml_type.empty?
		jtype="Number /* TODO: FIX:undefined type in uml model */ "
	else
		jtype = uml_type_one.as_qualifiedName
	end
	return umlx_upperValueIsOne? ? jtype : ACTION_SCRIPT_COLLECTION
end