<!ATTLIST STRUCT id ID #REQUIRED classBehavior NMTOKEN #IMPLIED> |
Attribute | Mand. | Description | Default |
id | yes | Identifier of the field. | |
classBehavior | no | Name of the Java class representing the behavior of the class associated with the structure (see leon.app.behavior.LyClassBehavior). |
<!ELEMENT STRUCT (%FIELD_BEGIN;, FIELDS*, RULE*, UNITS?, %FIELD_END;)> |
Element | Mand. | Mult. | Description |
FIELD_BEGIN |
yes | no | Begin of the field description. |
FIELDS | no | yes | List of the fields of the complex type. |
RULE | no | yes | Rules applied when modifying the values of the fields of the structure. |
UNITS | no | no | Dictionary of units for this field. |
FIELD_END |
yes | no | End of the field description. |
<STRUCT id="userAddress"> <NAME value="Adresse"/> <F_MARKS create='true' set='true'/> <FIELDS> <NUMBER id="addressNumber"> ... </NUMBER> <TEXT id="addressStreet"> ... </TEXT> <NUMBER id="addressZipCode"> ... </NUMBER> <CHOICE id="addressCountry"> ... </CHOICE> </FIELDS> </STRUCT> |