Class: Java_collectionMapping_Array
- Inherits:
-
Object
- Object
- Java_collectionMapping_Array
- Includes:
- Singleton
- Defined in:
- lib/ontomde-uml2-java/collectionMapping.rb
Instance Method Summary collapse
-
#addCollectionImplem(type) ⇒ Object
return type enclosed in collection implementation declaration.
-
#addCollectionInterface(type) ⇒ Object
return type enclosed in collection interface declaration.
-
#addNew(type) ⇒ Object
return new element type collection creator.
Instance Method Details
#addCollectionImplem(type) ⇒ Object
return type enclosed in collection implementation declaration
87 88 89 |
# File 'lib/ontomde-uml2-java/collectionMapping.rb', line 87 def addCollectionImplem(type) return "#{type}[]" end |
#addCollectionInterface(type) ⇒ Object
return type enclosed in collection interface declaration
83 84 85 |
# File 'lib/ontomde-uml2-java/collectionMapping.rb', line 83 def addCollectionInterface(type) return "#{type}[]" end |
#addNew(type) ⇒ Object
return new element type collection creator
91 92 93 |
# File 'lib/ontomde-uml2-java/collectionMapping.rb', line 91 def addNew(type) return "new #{type}[0]" end |