Class: XSD_collectionMapping_Array
- Inherits:
-
Object
- Object
- XSD_collectionMapping_Array
- Includes:
- Singleton
- Defined in:
- lib/ontomde-java/java/xsdCollectionMapping.rb
Overview
Helper class for wrapping a base type in ad-hoc collection.
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
105 106 107 |
# File 'lib/ontomde-java/java/xsdCollectionMapping.rb', line 105 def addCollectionImplem(type) return "#{type}[]" end |
#addCollectionInterface(type) ⇒ Object
return type enclosed in collection interface declaration
101 102 103 |
# File 'lib/ontomde-java/java/xsdCollectionMapping.rb', line 101 def addCollectionInterface(type) return "#{type}[]" end |
#addNew(type) ⇒ Object
return new element type collection creator
109 110 111 |
# File 'lib/ontomde-java/java/xsdCollectionMapping.rb', line 109 def addNew(type) return "new #{type}[0]" end |