Stereotypes模式化TheUMLprovidesalanguageforstructuralthings,behavioralthings,groupingthings,andnotationalthings.ThesefourbasickindsofthingsaddresstheoverwhelmingmajorityofthesystemsyouIIneedtomodel.However,sometimesyoullwanttointroducenewthingsthatspeakthevocabularyofyourdomainandlooklikeprimitivebuildingblocks.UML为结构事物、行为事物、群组事物和注释事物提供了一门语言这四个基本事物类型处理你所需建模系统的绝大多数然而,有时你会想为了说自己领域的词汇而引进新事物,让其看起来象是初始的构建块.Astereotypeisnotthesameasaparentclassinaparent/childgeneralizationrelationship.Rather,