<F_MARKS> : Field marks

ROLE

Field marks enable to define properties to the fields of a class in order to generate a common behavior inside the application.

ATTRIBUTES

<!ATTLIST F_MARKS
	  condition CDATA #IMPLIED
	  operation ( RESET | CLEAR | AND | OR | XOR) "OR"
	  id ( true | false) "false"
	  appId ( true | false) "false"
	  optional ( true | false) "false"
	  secret ( true | false) "false"
	  unique ( true | false) "false"
	  readOnly ( true | false) "false">
Attribute Mand. Description Default
condition no The value of this attribute enables to control the existence of this list of marks (see 'Using marks' chapter)  
operation no Method used to merge list of action marks (see 'Using marks' chapter) OR
id no When this generic mark equals true, the values associated to this field are part of the internal identifier of the objects of the related class. The identifier of an object is composed of the values of the id fields of its class. The default separator used is the comma (','). For example, it is convenient to have key columns inside a database bound to id fields. false
appId no This attribute defines a secondary key that must be unique within a class. The secondary identifier of an object is the concatenation of the values of the fields with this mark separated by a character (default character is ','). false
optional no When this generic mark is set to true, empty keyboarding for this field is allowed inside form windows. false
secret no When this generic mark is set to true, the selected values can't be visualized in any window nor printed. When selecting values inside a TEXT field that has this mark, a blind keyboarding is required. For example, this mark is useful for fields intended to contain a password. false
unique no When this generic mark is set to true, the selected value for this field should be unique. It is not permitted to set the same value for this field to several objects of the same class. The null value is not considered as a value and is not controlled for unicity. false
readOnly no When this generic mark is set to true, the input field
corresponding to this field in a creation or a modification form is not editable at the opening of the form.
false

ELEMENTS

<!ELEMENT F_MARKS 
	  (MARK*)>
Element Mand. Mult. Description
MARK no yes Specific marks reserved for an applicative use

SAMPLE

<!-- Those marks define a field that is visible inside creation and modification forms
	and has a specific mark named APP_CALCULATED -->

<F_MARKS create='true' set='true'>
	<MARK name="APP_CALCULATED"/>
</F_MARKS>