📄 simulator-a.ucd
字号:
<?xml version="1.0" encoding="UTF-8"?>
<editmodel:ClassDiagramEditModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:editmodel="editmodel.xmi" xmlns:options="options.xmi" name="simulator-a" size="778,965" id="simulator" metadata="nsuml-1.4" initialized="true" tag="200" key="3230303431313235206368617074657232">
<children xsi:type="editmodel:ClassEditModel" name="Customer" location="640,700" size="118,103" id="simulator/Customer" runTimeClassModel="getDelayTime(),getWaitTime(Ljava.util.Date;),Customer()">
<children xsi:type="editmodel:CompartmentEditModel"/>
<children xsi:type="editmodel:CompartmentEditModel" size="95,54">
<children xsi:type="editmodel:MethodEditModel" name="Customer" id="simulator/Customer#Customer()"/>
<children xsi:type="editmodel:MethodEditModel" name="getDelayTime" id="simulator/Customer#getDelayTime()"/>
<children xsi:type="editmodel:MethodEditModel" name="getWaitTime" id="simulator/Customer#getWaitTime(Ljava.util.Date;)"/>
</children>
<children xsi:type="editmodel:CompartmentEditModel"/>
<classifierPreferences xsi:type="editmodel:UMLClassDiagramClassifierPreference" showStereotype="true" attributeSorter="Natural" methodSorter="Natural" innerClassSorter="Natural" showPublicAttributes="true" showPackageAttributes="true" showStaticAttributes="true" showPublicMethods="true" showPackageMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" showAttributeProperty="true"/>
</children>
<children xsi:type="editmodel:ClassEditModel" name="Agent" location="50,680" size="135,139" id="simulator/Agent" runTimeClassModel="Agent(Lsimulator.Business;I),start(),halt(),numCustomers,run()">
<children xsi:type="editmodel:CompartmentEditModel" size="112,18">
<children xsi:type="editmodel:AttributeEditModel" name="numCustomers" id="simulator/Agent#numCustomers"/>
</children>
<children xsi:type="editmodel:CompartmentEditModel" size="60,72">
<children xsi:type="editmodel:MethodEditModel" name="Agent" id="simulator/Agent#Agent(Lsimulator.Business;I)"/>
<children xsi:type="editmodel:MethodEditModel" name="halt" id="simulator/Agent#halt()"/>
<children xsi:type="editmodel:MethodEditModel" name="run" id="simulator/Agent#run()"/>
<children xsi:type="editmodel:MethodEditModel" name="start" id="simulator/Agent#start()"/>
</children>
<children xsi:type="editmodel:CompartmentEditModel"/>
<sourceConnections xsi:type="editmodel:AssociationEditModel" id="simulator/Agent@agent+simulator/Business@business" source="//@children.1" target="//@children.2" targetEnd="//@children.1/@sourceConnections.0/@children.2" label="//@children.1/@sourceConnections.0/@children.0" sourceEnd="//@children.1/@sourceConnections.0/@children.1" connectionRouterKind="Manhattan" autoLocated="true">
<children xsi:type="editmodel:WireLabelEditModel" size="1,14" fontInfo="Arial-8-0" anchorKind="MiddlePart"/>
<children xsi:type="editmodel:AssociationEndEditModel" name="agent" location="135,69" id="simulator/Agent@agent+simulator/Business@business|simulator/Agent#agent" attachSource="true" multiplicityLabel="//@children.1/@sourceConnections.0/@children.1/@children.1" roleLabel="//@children.1/@sourceConnections.0/@children.1/@children.0" navigable="true">
<children xsi:type="editmodel:LabelEditModel" name=" ~ agent" location="192,728" size="40,14" fontInfo="Arial-8-0" anchorKind="FirstPart"/>
<children xsi:type="editmodel:LabelEditModel" name="0..*" location="192,756" size="17,14" fontInfo="Arial-8-0" anchorKind="FirstPart"/>
</children>
<children xsi:type="editmodel:AssociationEndEditModel" name="business" location="0,69" id="simulator/Agent@agent+simulator/Business@business|simulator/Business#business" multiplicityLabel="//@children.1/@sourceConnections.0/@children.2/@children.1" roleLabel="//@children.1/@sourceConnections.0/@children.2/@children.0" navigable="true">
<children xsi:type="editmodel:LabelEditModel" name=" ~ business" location="266,728" size="57,14" fontInfo="Arial-8-0" anchorKind="LastPart"/>
<children xsi:type="editmodel:LabelEditModel" name="1" location="316,756" size="7,14" fontInfo="Arial-8-0" anchorKind="LastPart"/>
</children>
</sourceConnections>
<classifierPreferences xsi:type="editmodel:UMLClassDiagramClassifierPreference" showStereotype="true" attributeSorter="Natural" methodSorter="Natural" innerClassSorter="Natural" showPublicAttributes="true" showPackageAttributes="true" showStaticAttributes="true" showPublicMethods="true" showPackageMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" showAttributeProperty="true"/>
</children>
<children xsi:type="editmodel:ClassEditModel" targetConnections="//@children.1/@sourceConnections.0" name="Business" location="330,680" size="153,265" id="simulator/Business" runTimeClassModel="stop(),closeDoor(),addAgent(),totalWait,requestCustomerFor(I),generateCustomer(),updateDisplay(),start(),retireAgent(),Business(Ljava.lang.String;),run(),openDoor()">
<children xsi:type="editmodel:CompartmentEditModel" size="90,18">
<children xsi:type="editmodel:AttributeEditModel" name="totalWait" id="simulator/Business#totalWait"/>
</children>
<children xsi:type="editmodel:CompartmentEditModel" size="130,198">
<children xsi:type="editmodel:MethodEditModel" name="Business" id="simulator/Business#Business(Ljava.lang.String;)"/>
<children xsi:type="editmodel:MethodEditModel" name="addAgent" id="simulator/Business#addAgent()"/>
<children xsi:type="editmodel:MethodEditModel" name="closeDoor" id="simulator/Business#closeDoor()"/>
<children xsi:type="editmodel:MethodEditModel" name="generateCustomer" id="simulator/Business#generateCustomer()"/>
<children xsi:type="editmodel:MethodEditModel" name="openDoor" id="simulator/Business#openDoor()"/>
<children xsi:type="editmodel:MethodEditModel" name="requestCustomerFor" id="simulator/Business#requestCustomerFor(I)"/>
<children xsi:type="editmodel:MethodEditModel" name="retireAgent" id="simulator/Business#retireAgent()"/>
<children xsi:type="editmodel:MethodEditModel" name="run" id="simulator/Business#run()"/>
<children xsi:type="editmodel:MethodEditModel" name="start" id="simulator/Business#start()"/>
<children xsi:type="editmodel:MethodEditModel" name="stop" id="simulator/Business#stop()"/>
<children xsi:type="editmodel:MethodEditModel" name="updateDisplay" id="simulator/Business#updateDisplay()"/>
</children>
<children xsi:type="editmodel:CompartmentEditModel"/>
<classifierPreferences xsi:type="editmodel:UMLClassDiagramClassifierPreference" showStereotype="true" attributeSorter="Natural" methodSorter="Natural" innerClassSorter="Natural" showPublicAttributes="true" showPackageAttributes="true" showStaticAttributes="true" showPublicMethods="true" showPackageMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" showAttributeProperty="true"/>
</children>
<children xsi:type="editmodel:ClassEditModel" targetConnections="//@children.5/@sourceConnections.0" name="List" location="555,455" size="108,175" id="simulator/List" runTimeClassModel="toString(),numItems,List(),add(Ljava.lang.Object;),isFull(),get(I),List(I)">
<children xsi:type="editmodel:CompartmentEditModel" size="85,18">
<children xsi:type="editmodel:AttributeEditModel" name="numItems" id="simulator/List#numItems"/>
</children>
<children xsi:type="editmodel:CompartmentEditModel" size="68,108">
<children xsi:type="editmodel:MethodEditModel" name="List" id="simulator/List#List()"/>
<children xsi:type="editmodel:MethodEditModel" name="List" id="simulator/List#List(I)"/>
<children xsi:type="editmodel:MethodEditModel" name="add" id="simulator/List#add(Ljava.lang.Object;)"/>
<children xsi:type="editmodel:MethodEditModel" name="get" id="simulator/List#get(I)"/>
<children xsi:type="editmodel:MethodEditModel" name="isFull" id="simulator/List#isFull()"/>
<children xsi:type="editmodel:MethodEditModel" name="toString" id="simulator/List#toString()"/>
</children>
<children xsi:type="editmodel:CompartmentEditModel"/>
<classifierPreferences xsi:type="editmodel:UMLClassDiagramClassifierPreference" showStereotype="true" attributeSorter="Natural" methodSorter="Natural" innerClassSorter="Natural" showPublicAttributes="true" showPackageAttributes="true" showStaticAttributes="true" showPublicMethods="true" showPackageMethods="true" showStaticMethods="true" showPublicInnerClasses="true" showPackageInnerClasses="true" showStaticInnerClasses="true" showAttributeProperty="true"/>
</children>
<children xsi:type="editmodel:ClassEditModel" name="Simulator" location="50,77" size="133,103" id="simulator/Simulator" runTimeClassModel="Simulator(),main([LString;),actionPerformed(Ljava.awt.event.ActionEvent;)">
<children xsi:type="editmodel:CompartmentEditModel"/>
<children xsi:type="editmodel:CompartmentEditModel" size="110,54">
<children xsi:type="editmodel:MethodEditModel" name="Simulator" id="simulator/Simulator#Simulator()"/>
<children xsi:type="editmodel:MethodEditModel" name="actionPerformed" id="simulator/Simulator#actionPerformed(Ljava.awt.event.ActionEvent;)"/>
<children xsi:type="editmodel:MethodEditModel" name="main" id="simulator/Simulator#main([LString;)"/>
</children>
<children xsi:type="editmodel:CompartmentEditModel"/>
<sourceConnections xsi:type="editmodel:AssociationEditModel" id="simulator/Bank@bank+simulator/Simulator@" source="//@children.4" target="//@children.7" targetEnd="//@children.4/@sourceConnections.0/@children.2" label="//@children.4/@sourceConnections.0/@children.0" sourceEnd="//@children.4/@sourceConnections.0/@children.1" connectionRouterKind="Manhattan" autoLocated="true">
<children xsi:type="editmodel:WireLabelEditModel" size="1,14" fontInfo="Arial-8-0" anchorKind="MiddlePart"/>
<children xsi:type="editmodel:AssociationEndEditModel" location="89,103" id="simulator/Bank@bank+simulator/Simulator@|simulator/Simulator#" attachSource="true"/>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -