# extension of generated Java source files
codegen.java.file_ext = "java"

codegen.java.default_pattern.class.Class =
\  if(%container%->isNode(),
\      "Default Inner Class",
\      "Default Class")
codegen.java.default_pattern.class.Interface =
\  if(%container%->isNode(),
\      "Default Inner Interface",
\      "Default Interface")
codegen.java.default_pattern.member.Attribute =
\  if (!%container%->hasProperty("$interface"),
\      "Default Attribute",
\      "Default Attribute in Interface")
codegen.java.default_pattern.member.Operation =
\  if (!%container%->hasProperty("$interface"),
\      "Default Operation",
\      "Default Operation in Interface")
codegen.java.default_pattern.member.Constructor = "Default Constructor"
codegen.java.default_pattern.link.GeneralizationLink = "Default Inheritance"
codegen.java.default_pattern.link.ImplementationLink = "Default Inheritance"
codegen.java.default_pattern.link.AssociationLink =
\  if (!%src%->hasProperty("$interface"),
\      "Default Association",
\      "Association as Comment")
codegen.java.default_pattern.link.AggregationLink =
\  if (!%src%->hasProperty("$interface"),
\  "Default Aggregation",
\  "Aggregation as Comment")
codegen.java.default_pattern.link.CompositionLink =
\  if (!%src%->hasProperty("$interface"),
\  "Default Composition",
\  "Composition as Comment")
codegen.java.default_pattern.link.UnifiedAssociationAsVector =
\  if( !%src%->hasProperty("$interface"),
\    "Association as Vector",
\    "")
codegen.java.default_pattern.link.DependencyLink = "Default Dependency"

#
# codegen.java.blueprint.*
#   properties below define the blueprints for the code
#   generated on creating the corresponding diagram element.
#
#

# Additional macro variables for file creation date/time stamp in
# prologue/epilogue available since 3.1: %DATE_CREATED%, %TIME_CREATED%
#
# Java file prologue
#  lines of code inserted at the beginning of new Java files generated by Together
codegen.java.blueprint.file_prologue =
\  /* Generated by Together */
\

# Java file epilogue
#  lines of code inserted at the end of new files generated by Together
;codegen.java.blueprint.file_epilogue = // end of file

#
# parser.java.blueprint.link.*
#   properties below define the blueprints for recognizing links.
#

# link recognized by attribute name
# Note: links by name are not kept after rename destination class
;parser.java.blueprint.link.Association from Vector = "Vector %of-dst%"

# link recognized by attribute type
parser.java.blueprint.link.Association = "%dst% %Name%"

# link recognized by array of objects
# Note: position of '[]' in declaration doesn't matter. Only number of '[]' is compared.
parser.java.blueprint.link.Association from Array = "%dst%[] %Name%"
parser.java.blueprint.link.Association from Array.supplierCardinality = "0..*"



# Synchronize get/set methods with attribute (possible values are: no|tag|all)
codegen.java.setget.sync = all
# Body of get/set methods must match the "standard" one to allow synchronization with attribute
codegen.java.setget.sync.matchbody = yes





