 |
MAPI Commands: inom_EREntityCreate
|
| Purpose: |
Create an ER Entity or R Type.
|
| Synopsis: |
inom_EREntityCreate rep log [element] [name] [swname] [objectlist]
[point] [graph] [csd] [dsd]
|
| Arguments: |
| rep |
The name of the repository which is obtained as a result of applying inoevalRequest or after applying opteval_start (variable rep). It can also be specified explicitly. |
| log |
The user's login Id which is obtained as a result of applying inom_Login. |
| element (optional) |
If a Package Id is specified, an ERMEntity is created. Giving an ERDiagram will produce an ERDEntity node. If an ERDRelationship or an ERMRelationship is specified, an R type is created.
If no element is specified, the objectlist parameter must not be empty. |
| name (optional) |
Entity name. |
| swname (optional) |
Software name (Short name). |
| objectlist (optional) |
Tcl list of either ERDEntities or ERMEntities. This argument will produce an R type and is ignored, if the element argument is specified. |
| point (optional) |
Diagram coordinate, if an ERDiagram is specified in element. |
| graph (optional) |
Graphical maintenance. Possible values are Global (default), Local, and User. |
| csd (optional) |
CSD maintenance. If True (default), foreign keys are inherited from dependent entities. Otherwise False should be stated. |
| dsd (optional) |
DSD maintenance. If True, a database table is created along with the entity. Otherwise False (default) should be stated. The database table receives the software name specified in the swname argument. |
|
| Result: |
If successful, the entity is created and its Id is returned. If an ERDiagram or an ERDRelationship is specified, an ERDEntity is created too, and this Id is returned instead.
|
|
MAPI Commands: inom_EREntityAdd
|
| Purpose: |
Add ER entities to a (S)ER diagram.
|
| Synopsis: |
inom_EREntityAdd rep log diagram entlist [point] [graph]
|
| Arguments: |
| rep |
The name of the repository which is obtained as a result of applying inoevalRequest or after applying opteval_start (variable rep). It can also be specified explicitly. |
| log |
The user's login Id which is obtained as a result of applying inom_Login. |
| diagram |
A diagram, entity or relationship Id (ERDiagram, ERDEntity or ERDRelationship). |
| entlist |
Tcl list of either entity Ids (ERMEntity) or entity names. |
| point (optional) |
Diagram coordinate, if a ERDiagram is specified in element. |
| graph (optional) |
Graphical maintenance. Possible values are Global (default), Local, and User. |
|
|
MAPI Commands: inom_EREntityModifyNames
|
| Purpose: |
Modify Name and or SW Name.
|
| Synopsis: |
inom_EREntityModifyNames rep log entity [name] [shortname]
[constraints] [dsd] [esd]
|
| Arguments: |
| rep |
The name of the repository which is obtained as a result of applying inoevalRequest or after applying opteval_start (variable rep). It can also be specified explicitly. |
| log |
The user's login Id which is obtained as a result of applying inom_Login. |
| entity |
Entity or R type (ERDEntity, ERMEntity). |
| name (optional) |
New name for the Entity/R type. |
| shortname (optional) |
New short name. |
| constraints (optional) |
Constraint maintenance, True (default) or False. |
| dsd (optional) |
Data Schema maintenance, True or False (default). |
| esd (optional) |
Extern Schema maintenance, True (default) or False. |
|
|
MAPI Commands: inom_EREntityModifyProps
|
| Purpose: |
Switch between entity and R type.
|
|
Modify node maintenance.
|
| Synopsis: |
inom_EREntityModifyProps rep log entitylist [rtype] [maint]
[constraints] [dsd] [esd]
|
| Arguments: |
| rep |
The name of the repository which is obtained as a result of applying inoevalRequest or after applying opteval_start (variable rep). It can also be specified explicitly. |
| log |
The user's login Id which is obtained as a result of applying inom_Login. |
| entitylist |
Tcl list of Entity or R Type nodes (ERDEntity, ERMEntity). |
| rtype |
True makes the Entity an R Type, False makes it an Entity, Toggle switches between Entity and R Type, Hold (default) does not change it. |
| maint (optional) |
The node maintenance may be Global, Local, User, or Keep (default). Entitylist should contain only ERDEntities, then. |
| constraints (optional) |
Constraint maintenance, True (default) or False. |
| dsd (optional) |
Data Schema maintenance, True or False (default). |
| esd (optional) |
Extern Schema maintenance, True (default) or False. |
|
|
MAPI Commands: inom_EREntityModifyDisplay
|
| Purpose: |
Modify diagram nodes' display.
|
| Synopsis: |
inom_EREntityModifyDisplay rep log entitylist
entity_name entity_swname entity_icon
attribute_name attribute_swname
attribute_p attribute_f attribute_nn attribute_n
attribute_properties attribute_dataelement attribute_type
|
| Arguments: |
| rep |
The name of the repository which is obtained as a result of applying inoevalRequest or after applying opteval_start (variable rep). It can also be specified explicitly. |
| log |
The user's login Id which is obtained as a result of applying inom_Login. |
| entitylist |
Tcl list of Entity or R Type nodes (ERDEntity). |
entity_name (optional)
entity_swname (optional)
entity_icon (optional)
attribute_name (optional)
attribute_swname (optional)
attribute_p (optional)
attribute_f (optional)
attribute_nn (optional)
attribute_n (optional)
attribute_properties (optional)
attribute_dataelement (optional)
attribute_type (optional) |
Give "1" to set the property, "0" or ! to reset it. Left out properties are reset, too. |
|