Class: JavaMappingInteger
- Inherits:
-
JavaMappingOrdinal
- Object
- JavaMapping
- JavaMappingText
- JavaMappingOrdinal
- JavaMappingInteger
- Defined in:
- lib/ontomde-uml2-struts/mappingForJsp.rb,
lib/ontomde-uml2-struts/mappingForBean.rb
Instance Method Summary collapse
- #getJavaParse(jsrc) ⇒ Object
- #getJavaToString(jsrc) ⇒ Object
- #getJSP(datatype, field, owner) ⇒ Object
Methods inherited from JavaMappingOrdinal
#struts_edit_writeFieldGeneric_DisplayTable_displayTag_column
Methods inherited from JavaMappingText
#struts_edit_writeFieldGeneric_DisplayTable_displayTag_column
Methods inherited from JavaMapping
#addActionFieldMethod!, #getFormCopyTo, #getFormInitFrom, #getFormType, #java_Name, #java_helper_addMethods!, #java_helper_customCode, #java_qualifiedName, #rdf_uri, #struts_edit_writeFieldGeneric_DisplayTable_displayTag_column, #struts_generateHelper
Instance Method Details
#getJavaParse(jsrc) ⇒ Object
42 43 44 |
# File 'lib/ontomde-uml2-struts/mappingForBean.rb', line 42 def getJavaParse(jsrc) return "Integer.parseInt(#{jsrc})" end |
#getJavaToString(jsrc) ⇒ Object
39 40 41 |
# File 'lib/ontomde-uml2-struts/mappingForBean.rb', line 39 def getJavaToString(jsrc) return "Integer.toString(#{jsrc})" end |
#getJSP(datatype, field, owner) ⇒ Object
52 53 54 |
# File 'lib/ontomde-uml2-struts/mappingForJsp.rb', line 52 def getJSP(datatype,field,owner) super end |