Module: Muml_Model
- Defined in:
- lib/ontomde-uml2-java/java.rb
Instance Method Summary collapse
Instance Method Details
#java_generate ⇒ Object
133 134 135 136 137 138 139 140 141 142 143 144 145 |
# File 'lib/ontomde-uml2-java/java.rb', line 133 def java_generate mtk_default_context(:java_generateSetAttributeInitializer=>true) { uml_Class_all.each {|c| #next if c.kind_of?(Muml_Stereotype) next unless c.kind_of?(Muml_Class) || c.kind_of?(Muml_Interface)||c.kind_of?(Muml_Enumeration) # only generate if requested to do so # usefull for generating separtely tests dans model next if c.java_isATestFile? && !context[:includeTestFiles] next if (!c.java_isATestFile?) && context[:excludeNonTestFiles] c.java_generate } } end |