Tải bản đầy đủ - 0 (trang)
Appendix K. UML 2: Additional Diagram Types

Appendix K. UML 2: Additional Diagram Types

Tải bản đầy đủ - 0trang

AppendixK.UML2:AdditionalDiagram

Types

SectionK.1.Introduction

SectionK.2.AdditionalDiagramTypes



[Page1554(continued)]



K.1.Introduction

IfyoureadtheoptionalSoftwareEngineeringCaseStudy

sectionsinChapters39and11,youshouldnowhavea

comfortablegraspoftheUMLdiagramtypesthatweuseto

modelourATMsystem.Thecasestudyisintendedforusein

first-orsecond-semestercourses,sowelimitourdiscussionto

aconcisesubsetoftheUML.TheUML2providesatotalof13

diagramtypes.TheendofSection3.10summarizesthesix

diagramtypesthatweuseinthecasestudy.Thisappendixlists

andbrieflydefinesthesevenremainingdiagramtypes.







[Page1554(continued)]



K.2.AdditionalDiagramTypes

Thefollowingarethesevendiagramtypesthatwehavechosen

nottouseinourSoftwareEngineeringCaseStudy.

Objectdiagramsmodela"snapshot"ofthesystemby

modelingasystem'sobjectsandtheirrelationshipsata

specificpointintime.Eachobjectrepresentsaninstanceof

aclassfromaclassdiagram,andseveralobjectsmaybe

createdfromoneclass.ForourATMsystem,anobject

diagramcouldshowseveraldistinctAccountobjectssideby

side,illustratingthattheyareallpartofthebank'saccount

database.

Componentdiagramsmodeltheartifactsand

componentsresources(whichincludesourcefiles)that

makeupthesystem.

Deploymentdiagramsmodelthersystem'sruntime

requirements(suchasthecomputerorcomputersonwhich

thesystemwillreside),memoryrequirements,orother

devicesthesystemrequiresduringexecution.

Packagediagramsmodelthehierarchicalstructureof

packages(whicharegroupsofclasses)inthesystemat

compiletimeandtherelationshipsthatexistbetweenthe

packages.



[Page1555]

Compositestructurediagramsmodeltheinternal

structureofacomplexobjectatruntime.NewinUML2,



theyallowsystemdesignerstohierarchicallydecomposea

complexobjectintosmallerparts.Compositestructure

diagramsarebeyondthescopeofourcasestudy.Theyare

moreappropriateforlargerindustrialapplications,which

exhibitcomplexgroupingsofobjectsatexecutiontime.

Interactionoverviewdiagrams,newinUML2,providea

summaryofcontrolflowinthesystembycombining

elementsofseveraltypesofbehavioraldiagrams(e.g.,

activitydiagrams,sequencediagrams).

Timingdiagrams,alsonewinUML2,modelthetiming

constraintsimposedonstagechangesandinteractions

betweenobjectsinasystem.

TolearnmoreaboutthesediagramsandadvancedUMLtopics,

pleasevisitwww.uml.organdtheWebresourceslistedatthe

endsofSection1.17andSection3.10.



[Page1556]



AppendixL.SimpleTypes

FigureL.1.Simpletypes.



[Page1557]

Type



Sizein

bits



Valuerange



bool



8



trueorfalse



byte



8



0to255,inclusive



sbyte



8



128to127,inclusive



char



16



'\u0000'to'\uFFFF'(0to65535),inclusive



short



16



32768to32767,inclusive



ushort



16



0to65535,inclusive



int



32



2,147,483,648to2,147,483,647,inclusive



uint



32



0to4,294,967,295,inclusive



float



32



Approximatenegativerange:



IEEE754











3.4028234663852886E+38to



IEC

60559



































1.40129846432481707E45

Approximatepositiverange:

1.40129846432481707E45to

3.4028234663852886E+38



Standard











Unicode























Othersupportedvalues:



































long



64











ulong



64



0to18,446,744,073,709,551,615,inclusive



double



64



Approximatenegativerange:



IEEE754











1.7976931348623157E+308to



IEC

60559



































































decimal



128











positiveandnegativezero

positiveandnegativeinfinity

not-a-number(NaN)

9,223,372,036,854,775,808to

9,223,372,036,854,775,807,inclusive



4.94065645841246544E324

Approximatepositiverange:

4.94065645841246544E324to

1.7976931348623157E+308

Othersupportedvalues:

positiveandnegativezero

positiveandnegativeinfinity

not-a-number(NaN)





































Negativerange:

79,228,162,514,264,337,593,543,950,335



















































(7.9E+28)to1.0E28



Positiverange:

1.0E28to

79,228,162,514,264,337,593,543,950,335

(7.9E+28)















[Page1556(continued)]



AdditionalSimpleTypeInformation

ThisappendixisbasedoninformationfromSections

4.1.44.1.8ofMicrosoft'sversionoftheC#Language

SpecificationandSections11.1.411.1.8oftheECMA-334

(theECMAversionoftheC#LanguageSpecification).These

documentsareavailablefromthefollowingWebsites:

msdn.microsoft.com/vcsharp/programming/language/

www.ecma-international.org/publications/standards/Ecma334.htm

Valuesoftypefloathavesevendigitsofprecision.

Valuesoftypedoublehave1516digitsofprecision.

Valuesoftypedecimalarerepresentedasintegervaluesthat

arescaledbyapowerof10.Valuesbetween1.0and1.0

arerepresentedexactlyto28digits.

FormoreinformationonIEEE754visit

grouper.ieee.org/groups/754/.Formoreinformationon

Unicode,seeAppendixE,Unicode®.



Index

[SYMBOL][A][B][C][D][E][F][G][H][I][J][K][L][M][N]

[O][P][Q][R][S][T][U][V][W][X][Y][Z]



Index

[SYMBOL][A][B][C][D][E][F][G][H][I][J][K][L][M][N]

[O][P][Q][R][S][T][U][V][W][X][Y][Z]

!,logicalnegation2nd



truthtable

!=,notequals2nd

#FIXEDkeyword(DTD)

#IMPLIEDkeyword(DTD)

#PCDATAkeyword(DTD)

#REQUIREDkeyword(DTD)

%SQLwildcardcharacter

%,remainder2nd

&&,conditionalAND2nd



truthtable

&,booleanlogicalAND2nd

&,menuaccessshortcut

&2nd

©2nd

¼2nd

<2nd3rd4th

(double)cast

*,multiplication2nd3rd

*,quantifier(regularexpressions)

++,prefix/postfixincrement

+,addition2nd

+,publicvisibilitysymbol



Tài liệu bạn tìm kiếm đã sẵn sàng tải về

Appendix K. UML 2: Additional Diagram Types

Tải bản đầy đủ ngay(0 tr)

×