class #04
|Contents |Development Proposal |Data Flow Diagram |Output Image |Data Structures |Program Specifications |Procedure Specifications |Development Plan |Cost Package

DATA STRUCTURE


"Àüü Schema¿¡ ´ëÇÑ E-R Diagram °ú ÀÚ·á»çÀü Data Dictionary ÀÌ ÀÛ¼ºµÈ´Ù. ÀÌ´Â ÀÚ·áÈ帧µµÀÇ ÀÚ·áÀúÀå¼Ò Data storage¿Í ¿¬°üµÈ´Ù. °æ¿ì¿¡ µû¶ó ÁÖ¿ä Entity¿¡ ´ëÇÑ ¿ä¾à ±×¸²ÀÌ Á¦°øµÉ ¼ö ÀÖ´Ù. ÀÚ·á»çÀüÀº »ç¿ëÀÚ Á¤ÀÇ Table¿Í View·Î ³ª´©¾îÁö¸ç »ç¿ëÀÚ Á¤ÀÇ Table¿¡´Â Table name, description, attributes, attribute type, integrity constriants, description µîÀÌ Æ÷ÇԵȴÙ. °æ¿ì¿¡ µû¶ó ´ÙÀ½ÀÇ ÇÁ·Î±×·¥ ¼³°è¿¡¼­ ³ª¿À´Â Áß¿ä ProgramÀÇ Áß¿¡ °ü·ÃµÈ ProgramÀÇ À̸§ÀÌ Á¦°øµÉ ¼ö ÀÖ´Ù(°´Ã¼ÁöÇâÀû È®Àå). "

Entity Relationship Diagram

"ÁÖ¿ä ¿£Æ¼Æ¼¿Í »óÈ£ °ü°è¸¦ º¸¿©ÁØ´Ù. Entity Relationship DiagramÀ» »ç¿ëÇϰųª ÀÌÇØ°¡ ½¬¿î DiagramÀ» »ç¿ëÇÑ´Ù."

The following figure shows the edge relate a parent part (an assembly) with its child part (a component). The quality per infromation is defined on the edge.

Entity Relationship Diagram

Entity Specficiation

Key attributes with its domain are specified.

/* Part Entity */
ENTITY PART;
part_id NUMBER;
part_no STRING;
part_version STRING;
part_name STRING;
status STRING;

UNIQUE part_id;
UNIQUE part_no, part_version;
END ENTITY;

/* Edge Entity */
ENTITY EDGE;
edge_id NUMBER;
parent_part PART;
child_part PART;
qty NUMBER;

UNIQUE edge_id;
END ENTITY;

Schema Diagram

"Á¤ÀÇµÈ EntityÀÇ Database ModelÀ» °í·ÁÇÑ Table ȤÀº View Level Specification"

- N/A -

Data Dictionary

"»ç¿ëµÈ ÀÚ·áµé¿¡ ´ëÇÑ ¸í¼¼(Type, Length, Constraintsµî)¸¦ List ÇÑ ÀÚ·á"

No Name Description Type Length Constraints
1 part_no One of the part identifier CHAR(18) UNIQUE(part_no,part_version)
2 part_version One of the part identifier, for revision mgt. CHAR(3) UNIQUE(part_no,part_version)

class #04


Knowledge & Engineering Databases (c) copyright Namchul Do, 2002