<!ATTLIST CLASS id ID #IMPLIED extends IDREF #IMPLIED template IDREF #IMPLIED javaName NMTOKEN #IMPLIED abstract ( true | false) "false" virtual ( true | false) "false" userData CDATA #IMPLIED> |
Attribute | Mand. | Description | Default |
id | no | Identifier of the class. | |
extends | no | Reference of the class from which this class inherits (its super-class). This class inherits all action and fields of its super-class. | |
template | no | Reference to the class used as a pattern. | |
javaName | no | Name of the JAVA class that corresponds to the current class when automatic code generation is used. The default value is the name of the current field. | |
abstract | no | Indicates whether the class is abstract or not. An abstract class may not be instantiated. | false |
virtual | no | Specifies whether the class is virtual or not. A virtual class is a class used to modify the presentation of an existing class specified by the extends attribute in order to use it in a particular action. A virtual class has no instance (the instances are from the real class). It is possible to modify most characteristics of the real class. On the other hand, some changes may raise to an error or are without effect. It is possible to override fields or actions (modification of the marks for example) of the real class. In this case only the overridden field or action is visible. Only the addition of local fields is possible on these classes. Added actions (not overridden ones) are also added to the real class. | false |
userData | no | User data reserved for an applicative use. |
<!ELEMENT CLASS (C_MARKS*, FIELDS*, ROUTES*, DATA*, RULE*, (CONTROL | CONTROL_REF)*)> |
Element | Mand. | Mult. | Description |
C_MARKS | no | yes | Marks of the class. |
FIELDS | no | yes | List of fields of the class. |
ROUTES | no | yes | List of routes used to compute cross-references. |
DATA | no | yes | Specific data |
RULE | no | yes | Rules that are applied when modifying the values of the class fields. |
CONTROL | yes | no | Controls applied on the class. |
CONTROL_REF | yes | no | Control references applied on the class. |
<CLASS id="alrClass"> <C_BIND value="ALARM"/> <CACHE type='AUTO'/> <NAME value="ALRMClass"/> <PREFIX value="alr"/> <C_MARKS load='true'> <MARK name='OPERATOR'/> <MARK name='SUPERVISOR'/> </C_MARKS> <FIELDS> <FIELD_REF idref="alr_sev"/> <FIELD_REF idref="alr_state"/> <FIELD_REF idref="alr_begin_dt"/> <FIELD_REF idref="alr_ack_dt "/> <DATE id="alrm_end_dt" type='DATE_HOUR_MIN'> <F_BIND value="ALR_END_DATE "/> <NAME value="ALR_END_DT"/> </DATE> <FIELD_REF idref="alrmClass_obj"/> <FIELD_REF idref="alrm_obj"/> <FIELD_REF idref="alrm_type"/> <FIELD_REF idref="alrm_prob_cause"/> <FIELD_REF idref="alrm_num"/> <FIELD_REF idref="alrm_add_text"/> </FIELDS> <ACTIONS> <ACTION_REF idref="alr_consult"/> <ACTION_REF idref="alr_print"/> <ACTION id="alr_ack"> <NAME value="ALR_ACK"/> <PREFIX value="ack"/> <MIN value="1"/> <A_MARKS> <MARK name='ACTION_OPERATOR'/> </A_MARKS> </ACTION> <ACTION id="alr_end"> <NAME value="ALR_END"/> <PREFIX value="end"/> <MIN value="1"/> <MAX value="1"/> <A_MARKS> <MARK name='ACTION_SUPERVISOR'/> </A_MARKS> <FILTER id="filter_act_end" type='AND'> <EXP idref="alrm_state" not='true' condition='EQUALS' value="0"/> </FILTER> </ACTION> </ACTIONS> </CLASS> |
<CLASS id="muxClass"> <C_BIND value="MUX"> <FILTER id="mux_filter" type='AND'> <EXP idref="mux_deletion_dt" condition='EQUALS' value="NULL"/> </FILTER> </C_BIND> <CACHE type='AUTO'/> <NAME value="MUXClass"/> <PREFIX value="mux"/> <C_MARKS load='true'> <MARK name='OPERATOR'/> <MARK name='SUPERVISOR'/> </C_MARKS> <FIELDS> <FIELD_REF idref="mux_ide"/> <RELATION id="mux_network" multiple='true'> <F_BIND value="NETWORK"/> <NAME value="MUX_NETWORK"/> <F_MARKS create='true' set='true'/> <CLASSES> <CLASS_REF idref="netClass"/> </CLASSES> </RELATION> <TEXT id="mux_name"> <F_BIND value="NAME"/> <NAME value="MUX_NAME"/> <F_MARKS name='true' create='true' notNull='true' sort='true' filter='true' find='true' table='true' unique='true'/> <NCOLS value="32"/> <NCHARS value="32"/> </TEXT> <RELATION id="mux_location"> <F_BIND value="LOCATION"/> <NAME value="MUX_LOCATION"/> <F_MARKS create='true' set='true'/> <CLASSES> <CLASS_REF idref="locClass"/> </CLASSES> </RELATION> <FIELD_REF idref="mux_creation_dt"/> <FIELD_REF idref="mux_deletion_dt"/> <FIELD_REF idref="mux_serial_number"/> <TEXT id="mux_ip_adr"> <F_BIND value="IP"/> <FORMAT value="[0-255].[0-255].[0-255].[0-255]"/> <NAME value="MUX_IP_ADRESS"/> <F_MARKS create='true' set='true' optional='true'/> </TEXT> <FIELD_REF idref="mux_community_name"/> <FIELD_REF idref="operational_state"/> <TEXT id="mux_comment" multiple='true'> <F_BIND value="COMMENT"/> <NAME value="MUX_COMMENT"/> <F_MARKS create='true' set='true' optional='true'/> <NROWS value="5"/> <NCOLS value="51"/> <NCHARS value="255"/> </TEXT> </FIELDS> <ACTIONS> <ACTION_REF idref="_consult"/> <ACTION_REF idref="_create"/> <ACTION_REF idref="_set "/> <ACTION_REF idref="_delete"/> <ACTION_REF idref="_print"/> <ACTION_REF idref="act_cart"/> <ACTION id="xref_card" template="_table"> <NAME value="CARDClass"/> <PREFIX value="card"/> <MIN value="1"/> <MAX value="1"/> <PARAMETER name="_classInfo" idref="cardClass"/> </ACTION> </ACTIONS> </CLASS> |