Class: DatatypeMappingFile
- Inherits:
-
DatatypeMapping
show all
- Defined in:
- lib/ontomde-java/kbjava/rdfToJava.rb,
lib/ontomde-java/struts/mappingForJsp.rb,
lib/ontomde-java/struts/mappingForBean.rb,
lib/ontomde-java/java/xsdDatatypeMapping.rb,
lib/ontomde-java/java/javaDatatypeMapping.rb
Instance Method Summary
collapse
#addActionFieldMethod!, #crank_validation_annotation, #flex_writeMXML_Form_item_property, #flex_writeMXML_Form_item_property_column, #flex_writeMXML_MXvalidator, #flex_writeMXML_validate, #flex_writeMXML_vo_mapping, #flex_writeVO_getParameter, #flex_writeVO_initFromXML_mapping, #flex_writeVO_initItemFromXML_mapping, #flex_writeVO_vars_datatype, #getFormType, #java_Name, #java_getUndefinedValue, #java_helper_addMethods!, #java_helper_customCode, #java_qualifiedName, #jpa_addTypeModificator, #prot_init, #rdf_uri, #struts_edit_writeFieldGeneric_DisplayTable_displayTag_column, #struts_generateHelper
Instance Method Details
67
68
69
70
71
|
# File 'lib/ontomde-java/struts/mappingForBean.rb', line 67
def getFormCopyTo(field)
"/* not implemented #{field} */\n"
end
|
72
73
74
75
76
|
# File 'lib/ontomde-java/struts/mappingForBean.rb', line 72
def getFormInitFrom(field)
"/* not implemented #{field} */\n"
end
|
#getJSP(datatype, field, owner) ⇒ Object
68
69
70
71
|
# File 'lib/ontomde-java/struts/mappingForJsp.rb', line 68
def getJSP(datatype,field,owner)
n=datatype.java_Name.downcase return %{<html:file property="#{field.java_Name}" size="20%" maxlength="30" styleId="#{n}" #{::Muml_DataType::STRUTS_ERROR_STYLE}/>}
end
|
#java_getType ⇒ Object
70
71
72
|
# File 'lib/ontomde-java/java/javaDatatypeMapping.rb', line 70
def java_getType
return "java.lang.Object"
end
|
#prot_convertToJava(umlprop, valitem) ⇒ Object
Protege string to Java code conversions
381
382
383
384
|
# File 'lib/ontomde-java/kbjava/rdfToJava.rb', line 381
def prot_convertToJava(umlprop,valitem)
return valitem
end
|
#xsd_getType ⇒ Object
41
42
43
|
# File 'lib/ontomde-java/java/xsdDatatypeMapping.rb', line 41
def xsd_getType
return "xsd:???"
end
|