![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
A system can have zero or more interface. An interface can have zero or more message. A message can have zero or more datafield with an ordered position. A datafield can be a simple one (like integer, float, etc) or composed by other datafield. Then I'm wondering about the db data model. |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Hi, I have the following issue (I hope I post the right group): I'm thinking to write a tool for Interface Requirement Specification (IRS). Then I'm wondering about the db data model. I identified the following entities: -System -Interface (between systems, interface have directions) -Message -Datafield I then identified the following relations: A system can have zero or more interface. An interface can have zero or more message. A message can have zero or more datafield with an ordered position. A datafield can be a simple one (like integer, float, etc) or composed by other datafield. The following is a first raw sketch I thought: SYSTEM_SCHEMA={IDsys, Name, Desc} INTERFACE_SCHEMA={IDitf, Name, IDsysSource, IDsysDest, Desc} MESSAGE_SCHEMA={IDmes, IDitf, Name, Description} FIELDOFMESSAGE_SCHEMA={IDfom, IDmes, Position, IDtyp, Name, Desc} TYPE_SCHEMA={IDtyp, Name, isNative, Desc} |
|
The "isNative" flag identifies simple type from composed type. I'd appreciate comments and suggestion about that. Thanks in advance for the interest. LC |
![]() |
| Thread Tools | |
| Display Modes | |
| |