FindingEntities寻找实体.ppt_第1页
FindingEntities寻找实体.ppt_第2页
FindingEntities寻找实体.ppt_第3页
FindingEntities寻找实体.ppt_第4页
FindingEntities寻找实体.ppt_第5页
已阅读5页,还剩13页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、Finding Entities,What is an Entity,An entity is a person, place, object, event, or concept about which the organization wishes to record data. Entities should be things that are readily recognized by anyone working in the enterprise.,Some Entity Rules,An Entity 1. Must be within the scope of the sys

2、tem 2. Must have at least one non-key attribute,Where to Begin,To begin, we must have some form of information that we can use in our analysis. Collect information about the major business functions and processes. We can use questionnaires, interviews, observations etc.,Where to Begin,Another good s

3、ource of information for data modeling can be obtained by collecting any forms that are used by the enterprise. These forms provide valuable information on what data is important to the enterprise and how it is grouped.,Where to Begin,Once we have a concise picture of the processes we are going to m

4、odel, we can begin the iterative process of finding the entities that are necessary to support the enterprise.,The Steps Involved,1. Identify the system information a. User interviews b. Paper and screen documents c. Previous system documentation,The Steps Involved,2. Identify entities a. Analysis o

5、f English grammar - Entity-Relationship Diagrams b. Heuristics c. Normalization process,Analyze the Grammer,Using the table on the next slide, find the entities, attributes and relationships from the description and other information we have gathered about the enterprise.,Use this table to start,Sen

6、tence Restructuring,Next we do some sentence restructuring: Convert any sentence in the following form: “There are . . . X in Y” into “Y has . . . X”,Sentence Restructuring Example,“There are more than 200 employees in every department.” “Every department has more than 200 employees.”,X,Y,X,Y,More R

7、estructuring,If the English sentence says, “The X of Y is Z” Y is an Entity X is either an Attribute or an Entity, depending on what type of “Z” it is. If “Z” is a proper noun, then X is a Relationship between Y and Z Otherwise, X is an Attribute of Y,More Examples,The birthdate of the student is 10

8、/22/71. (x) (y) (z) Attribute Entity not a proper noun The advisor of John Smith is Dr. Greene. (x) (y) (z) Relationship Entity Proper noun,Candidate Entities,The preceeding steps have provided a list of Candidate Entities. Now we need to apply a few more rules to ensure we have only those entities

9、that are essential to the enterprise.,Paring Down the List,First, eliminate any duplicate entities. These can be entities with different names but representing the same thing. For example Patron and Customer. These may both represent the same entity. Second, eliminate and entities that are not impor

10、tant to the enterprise. This may require some analysis and work with the user/end customer.,Now add some Heuristics,When is an entity an entity? Any entity with only one evident instance (e.g. The National Basketball League, NHL, NFL etc.) is not a good entity because it is modeling business context or the business itself. If one ENTITY is in the center of everything and is connected to everything else it is probably the view point or context rather than an entity.,Finely,Remember that eventuall

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论