staticfactory.mdl
来自「java语言中简单工厂模式的例子」· MDL 代码 · 共 2,327 行 · 第 1/5 页
MDL
2,327 行
quid "41A088AA0261"
stereotype ""
language "Java")
(object module "Grape" "NotAModuleType" "NotAModulePart"
attributes (list Attribute_Set
(object Attribute
tool "Java"
name "FileName"
value "D:\\javaproject\\DesignPattern\\StaticFactoryPattern\\Grape.java")
(object Attribute
tool "Java"
name "RootPath"
value "D:\\javaproject\\DesignPattern\\StaticFactoryPattern"))
quid "41A088B2037A"
stereotype ""
language "Java")
(object module "Strawberry" "NotAModuleType" "NotAModulePart"
attributes (list Attribute_Set
(object Attribute
tool "Java"
name "FileName"
value "D:\\javaproject\\DesignPattern\\StaticFactoryPattern\\Strawberry.java")
(object Attribute
tool "Java"
name "RootPath"
value "D:\\javaproject\\DesignPattern\\StaticFactoryPattern"))
quid "41A088BA01A5"
stereotype ""
language "Java")
(object module "FruitGardener" "NotAModuleType" "NotAModulePart"
attributes (list Attribute_Set
(object Attribute
tool "Java"
name "FileName"
value "D:\\javaproject\\DesignPattern\\StaticFactoryPattern\\FruitGardener.java")
(object Attribute
tool "Java"
name "RootPath"
value "D:\\javaproject\\DesignPattern\\StaticFactoryPattern"))
quid "41A09C390128"
stereotype ""
language "Java")
(object module "BadFruitfactory" "NotAModuleType" "NotAModulePart"
attributes (list Attribute_Set
(object Attribute
tool "Java"
name "FileName"
value "D:\\javaproject\\DesignPattern\\StaticFactoryPattern\\BadFruitfactory.java")
(object Attribute
tool "Java"
name "RootPath"
value "D:\\javaproject\\DesignPattern\\StaticFactoryPattern"))
quid "41A09C39012C"
stereotype ""
language "Java"))
physical_presentations (list unit_reference_list
(object Module_Diagram "Main"
quid "41A0854100BB"
title "Main"
zoom 100
max_height 28350
max_width 21600
origin_x 0
origin_y 0
items (list diagram_item_list))))
process_structure (object Processes
quid "41A08538009C"
ProcsNDevs (list
(object Process_Diagram "Deployment View"
quid "41A0853800AB"
title "Deployment View"
zoom 100
max_height 28350
max_width 21600
origin_x 0
origin_y 0
items (list diagram_item_list))))
properties (object Properties
attributes (list Attribute_Set
(object Attribute
tool "Cplusplus"
name "propertyId"
value "809135966")
(object Attribute
tool "Cplusplus"
name "default__Role"
value (list Attribute_Set
(object Attribute
tool "Cplusplus"
name "Synchronize"
value TRUE)
(object Attribute
tool "Cplusplus"
name "CodeName"
value "")
(object Attribute
tool "Cplusplus"
name "InitialValue"
value "")))
(object Attribute
tool "Cplusplus"
name "default__Inherit"
value (list Attribute_Set
(object Attribute
tool "Cplusplus"
name "Synchronize"
value TRUE)))
(object Attribute
tool "Cplusplus"
name "default__Module-Spec"
value (list Attribute_Set
(object Attribute
tool "Cplusplus"
name "Synchronize"
value TRUE)
(object Attribute
tool "Cplusplus"
name "RevEngRootDirectory"
value "")
(object Attribute
tool "Cplusplus"
name "RootPackage"
value "C++ Reverse Engineered")
(object Attribute
tool "Cplusplus"
name "RevEngDirectoriesAsPackages"
value FALSE)
(object Attribute
tool "Cplusplus"
name "HeaderFileExtension"
value ".h")
(object Attribute
tool "Cplusplus"
name "ImplementationFileExtension"
value ".cpp")
(object Attribute
tool "Cplusplus"
name "NewHeaderFileDirectory"
value "")
(object Attribute
tool "Cplusplus"
name "NewImplementationFileDirectory"
value "")
(object Attribute
tool "Cplusplus"
name "FileCapitalization"
value ("FileCapitalizationSet" 0))
(object Attribute
tool "Cplusplus"
name "CodeGenExtraDirectories"
value ("CodeGenExtraDirectoriesSet" 0))
(object Attribute
tool "Cplusplus"
name "StripClassPrefix"
value "")
(object Attribute
tool "Cplusplus"
name "UseTabs"
value FALSE)
(object Attribute
tool "Cplusplus"
name "TabWidth"
value 8)
(object Attribute
tool "Cplusplus"
name "IndentWidth"
value 4)
(object Attribute
tool "Cplusplus"
name "AccessIndentation"
value -2)
(object Attribute
tool "Cplusplus"
name "CreateBackupFiles"
value FALSE)
(object Attribute
tool "Cplusplus"
name "ModelIdCommentRules"
value ("ModelIdCommentRulesSet" 1))
(object Attribute
tool "Cplusplus"
name "CommentRules"
value ("CommentRulesSet" 1))
(object Attribute
tool "Cplusplus"
name "PageWidth"
value 80)
(object Attribute
tool "Cplusplus"
name "ClassMemberOrder"
value ("MemberOrderSet" 1))
(object Attribute
tool "Cplusplus"
name "OneParameterPerLine"
value FALSE)
(object Attribute
tool "Cplusplus"
name "NamespaceBraceStyle"
value ("BraceStyleSet" 2))
(object Attribute
tool "Cplusplus"
name "ClassBraceStyle"
value ("BraceStyleSet" 2))
(object Attribute
tool "Cplusplus"
name "FunctionBraceStyle"
value ("BraceStyleSet" 2))
(object Attribute
tool "Cplusplus"
name "Copyright"
value (value Text ""))
(object Attribute
tool "Cplusplus"
name "InitialHeaderIncludes"
value (value Text ""))
(object Attribute
tool "Cplusplus"
name "InitialBodyIncludes"
value (value Text ""))
(object Attribute
tool "Cplusplus"
name "CodeGenExtraDirectoriesSet"
value (list Attribute_Set
(object Attribute
tool "Cplusplus"
name "None"
value 0)
(object Attribute
tool "Cplusplus"
name "Namespaces"
value 1)
(object Attribute
tool "Cplusplus"
name "Packages"
value 2)))
(object Attribute
tool "Cplusplus"
name "FileCapitalizationSet"
value (list Attribute_Set
(object Attribute
tool "Cplusplus"
name "Same as model"
value 0)
(object Attribute
tool "Cplusplus"
name "Lower case"
value 1)
(object Attribute
tool "Cplusplus"
name "Upper case"
value 2)
(object Attribute
tool "Cplusplus"
name "Lower case with underscores"
value 3)))
(object Attribute
tool "Cplusplus"
name "BraceStyleSet"
value (list Attribute_Set
(object Attribute
tool "Cplusplus"
name "B1"
value 1)
(object Attribute
tool "Cplusplus"
name "B2"
value 2)
(object Attribute
tool "Cplusplus"
name "B3"
value 3)
(object Attribute
tool "Cplusplus"
name "B4"
value 4)
(object Attribute
tool "Cplusplus"
name "B5"
value 5)))
(object Attribute
tool "Cplusplus"
name "MemberOrderSet"
value (list Attribute_Set
(object Attribute
tool "Cplusplus"
name "Public First"
value 1)
(object Attribute
tool "Cplusplus"
name "Private First"
value 2)
(object Attribute
tool "Cplusplus"
name "Order by kind"
value 3)
(object Attribute
tool "Cplusplus"
name "Unordered"
value 4)))
(object Attribute
tool "Cplusplus"
name "ModelIdCommentRulesSet"
value (list Attribute_Set
(object Attribute
tool "Cplusplus"
name "Code generation only"
value 1)
(object Attribute
tool "Cplusplus"
name "Code generation and reverse engineering"
value 2)
(object Attribute
tool "Cplusplus"
name "Never generate model IDs"
value 3)))
(object Attribute
tool "Cplusplus"
name "CommentRulesSet"
value (list Attribute_Set
(object Attribute
tool "Cplusplus"
name "Always synchronize"
value 1)
(object Attribute
tool "Cplusplus"
name "Code generation only"
value 2)
(object Attribute
tool "Cplusplus"
name "Reverse engineering only"
value 3)
(object Attribute
tool "Cplusplus"
name "Never synchronize"
value 4)))))
(object Attribute
tool "Cplusplus"
name "default__Module-Body"
value (list Attribute_Set
(object Attribute
tool "Cplusplus"
name "Synchronize"
value TRUE)
(object Attribute
tool "Cplusplus"
name "RevEngRootDirectory"
value "")
(object Attribute
tool "Cplusplus"
name "RootPackage"
value "C++ Reverse Engineered")
(object Attribute
tool "Cplusplus"
name "RevEngDirectoriesAsPackages"
value FALSE)
(object Attribute
tool "Cplusplus"
name "HeaderFileExtension"
value ".h")
(object Attribute
tool "Cplusplus"
name "ImplementationFileExtension"
value ".cpp")
(object Attribute
tool "Cplusplus"
name "NewHeaderFileDirectory"
value "")
(object Attribute
tool "Cplusplus"
name "NewImplementationFileDirectory"
value "")
(object Attribute
tool "Cplusplus"
name "FileCapitalization"
value ("FileCapitalizationSet" 0))
(object Attribute
tool "Cplusplus"
name "CodeGenExtraDirectories"
value ("CodeGenExtraDirectoriesSet" 0))
(object Attribute
tool "Cplusplus"
name "StripClassPrefix"
value "")
(object Attribute
tool "Cplusplus"
name "UseTabs"
value FALSE)
(object Attribute
tool "Cplusplus"
name "TabWidth"
value 8)
(object Attribute
tool "Cplusplus"
name "IndentWidth"
value 4)
(object Attribute
tool "Cplusplus"
name "AccessIndentation"
value -2)
(object Attribute
tool "Cplusplus"
name "CreateBackupFiles"
value FALSE)
(object Attribute
tool "Cplusplus"
name "ModelIdCommentRules"
value ("ModelIdCommentRulesSet" 1))
(object Attribute
tool "Cplusplus"
name "CommentRules"
value ("CommentRulesSet" 1))
(object Attribute
tool "Cplusplus"
name "PageWidth"
value 80)
(object Attribute
tool "Cplusplus"
name "ClassMemberOrder"
value ("MemberOrderSet" 1))
(object Attribute
tool "Cplusplus"
name "OneParameterPerLine"
value FALSE)
(object Attribute
tool "Cplusplus"
name "NamespaceBraceStyle"
value ("BraceStyleSet" 2))
(object Attribute
tool "Cplusplus"
name "ClassBraceStyle"
value ("BraceStyleSet" 2))
(object Attribute
tool "Cplusplus"
name "FunctionBraceStyle"
value ("BraceStyleSet" 2))
(object Attribute
tool "Cplusplus"
name "Copyright"
value (value Text ""))
(object Attribute
tool "Cplusplus"
name "InitialHeaderIncludes"
value (value Text ""))
(object Attribute
tool "Cplusplus"
name "InitialBodyIncludes"
value (value Text ""))
(object Attribute
tool "Cplusplus"
name "CodeGenExtraDirectoriesSet"
value (list Attribute_Set
(object Attribute
tool "Cplusplus"
name "None"
value 0)
(object Attribute
tool "Cplusplus"
name "Namespaces"
value 1)
(object Attribute
tool "Cplusplus"
name "Packages"
value 2)))
(object Attribute
tool "Cplusplus"
name "FileCapitalizationSet"
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?