Datadictionary And Database Report
| Project name | Target db | Author | Copyright | Current |
|---|---|---|---|---|
| example_database | mysql4 | Robert Allen | 2004 Allen Technology | 2004-10-08 03:31 |
| Description: Example database allows for collection of multiple address, phone and email contacts per individual and relationships between people, and division into sub-types of 'friend' or 'enemy'. This example was created for demonstrating the Allen Technology Datadictionary generator. | ||||
Generated by Allen Technology DDictXSLT - Copyright 2004 allentech.net
<< Reports Index, Extended Datadictionary
Datadictionary Index
Entity - Attribute - Index Details
Domain Definitions
Entity Relationships
ER Diagram
Entities
acquaintance
address
email_addr
friend
person
person_person
telephone
| Entity: acquaintance | A person known to us but not a friend. | (no todo) |
|---|
| Attribute | Data type / Check | Default value / Req'd | Description | TODO | ||||
|---|---|---|---|---|---|---|---|---|
| business |
|
| (no description) | (no todo) | ||||
| comments Domain: description |
|
| (no description) | (no todo) | ||||
| first_impression |
|
| (no description) | (no todo) | ||||
| how_acquainted Domain: text_32 |
|
| (no description) | (no todo) | ||||
| PKFKperson_id |
|
| (no description) | (no todo) |
^Top, Datadictionary Index, Entities Index
| Entity: address | Physical addresses. | (no todo) |
|---|
| Attribute | Data type / Check | Default value / Req'd | Description | TODO | ||||
|---|---|---|---|---|---|---|---|---|
| addr_1 Domain: text_128 |
|
| A physial address, such as street, box, etc. | (no todo) | ||||
| addr_2 Domain: text_128 |
|
| A second line of address information, optional. | (no todo) | ||||
| addr_3 Domain: text_128 |
|
| A third line of address information, optional. | (no todo) | ||||
| PKaddress_id |
|
| Record unique id used by view_base_class. | (no todo) | ||||
| city Domain: text_64 |
|
| The city part of the address. | (no todo) | ||||
| description Domain: text_128 |
|
| Description of uses for this address. | (no todo) | ||||
| label Domain: text_16 |
|
| Label for this address in lists, ie. 'Home', 'Business', etc. | (no todo) | ||||
| FKperson_id |
|
| (no description) | (no todo) | ||||
| state Domain: us_state |
|
| The state part of the address. | (no todo) | ||||
| zip Domain: us_zip |
|
| The zip code of the address. | (no todo) |
| Index | Type / Sort | Attributes | Description | TODO | ||
|---|---|---|---|---|---|---|
| IDX_address1 |
| city state zip | A multi-attribute index. | See how it works. | ||
| IDX_address2 |
| description | Full text index, descending. | (no todo) |
^Top, Datadictionary Index, Entities Index
| Entity: email_addr | An email address contact. | (no todo) |
|---|
| Attribute | Data type / Check | Default value / Req'd | Description | TODO | ||||
|---|---|---|---|---|---|---|---|---|
| description Domain: text_128 |
|
| Describes intended uses for this email. | (no todo) | ||||
| email Domain: email |
|
| The email address. | (no todo) | ||||
| PKemail_addr_id |
|
| (no description) | (no todo) | ||||
| label Domain: text_16 |
|
| List label for this email, ie. Personal, Business, etc. | (no todo) | ||||
| FKperson_id |
|
| (no description) | (no todo) |
^Top, Datadictionary Index, Entities Index
| Entity: friend | Persons who are friends. | (no todo) |
|---|
| Attribute | Data type / Check | Default value / Req'd | Description | TODO | ||||
|---|---|---|---|---|---|---|---|---|
| anniversary Domain: date_time |
|
| The persons anniversary. | (no todo) | ||||
| birthday Domain: date_time |
|
| Person's birthday if known. | (no todo) | ||||
| favorite_color Domain: text_16 |
|
| (no description) | (no todo) | ||||
| gift_idea Domain: text_128 |
|
| Ideas for gifts, surprises fro this person. | (no todo) | ||||
| memo Domain: description |
|
| Why we like this person. | (no todo) | ||||
| PKFKperson_id |
|
| (no description) | (no todo) |
^Top, Datadictionary Index, Entities Index
| Entity: person | An individual person. | (no todo) |
|---|
| Attribute | Data type / Check | Default value / Req'd | Description | TODO | ||||
|---|---|---|---|---|---|---|---|---|
| first_name Domain: text_32 |
|
| First name, or personal name. | See note for 'last_name', same applied here | ||||
| last_name Domain: text_32 |
|
| Last name, or family name. | Family name is not 'last' name for all cultures, reflect this in all forms and views. | ||||
| PKperson_id |
|
| Record unique id used by view_base_class. | (no todo) | ||||
| sex |
|
| The persons sex if known. | (no todo) | ||||
| title |
|
| Title to precede name in communications. | (no todo) |
| Index | Type / Sort | Attributes | Description | TODO | ||
|---|---|---|---|---|---|---|
| IDX_person1 |
| last_name | Last name index. | See how this works for us. |
^Top, Datadictionary Index, Entities Index
| Entity: person_person | person-to-person relationsip intersection table (N:M cardinality). | (no todo) |
|---|
| Attribute | Data type / Check | Default value / Req'd | Description | TODO | ||||
|---|---|---|---|---|---|---|---|---|
| PKFKperson_id1 |
|
| Record id of first person. | (no todo) | ||||
| PKFKperson_id2 |
|
| Record id of second person, self references disallowed. | (no todo) | ||||
| relationship Domain: text_32 |
|
| Describes relationship between two persons. | (no todo) |
^Top, Datadictionary Index, Entities Index
| Entity: telephone | A telephone number contact. | (no todo) |
|---|
| Attribute | Data type / Check | Default value / Req'd | Description | TODO | ||||
|---|---|---|---|---|---|---|---|---|
| description Domain: text_128 |
|
| Describes uses for this phone, ie. personal, emergency, call times, etc. | (no todo) | ||||
| label Domain: text_16 |
|
| Label for this phone, ie. 'Personal', 'Business', etc. | (no todo) | ||||
| FKperson_id |
|
| (no description) | (no todo) | ||||
| phone Domain: us_phone |
|
| The phone number. | (no todo) | ||||
| PKtelephone_id |
|
| (no description) | (no todo) |
Domains
boolean
date_time
description
email
ip_address
number_dec42
number_double
number_int
passwd
text_128
text_16
text_255
text_32
text_64
unix_time
url
us_dollar
us_phone
us_state
us_zip
username
Relationships
person_acquaintance
person_address
person_email_addr
person_friend
person_person1
person_person2
person_telephone
| Relationship name | Parent / Child | PK - FK | Description | TODO | ||||
|---|---|---|---|---|---|---|---|---|
| person_acquaintance 1:0+, Sub-category |
|
| Defines sub-catagory of persons who are friends. | (no todo) | ||||
| person_address 1:0+, Non-Identifying |
|
| Relates persons to multiple addresses. | (no todo) | ||||
| person_email_addr 1:1+, Non-Identifying |
|
| Relates persons to email addresses. | (no todo) | ||||
| person_friend 1:0+, Sub-category |
|
| Defines sub-catagory of persons who are friends. | (no todo) | ||||
| person_person1 1:0+, Identifying |
|
| Relates first person in person-to-person relationship. | (no todo) | ||||
| person_person2 1:0+, Identifying |
|
| Relates second person in a person-to-person relationship. | (no todo) | ||||
| person_telephone 1:0+, Non-Identifying |
|
| Relates persons to telephone numbers. | (no todo) |