Le fichier projet: Structure de dossier de projet : Format XML
Le format XML, comme dans le format ini, est composée par des éléments du projet, les opinions et les caractéristiques du projet lui-même. Les paramètres de chaque objet sont définies dans les attributs de chaque élément. Pour simplifier la gestion, la structure est organisée de manière à réduire autant que possible les prolificare étiquettes des principaux éléments, et en plaçant tous les aspects du projet, et l'objet des attributs de chaque élément. De cette façon, on a tenté de réduire la taille des fichiers, l'optimisation des fonctions de l'écriture et la lecture, et d'éviter autant que possible les problèmes liés à la surconsommation de ressources et le plantage du système qui s'est produit dans les versions précédentes de pgDesigner.
Tous les éléments sont enfermés dans un seul élément: pgDesigner.
Sauf pour quelques-unes des fonctionnalités, dédiées à la objets graphiques du projet ont trait à des propriétés spécifiques PostgreSQL, qui se réfèrent à la documentation officielle de l'instruction de l'affaire.
Element | Attribute | Type | Default | Description |
---|---|---|---|---|
pgDesigner | Group features of the project file. | |||
Version | Stringa | <blank> | Identifies version of the file. The official version is the release of pgDesigner; in latest release has been revised methodology and diversified the cassi numbering between the application and project files. Where possible has been maintained a certain compatibility with earlier versions, but this does not exclude the probability an old project can not be read with the new release of pgDesigner. | |
PROJECT | Group characteristics of the project. | |||
Name | Stringa | <blank> | Project Name (required). | |
PageFormat | Stringa | A4 | Page Format Printing. The setting is used for the default configuration for prints, but can be modified in the project. |
|
PageOrientation | Numerico | 0 | Orientation of the press:
The setting is used for the default configuration for prints, but can be modified in the project. |
|
Revision | Stringa | <blank> | Given the last change in format: dd/mm/yyyy hh:mm:ss. The value does not drive the project, but is only used as an indicator. |
|
Description | Stringa | <blank> | Project Description. It can contain a brief description of the project. |
|
Driver | Stringa | 8.2 | Number Identification version of PostgreSQL. The value determines the characteristics of the project, and determines the type of database that you want to create. |
|
Author | Stringa | <blank> | Author's name. It contains the name of the project. |
|
Display | Numerico | 0 | Number of current display. Indicates the number of active display. Immediately after loading the project, the application sets this display as current display, showing only the diagram objects contained in this display. |
|
DISPLAY | Has the characteristics of a display (or view) of the project. | |||
Name | Stringa | <blank> | Name of the display. | |
Description | Stringa | <blank> | Description of the display. | |
DISPLAYOBJECT | It defines an object in the display. | |||
Display | Stringa | <blank> | Name of the display. | |
Name | Stringa | <blank> | Name of the object in the display. | |
X | Numerico | 0 | Coordinated X inside of the display. | |
Y | Numerico | 0 | Coordinated Y inside of the display. | |
AREA | Has the characteristics of a single object, type area. | |||
Name | Stringa | <blank> | Name of the area. | |
X | Numerico | 0 | Coordinated X of the object. | |
Y | Numerico | 0 | Coordinated Y of the object. | |
W | Numerico | 0 | Width of the object. | |
H | Numerico | 0 | Height of the object. | |
Display | Numerico | 0 | Number display to which the object is associated. | |
Color | Stringa | 0,0,0 | Background color of the object (size: r, g, b). | |
Description | Stringa | <blank> | Text of the object. | |
Bold | Logico | 0 | Printing bold (0 = normal, 1 = bold). | |
DOMAIN | Contains features of a single type of object domain. | |||
Name | Stringa | <blank> | Name of the domain. | |
X | Numerico | 0 | Coordinated X of the object. | |
Y | Numerico | 0 | Coordinated Y of the object. | |
Check | Stringa | <blank> | The clause specifies the integrity constraints or value as head of the domain must be satisfied. | |
DefaultValue | Stringa | <blank> | The clause specifies a default value for the columns of the type of domain. | |
NullValue | Stringa | <blank> | It allows you to enter null values. | |
Type1 | Stringa | <blank> | The data type domain. | |
Type2 | Stringa | <blank> | The data type domain. | |
Type3 | Stringa | <blank> | The data type domain. | |
Constraint | Stringa | <blank> | The name of the optional constraint. | |
Comment | Stringa | <blank> | Description object. | |
ColorBack | Stringa | 0,0,0 | Background Color (size: r, g, b). | |
ColorText | Stringa | 0,0,0 | Color text (size: r, g, b). | |
ColorBackTitle | Stringa | 0,0,0 | Background Color of Title (size: r, g, b). | |
ColorBackTitleSelected | Stringa | 0,0,0 | Background Color of Title when selected (size: r, g, b). | |
ColorForeTitle | Stringa | 0,0,0 | Color title (size: r, g, b). | |
ColorForeTitleSelected | Stringa | 0,0,0 | Color title when selected (size: r, g, b). | |
PROCEDURE | Has the characteristics of a single object type procedure / function. | |||
Name | Stringa | <blank> | Name of procedure / function. | |
X | Numerico | 0 | Coordinated X of the object. | |
Y | Numerico | 0 | Coordinated Y of the object. | |
Argument | Stringa | <blank> | The name of an argument of the function. | |
Argument2 | Stringa | <blank> | The type of the function's arguments, if any. | |
Definition | Stringa | <blank> | One tightens that it defines the content of the function; the inner structure is employee from the used language. | |
Language | Stringa | <blank> | The name of the language used in the construction of the function. | |
Property1 | Stringa | <blank> | This attribute informs the system to save eventual multiple appraisals of the function, dealing them like one single. Admitted values:
|
|
Property2 | Stringa | <blank> | Modality of call of the function. Admitted values:
|
|
Property3 | Stringa | <blank> | It privileges of call of the function: Admitted values:
|
|
ReturnValue | Stringa | <blank> | The type of the return value. | |
ReturnValue2 | Stringa | <blank> | The type of the return value. | |
Comment | Stringa | <blank> | Description object. | |
ColorBack | Stringa | 0,0,0 | Background Color (size: r, g, b). | |
ColorText | Stringa | 0,0,0 | Color text (size: r, g, b). | |
ColorBackTitle | Stringa | 0,0,0 | Background Color of Title (size: r, g, b). | |
ColorBackTitleSelected | Stringa | 0,0,0 | Background Color of Title when selected (size: r, g, b). | |
ColorForeTitle | Stringa | 0,0,0 | Color title (size: r, g, b). | |
ColorForeTitleSelected | Stringa | 0,0,0 | Color title when selected (size: r, g, b). | |
RELATION | Contains features of a single type of object relation. | |||
Name | Stringa | <blank> | Name of the object. | |
X1 | Numerico | 0 | Coordinated X of the table than the father. | |
Y1 | Numerico | 0 | Coordinated Y of the table than the father. | |
X2 | Numerico | 0 | Coordinated X of the table than the daughter. | |
Y2 | Numerico | 0 | Coordinated Y of the table than the daughter. | |
Table1 | Stringa | <blank> | Table Name father. | |
Table2 | Stringa | <blank> | Name table daughter. | |
OnUpdate | Stringa | <blank> | The clause specifies the action to take when a line of the table is referenced amended. | |
OnDelete | Stringa | <blank> | The clause specifies the action to take when a line of the table is referenced canceled. | |
ColorLine | Stringa | 0,0,0 | Color line (size: r, g, b). | |
ColorLineSelected | Stringa | 0,0,0 | Color line when selected (size: r, g, b). | |
ColorStartPoint | Stringa | 0,0,0 | Color initial point (size: r, g, b). | |
ColorMiddlePoint | Stringa | 0,0,0 | Color central point (size: r, g, b). | |
ColorEndPoint | Stringa | 0,0,0 | Color terminal point (size: r, g, b). | |
RELATIONFIELD | Defining fields of the tables in relation. Each line determines the fields of a table with his father of the table. | |||
Relation | Stringa | <blank> | Name of relation. | |
Field1 | Stringa | <blank> | Field Name table father. | |
Field2 | Stringa | <blank> | Field Name table daughter. | |
SEQUENCE | Has the characteristics of a single object type sequence. | |||
Name | Stringa | <blank> | Name of sequence. | |
X | Numerico | 0 | Coordinated X of the object. | |
Y | Numerico | 0 | Coordinated Y of the object. | |
Cache | Numerico | 0 | Optional clause specifying how many sequential numbers should be allocated and stored for fast access. | |
Increment | Numerico | 0 | Value of increase. The property is optional and specifies what value is added to the current value of the sequence for the creation of a new value. |
|
Initial | Numerico | 0 | The property is optional to activate the sequence starting from this value. | |
Iterate | Logico | 0 | The option allows the restart sequence numbering to achieve maximum or minimum values. Values allowed: 0 or 1. | |
MaxValue | Numerico | 0 | The clause is optional and determines the maximum value of the sequence. | |
MinValue | Numerico | 0 | The clause is optional and determines the minimum value of the sequence. | |
Comment | Stringa | <blank> | Description object. | |
ColorBack | Stringa | 0,0,0 | Background Color (size: r, g, b). | |
ColorText | Stringa | 0,0,0 | Color text (size: r, g, b). | |
ColorBackTitle | Stringa | 0,0,0 | Background Color of Title (size: r, g, b). | |
ColorBackTitleSelected | Stringa | 0,0,0 | Background Color of Title when selected (size: r, g, b). | |
ColorForeTitle | Stringa | 0,0,0 | Color title (size: r, g, b). | |
ColorForeTitleSelected | Stringa | 0,0,0 | Color title when selected (size: r, g, b). | |
TABLE | Has the characteristics of a single object type table. | |||
Name | Stringa | <blank> | Name of the table. | |
X | Numerico | 0 | Coordinated X of the object. | |
Y | Numerico | 0 | Coordinated Y of the object. | |
Comment | Stringa | <blank> | Description object. | |
Option | Stringa | <blank> | The clause is optional and if specific lines of the table should have the object identifier (OID). | |
PrimaryKey | Stringa | <blank> | Specify whether the column or columns of a table must contain unique values (unduplicated). | |
Tablespace | Stringa | <blank> | The name of the tablespace where you create a new table. | |
ColorBack | Stringa | 0,0,0 | Background Color (size: r, g, b). | |
ColorText | Stringa | 0,0,0 | Color text (size: r, g, b). | |
ColorBackTitle | Stringa | 0,0,0 | Background Color of Title (size: r, g, b). | |
ColorBackTitleSelected | Stringa | 0,0,0 | Background Color of Title when selected (size: r, g, b). | |
ColorForeTitle | Stringa | 0,0,0 | Color title (size: r, g, b). | |
ColorForeTitleSelected | Stringa | 0,0,0 | Color title when selected (size: r, g, b). | |
TABLEFIELD | Definition of a field single table. | |||
Name | Stringa | <blank> | Name field. | |
Table | Stringa | <blank> | Name of the table. | |
Check | Stringa | <blank> | Specifies an expression that returns a value logical lines when new or modified meet an input or update. | |
Comment | Stringa | <blank> | Description of the field. | |
DefaultValue | Stringa | <blank> | Assign a default value for the column. | |
Length | Stringa | <blank> | Size of the field. | |
NullCheck | Logico | 0 | Flag enabling column containing null values. | |
PrimaryKey | Stringa | <blank> | Specifies that the column must contain unique values (unduplicated). | |
Type1 | Stringa | <blank> | The data type column. | |
Type2 | Stringa | <blank> | The data type column. | |
INDEX | Definition of a single index table. | |||
Name | Stringa | <blank> | Name index. | |
Table | Stringa | <blank> | Name of the table. | |
Tablespace | Stringa | <blank> | Name of tablespace where the index is created. | |
Unique | Logico | 0 | Specifies that the columns in the index should only contain unique values. | |
INDEXFIELD | Definition of a field index. | |||
Name | Stringa | <blank> | Field Name index. | |
Table | Stringa | <blank> | Name of the table. | |
Index | Stringa | <blank> | Name index. | |
TABLESPACE | Has the characteristics of a single object type tablespace. | |||
Name | Stringa | <blank> | Name of tablespace. | |
X | Numerico | 0 | Coordinated X of the object. | |
Y | Numerico | 0 | Coordinated Y of the object. | |
Location | Stringa | <blank> | The directory used for the tablespace. | |
Owner | Stringa | <blank> | Username owner of the tablespace. | |
ColorBack | Stringa | 0,0,0 | Background Color (size: r, g, b). | |
ColorText | Stringa | 0,0,0 | Color text (size: r, g, b). | |
ColorBackTitle | Stringa | 0,0,0 | Background Color of Title (size: r, g, b). | |
ColorBackTitleSelected | Stringa | 0,0,0 | Background Color of Title when selected (size: r, g, b). | |
ColorForeTitle | Stringa | 0,0,0 | Color title (size: r, g, b). | |
ColorForeTitleSelected | Stringa | 0,0,0 | Color title when selected (size: r, g, b). | |
TEXT | Has the characteristics of a single object type text. | |||
Name | Stringa | <blank> | Name of the text. | |
X | Numerico | 0 | Coordinated X of the object. | |
Y | Numerico | 0 | Coordinated Y of the object. | |
Alignment | Stringa | L | Text alignment:
|
|
Value | Stringa | <blank> | Contents of the text. | |
ColorBack | Stringa | 0,0,0 | Background Color (size: r, g, b). | |
ColorFore | Stringa | 0,0,0 | Color text (size: r, g, b). | |
ColorForeSelected | Stringa | 0,0,0 | Color text when selected (size: r, g, b). | |
TRIGGER | Contains features of a single type of object triggers. | |||
Name | Stringa | <blank> | Name of triggers. | |
X | Numerico | 0 | Coordinated X of the object. | |
Y | Numerico | 0 | Coordinated Y of the object. | |
BeforeAfter | Stringa | <blank> | Determines if the function is called before or after the event. It can take the following values: BEFORE or AFTER. | |
InsUpdDel | Stringa | <blank> | Specifies that the event should be triggered by the trigger. It can take the following values: INSERT, UPDATE or DELETE. | |
Procedure | Stringa | <blank> | The function name, declared without an argument and returns a value of type trigger, which is performed when the trigger is activated. | |
Table | Stringa | <blank> | The name of the table on which the trigger is activated. | |
ColorBack | Stringa | 0,0,0 | Background Color (size: r, g, b). | |
ColorText | Stringa | 0,0,0 | Color text (size: r, g, b). | |
ColorBackTitle | Stringa | 0,0,0 | Background Color of Title (size: r, g, b). | |
ColorBackTitleSelected | Stringa | 0,0,0 | Background Color of Title when selected (size: r, g, b). | |
ColorForeTitle | Stringa | 0,0,0 | Color title (size: r, g, b). | |
ColorForeTitleSelected | Stringa | 0,0,0 | Color title when selected (size: r, g, b). | |
TYPE | Contains features of a single type of object "type". | |||
Name | Stringa | <blank> | Name of the object type. | |
X | Numerico | 0 | Coordinated X of the object. | |
Y | Numerico | 0 | Coordinated Y of the object. | |
Input | Stringa | <blank> | Name function that converts the data from an external type to a type of procedure. | |
Output | Stringa | <blank> | Name function that converts data from one type to a type internal external. | |
Receive | Stringa | <blank> | Name function that converts the data from an external binary type to a type of procedure. | |
Send | Stringa | <blank> | Name function that converts data from one type to an internal binary type outside. | |
Analize | Stringa | <blank> | Name function that performs the statistical analysis for the data type. | |
InternalLength | Numerico | 0 | Constant number that specifies the length in bytes of internal representation of the new type. | |
PassedByValue | Logico | 0 | Indicates that the values of this type of data are passed by value or by reference. Values allowed: 0 or 1. | |
Alignment | Stringa | <blank> | Alignment of memory required for the data type. If specified, it must be char, int2, int4, or double. | |
Storage | Stringa | <blank> | Strategy memory for the data type. If specified, it must be plain, external, extended, or main. | |
DefaultValue | Stringa | <blank> | The default value for the type of data. | |
Element | Stringa | <blank> | The type is created in an array; specifies the type of the array elements. | |
Delimiter | Stringa | <blank> | Character used delimiter between the values built into arrays of this type. | |
ColorBack | Stringa | 0,0,0 | Background Color (size: r, g, b). | |
ColorText | Stringa | 0,0,0 | Color text (size: r, g, b). | |
ColorBackTitle | Stringa | 0,0,0 | Background Color of Title (size: r, g, b). | |
ColorBackTitleSelected | Stringa | 0,0,0 | Background Color of Title when selected (size: r, g, b). | |
ColorForeTitle | Stringa | 0,0,0 | Color title (size: r, g, b). | |
ColorForeTitleSelected | Stringa | 0,0,0 | Color title when selected (size: r, g, b). | |
VIEW | Has the characteristics of a single object type view. | |||
Name | Stringa | <blank> | Name of view. | |
X | Numerico | 0 | Coordinated X of the object. | |
Y | Numerico | 0 | Coordinated Y of the object. | |
Definition | Stringa | <blank> | Definition SQL. | |
Comment | Stringa | <blank> | Description object. | |
ColorBack | Stringa | 0,0,0 | Background Color (size: r, g, b). | |
ColorText | Stringa | 0,0,0 | Color text (size: r, g, b). | |
ColorBackTitle | Stringa | 0,0,0 | Background Color of Title (size: r, g, b). | |
ColorBackTitleSelected | Stringa | 0,0,0 | Background Color of Title when selected (size: r, g, b). | |
ColorForeTitle | Stringa | 0,0,0 | Color title (size: r, g, b). | |
ColorForeTitleSelected | Stringa | 0,0,0 | Color title when selected (size: r, g, b). |