Class: XSD_collectionMapping_base
- Inherits:
-
Object
- Object
- XSD_collectionMapping_base
- Defined in:
- lib/ontomde-java/java/xsdCollectionMapping.rb
Overview
Helper class for wrapping a base type in ad-hoc collection.
Direct Known Subclasses
XSD_collectionMapping_Collection_ArrayList, XSD_collectionMapping_List_ArrayList, XSD_collectionMapping_Set_HashSet
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
49 50 51 |
# File 'lib/ontomde-java/java/xsdCollectionMapping.rb', line 49 def addCollectionImplem(type) return "#{getImplem}<#{type}>" end |
#addCollectionInterface(type) ⇒ Object
return type enclosed in collection interface declaration
45 46 47 |
# File 'lib/ontomde-java/java/xsdCollectionMapping.rb', line 45 def addCollectionInterface(type) return "#{getInterface}<#{type}>" end |
#addNew(type) ⇒ Object
return new element type collection creator
53 54 55 |
# File 'lib/ontomde-java/java/xsdCollectionMapping.rb', line 53 def addNew(type) return "new #{getImplem}<#{type}>()" end |