Class: Java_collectionMapping_base

Inherits:
Object
  • Object
show all
Defined in:
lib/ontomde-uml2-java/collectionMapping.rb

Instance Method Summary collapse

Instance Method Details

#addCollectionImplem(type) ⇒ Object

return type enclosed in collection implementation declaration



38
39
40
# File 'lib/ontomde-uml2-java/collectionMapping.rb', line 38

def addCollectionImplem(type)
	return "#{getImplem}<#{type}>"
end

#addCollectionInterface(type) ⇒ Object

return type enclosed in collection interface declaration



34
35
36
# File 'lib/ontomde-uml2-java/collectionMapping.rb', line 34

def addCollectionInterface(type)
	return "#{getInterface}<#{type}>"
end

#addNew(type) ⇒ Object

return new element type collection creator



42
43
44
# File 'lib/ontomde-uml2-java/collectionMapping.rb', line 42

def addNew(type)
	return "new #{getImplem}<#{type}>()"
end