Class: JavaMappingFile
- Inherits:
-
JavaMapping
- Object
- JavaMapping
- JavaMappingFile
- Defined in:
- lib/ontomde-uml2-struts/mappingForJsp.rb,
lib/ontomde-uml2-struts/mappingForBean.rb
Instance Method Summary collapse
- #getFormCopyTo(field) ⇒ Object
-
#getFormInitFrom(field) ⇒ Object
super # TODO /TPL:9004/“.
- #getJSP(datatype, field, owner) ⇒ Object
Methods inherited from JavaMapping
#addActionFieldMethod!, #getFormType, #java_Name, #java_helper_addMethods!, #java_helper_customCode, #java_qualifiedName, #rdf_uri, #struts_edit_writeFieldGeneric_DisplayTable_displayTag_column, #struts_generateHelper
Instance Method Details
#getFormCopyTo(field) ⇒ Object
67 68 69 70 71 |
# File 'lib/ontomde-uml2-struts/mappingForBean.rb', line 67 def getFormCopyTo(field) "/* not implemented #{field} */\n" #super # TODO # /*TPL:9004*/" end |
#getFormInitFrom(field) ⇒ Object
super # TODO /TPL:9004/“
72 73 74 75 76 |
# File 'lib/ontomde-uml2-struts/mappingForBean.rb', line 72 def getFormInitFrom(field) "/* not implemented #{field} */\n" #super # TODO # /*TPL:9004*/" end |
#getJSP(datatype, field, owner) ⇒ Object
64 65 66 67 |
# File 'lib/ontomde-uml2-struts/mappingForJsp.rb', line 64 def getJSP(datatype,field,owner) n=datatype.java_Name.downcase #TODO return %{<html:file property="#{field.java_Name}" size="20%" maxlength="30" styleId="#{n}" #{::Muml_DataType::STRUTS_ERROR_STYLE}/>} end |