Class: JavaMappingLong
- Inherits:
-
JavaMappingOrdinal
- Object
- JavaMapping
- JavaMappingText
- JavaMappingOrdinal
- JavaMappingLong
- 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
51 52 53 |
# File 'lib/ontomde-uml2-struts/mappingForBean.rb', line 51 def getJavaParse(jsrc) return "Long.parseLong(#{jsrc})" end |
#getJavaToString(jsrc) ⇒ Object
48 49 50 |
# File 'lib/ontomde-uml2-struts/mappingForBean.rb', line 48 def getJavaToString(jsrc) return "Long.toString(#{jsrc})" end |
#getJSP(datatype, field, owner) ⇒ Object
58 59 60 |
# File 'lib/ontomde-uml2-struts/mappingForJsp.rb', line 58 def getJSP(datatype,field,owner) super end |