Module: Muml_Parameter
- Defined in:
- lib/ontomde-uml2-java/java.rb,
lib/ontomde-uml2-java/java.rb,
lib/ontomde-uml2-java/operationAsClass.rb
Instance Method Summary collapse
-
#java_write ⇒ Object
write java parameter declaration (Uses java_propertyRoleType, java_Name) parameter is declared final if direction is in (not out, not inOut) Example: * int x * final int x * String z.
Instance Method Details
#java_write ⇒ Object
write java parameter declaration (Uses java_propertyRoleType, java_Name) parameter is declared final if direction is in (not out, not inOut) Example:
-
int x
-
final int x
-
String z
1062 1063 1064 1065 1066 1067 |
# File 'lib/ontomde-uml2-java/java.rb', line 1062 def java_write write("final ") if uml_direction_one.isIn? # the best we can do with java write("#{java_propertyAssociationType} ") #write(" /* #{uml_lowerValue}..#{uml_upperValue}*/ ") write(" #{java_Name}") unless uml_direction_one.isReturn? end |