Class: JavaMapping

Inherits:
Object
  • Object
show all
Defined in:
lib/ontomde-uml2-flex/ValueObjectAS.rb,
lib/ontomde-uml2-flex/Editor.mxml.as.rb

Instance Method Summary collapse

Instance Method Details

#flex_writeMXML_Form_item_property(prop) ⇒ Object

prop.write(“<!– # no mapping for #JavaMapping.propprop.java_Name errcode=5 (#JavaMapping.selfself.class) –>n”)



149
150
151
# File 'lib/ontomde-uml2-flex/ValueObjectAS.rb', line 149

def flex_writeMXML_Form_item_property(prop)
  	prop.write("<!-- # no mapping for #{prop.java_Name} errcode=6 (#{self.class}) -->\n")
end

#flex_writeMXML_Form_item_property_column(prop) ⇒ Object



152
153
154
# File 'lib/ontomde-uml2-flex/ValueObjectAS.rb', line 152

def flex_writeMXML_Form_item_property_column(prop)
	prop.write("<!-- # no mapping for #{prop.java_Name} errcode=7 (#{self.class}) -->\n")
end

#flex_writeMXML_MXvalidator(prop) ⇒ Object



133
134
135
# File 'lib/ontomde-uml2-flex/Editor.mxml.as.rb', line 133

def flex_writeMXML_MXvalidator(prop)
	#nop
end

#flex_writeMXML_validate(prop) ⇒ Object



125
126
127
128
129
130
131
132
# File 'lib/ontomde-uml2-flex/Editor.mxml.as.rb', line 125

def flex_writeMXML_validate(prop)
	prop.write("//#{prop.java_Name}")
        prop.write(" mapping=#{self.class}")
	prop.write(" maxStringLength=#{self.maxStringLength}")
	re=self.getValidationRegexp
	prop.write(%{ regexp=#{re.nil? ? "nil" : re.source}})
	prop.write("\n")
end

#flex_writeMXML_vo_mapping(prop) ⇒ Object



144
145
146
147
148
# File 'lib/ontomde-uml2-flex/ValueObjectAS.rb', line 144

def flex_writeMXML_vo_mapping(prop)
         puts("WARNING: Unknown flex_writeMXML_vo_mapping for property #{prop.java_Name} and mapping=#{self.class}")
         #ignore element
       	#prop.write("<!-- # no mapping for #{prop.java_Name} errcode=5 (#{self.class}) -->\n")
end

#flex_writeVO_getParameter(prop) ⇒ Object



134
135
136
# File 'lib/ontomde-uml2-flex/ValueObjectAS.rb', line 134

def flex_writeVO_getParameter(prop)
	prop.write("<!-- # no mapping for #{prop.java_Name} errcode=2 (#{self.class}) -->\n")
end

#flex_writeVO_initFromXML_mapping(prop) ⇒ Object



141
142
143
# File 'lib/ontomde-uml2-flex/ValueObjectAS.rb', line 141

def flex_writeVO_initFromXML_mapping(prop)
       	prop.write("<!-- # no mapping for #{prop.java_Name} errcode=4 (#{self.class}) -->\n")
end

#flex_writeVO_initItemFromXML_mapping(prop) ⇒ Object



137
138
139
# File 'lib/ontomde-uml2-flex/ValueObjectAS.rb', line 137

def flex_writeVO_initItemFromXML_mapping(prop)
         	prop.write("<!-- # no mapping for #{prop.java_Name} errcode=3 (#{self.class}) -->\n")
end

#flex_writeVO_vars_datatype(prop) ⇒ Object



131
132
133
# File 'lib/ontomde-uml2-flex/ValueObjectAS.rb', line 131

def flex_writeVO_vars_datatype(prop)
	prop.write("<!-- # no mapping for #{prop.java_Name} errcode=1 (#{self.class}) -->\n")
end